JPH08180052A - Document preparation device and its control method - Google Patents

Document preparation device and its control method

Info

Publication number
JPH08180052A
JPH08180052A JP6323078A JP32307894A JPH08180052A JP H08180052 A JPH08180052 A JP H08180052A JP 6323078 A JP6323078 A JP 6323078A JP 32307894 A JP32307894 A JP 32307894A JP H08180052 A JPH08180052 A JP H08180052A
Authority
JP
Japan
Prior art keywords
kanji
kana
conversion
information
dictionary
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.)
Withdrawn
Application number
JP6323078A
Other languages
Japanese (ja)
Inventor
Akihiko Takemasa
彰彦 武政
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.)
Toshiba Corp
Toshiba Software Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Software Engineering 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 Toshiba Corp, Toshiba Software Engineering Corp filed Critical Toshiba Corp
Priority to JP6323078A priority Critical patent/JPH08180052A/en
Publication of JPH08180052A publication Critical patent/JPH08180052A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To provide a word processor capable of controlling KANA (Japanese syllabary)/KANJI (Chinese character) conversion with the specified kind of KANJI as an object and freely setting the kind of the KANJI for controlling the KANA/KANJI conversion corresponding to the language standard of a document user. CONSTITUTION: This device is provided with a storage part 1b storing KANJI conversion control information for indicating whether or not the KANJI can be outputted as a KANA/KANJI converted result for each KANJI (word, single KANJI) inside a dictionary. A user can set original KANJI conversion control information as the field of 'user optional setting' in the storage part 1b. At the time of the KANA/KANJI conversion, by referring to the KANJI conversion control information of the set field/level, the propriety of the KANA/KANJI conversion of the KANJI (word, single KANJI) obtained by dictionary retrieval 15 judged, and when the KANA/KANJI conversion is controlled, the retrieved KANJI is cancelled and prevented from being outputted as the KANA/KANJI converted result.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、日本語ワードプロセッ
サ等の文書作成装置およびその制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creation device such as a Japanese word processor and its control method.

【0002】[0002]

【従来の技術】通常、日本語ワードプロセッサでは、入
力されたかな文字列を無条件的にかな漢字混りの文字列
に変換しており、特定の種類の漢字のかな漢字変換を規
制して、漢字の種類によって選択的にかな漢字変換を行
うような制御は一般的には行われていない。このため、
例えば文書利用者の語学水準に適した文書を作成する場
合(例えば小学生の各学年レベルに適した文書を作成す
る場合等)等、文書利用環境に適した文書を作成する場
合、文書作成者はかな漢字変換で得た漢字について、こ
れを使用することの妥当性を一つ一つ確認しながら文書
作成を進めて行かねばならず、大変な手間を要してい
た。
2. Description of the Related Art Normally, in a Japanese word processor, an input kana character string is unconditionally converted into a kana-kanji mixed character string. Generally, control for selectively converting kana-kanji depending on the type is not performed. For this reason,
When creating a document suitable for the document usage environment, for example, when creating a document suitable for the language level of the document user (for example, when creating a document suitable for each grade level of elementary school students) With regard to the kanji obtained by the kana-kanji conversion, it was necessary to proceed with document creation while confirming the validity of using each kanji, which required a great deal of effort.

【0003】また、語学水準に適した文書を作成する方
法として、漢字に読み(ルビ)を付けて印刷する方法が
ある。しかし、この場合も、どの漢字に読みを付けるか
を文書作成者自身が判断しなければならない。
Further, as a method of creating a document suitable for a language level, there is a method of printing kanji with reading (ruby). However, even in this case, the creator of the document itself must judge which kanji should be read.

【0004】[0004]

【発明が解決しようとする課題】本発明はこのような課
題を解決するためのもので、文書利用者の語学水準等の
文書利用環境に応じて、特定の種類の漢字へのかな漢字
変換を規制でき、しかもかな漢字変換を規制する漢字の
種類を自由に設定することのできる文書作成装置及びそ
の制御方法の提供を目的とする。
SUMMARY OF THE INVENTION The present invention is intended to solve such problems, and regulates kana-kanji conversion into a specific type of kanji according to the document usage environment such as the language level of the document user. An object of the present invention is to provide a document creation device and a control method thereof that can perform the kana-kanji conversion and can freely set the type of kanji that controls kana-kanji conversion.

【0005】また本発明は、文書利用者の語学水準等の
文書利用環境に応じて、かな漢字変換結果中の漢字に選
択的かつ自動的に読み(ルビ)を付加することのできる
文書作成装置及びその制御方法の提供を目的とする。
The present invention also provides a document creation apparatus capable of selectively and automatically adding a reading (ruby) to a kanji in a kana-kanji conversion result according to a document user's language usage environment such as a language level. The purpose is to provide a control method therefor.

【0006】[0006]

【課題を解決するための手段】第1の発明は上記した目
的を達成するために、かな漢字変換に必要な各種漢字の
情報がそれぞれの読みの情報と対応付けて予め格納され
た辞書と、前記辞書に格納された漢字毎に、この漢字が
かな漢字変換結果として出力されてしかるべきものか否
かを示す変換規制情報を格納するための変換規制情報格
納手段と、前記変換規制情報格納手段に任意の変換規制
情報を設定するための設定手段と、入力されたかな文字
又はかな文字列を基に、前記辞書から読みが一致する漢
字を検索する検索手段と、前記検索手段によって検索さ
れた漢字をかな漢字変換結果として出力すべきか否か
を、前記変換規制情報格納手段に格納された変換規制情
報に基づいて判定する判定手段とを具備することを特徴
としている。
In order to achieve the above-mentioned object, the first invention is a dictionary in which information on various kanji necessary for kana-kanji conversion is stored in advance in association with each reading information, and For each kanji stored in the dictionary, conversion regulation information storage means for storing conversion regulation information indicating whether or not this kanji is output as a kana-kanji conversion result, and the conversion regulation information storage means is optional. Setting means for setting the conversion regulation information, search means for searching the kanji whose readings match from the dictionary based on the input kana characters or kana character strings, and the kanji searched by the search means. It is characterized by further comprising: a determination unit that determines whether or not to output as a Kana-Kanji conversion result based on the conversion regulation information stored in the conversion regulation information storage unit.

【0007】第2の発明は上記した目的を達成するため
に、かな漢字変換に必要な各種漢字の情報がそれぞれの
読みの情報と対応付けて予め格納された辞書と、前記辞
書に格納された漢字毎に、この漢字に読みを付加すべき
か否かを示す読み付け制御情報が格納された制御情報格
納手段と、入力されたかな文字列を、前記辞書を用いて
かな漢字混りの文字列に変換するかな漢字変換手段と、
前記かな漢字変換手段によって得たかな漢字混り文字列
中の漢字に、前記制御情報格納手段に格納された読み付
け制御情報に基づいて選択的に読みを付加する読み付加
手段とを具備することを特徴としている。
In order to achieve the above object, a second invention is a dictionary in which information of various kanji necessary for kana-kanji conversion is stored in advance in association with respective reading information, and kanji stored in the dictionary. For each time, control information storage means storing reading control information indicating whether or not reading should be added to this kanji, and input kana character string are converted into kana kanji mixed character string using the dictionary. A means to convert kana to kanji,
And a reading addition means for selectively adding reading to the kanji in the kana-kanji mixed character string obtained by the kana-kanji conversion means based on the reading control information stored in the control information storage means. I am trying.

【0008】[0008]

【作用】第1の発明では、辞書に格納された漢字毎に、
この漢字がかな漢字変換結果として出力されてしかるべ
きものか否かを示す変換規制情報をユーザが任意に設定
することができる。かな漢字変換時、判定手段は、検索
手段によって辞書から検索された漢字をかな漢字変換結
果として出力すべきか否かを前記の変換規制情報に基づ
いて判定する。したがって、本発明によれば、かな漢字
変換を規制すべき漢字をユーザ自身が任意に設定でき、
これらの漢字がかな漢字変換結果として出力されないよ
うに規制することができる。よって、文書利用者の語学
水準等の文書利用環境に適した文書を効率良く作成する
ことができる。
In the first aspect of the invention, for each kanji stored in the dictionary,
The user can arbitrarily set conversion regulation information indicating whether or not this kanji is properly output as the kana-kanji conversion result. At the time of kana-kanji conversion, the determination means determines whether or not the kanji searched by the search means from the dictionary should be output as the kana-kanji conversion result based on the conversion restriction information. Therefore, according to the present invention, the user can arbitrarily set the kanji for which the kana-kanji conversion should be restricted,
It is possible to regulate such kanji so that they are not output as the kana-kanji conversion result. Therefore, it is possible to efficiently create a document suitable for the document usage environment such as the language level of the document user.

【0009】第2の発明では、読み付加手段が制御情報
格納手段に格納された読み付け制御情報に基づき、かな
漢字変換手段によって得たかな漢字混り文字列中の漢字
に選択的に読みを付加するので、特定の種類の漢字のみ
に読みを付加した文書を作成する場合のユーザの操作負
担を大幅に軽減することができる。
In the second invention, the reading addition means selectively adds reading to the kanji in the kana-kanji mixed character string obtained by the kana-kanji conversion means based on the reading control information stored in the control information storage means. Therefore, it is possible to significantly reduce the operation load on the user when creating a document in which reading is added only to a particular type of kanji.

【0010】[0010]

【実施例】以下、本発明の実施例を図面に基づき説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0011】図1は本発明に係る一実施例のワードプロ
セッサの構成を示すブロック図である。同図において、
1は記憶装置であり、辞書記憶部1a、漢字変換規制情
報記憶部1b、漢字読み・分割情報記憶部1c、および
熟字訓読み・当て字読み情報記憶部1dから構成されて
いる。
FIG. 1 is a block diagram showing the configuration of a word processor according to an embodiment of the present invention. In the figure,
Reference numeral 1 denotes a storage device, which is composed of a dictionary storage unit 1a, a Kanji conversion restriction information storage unit 1b, a Kanji reading / division information storage unit 1c, and a kanji reading / preliminary reading information storage unit 1d.

【0012】辞書記憶部1aには、かな漢字変換に必要
な辞書、つまり各種の漢字の情報がその読み情報と対応
付けて単語単位および単漢字単位で格納されている。そ
の他、辞書記憶部1aには漢字の部首情報、画数情報等
も格納されている。
The dictionary storage unit 1a stores a dictionary necessary for kana-kanji conversion, that is, information of various kanji in association with reading information in units of words and single kanji. In addition, radical information, stroke number information, and the like for Kanji are also stored in the dictionary storage unit 1a.

【0013】漢字変換規制情報記憶部1bには、辞書内
の漢字(単語,単漢字)毎に、この漢字がかな漢字変換
結果として出力されてしかるべきものか否か(かな漢字
変換の可否)を示す漢字変換規制情報が記憶されてい
る。図2にこの漢字変換規制情報の例を示す。同図に示
すように、かな漢字変換の可否は、辞書内の個々の漢字
(単語,単漢字)毎に、1ビットの符号(無効符号:1
が無効)によって定義される。図2の(a)は単語毎の
漢字変換規制情報、(b)は単漢字毎の漢字変換規制情
報の例を示している。そしてこの漢字変換規制情報は複
数の分野別に定義され、さらに各分野毎に複数のレベル
別に定義されている。図3にこの漢字変換規制情報の分
野/レベルの分類を示す。同図に示すように、本実施例
では、“学年”“JIS第1・2水準漢字”“新漢字コ
ード体系”“メーカ設定難易度”“常用漢字”“ユーザ
任意設定”の6つの分野別に漢字変換規制情報が定義さ
れ、さらに各分野毎に複数のレベル別に漢字変換規制情
報が定義されている。例えば、“学年”の分野は6つの
学年レベル毎に漢字変換規制情報が定義されている。
The kanji conversion restriction information storage unit 1b indicates, for each kanji (word, single kanji) in the dictionary, whether or not this kanji should be output as a kana-kanji conversion result (whether kana-kanji conversion is possible). Kanji conversion regulation information is stored. FIG. 2 shows an example of this Kanji conversion regulation information. As shown in the figure, whether or not kana-kanji conversion is possible is determined by a 1-bit code (invalid code: 1 for each kanji (word, single kanji) in the dictionary).
Is invalid). FIG. 2A shows an example of Kanji conversion restriction information for each word, and FIG. 2B shows an example of Kanji conversion restriction information for each single Kanji. The Kanji conversion regulation information is defined for each of a plurality of fields, and further for each field, a plurality of levels. FIG. 3 shows the categories / levels of the Kanji conversion regulation information. As shown in the figure, in the present embodiment, there are six fields of "school year", "JIS first and second level kanji", "new kanji code system", "maker setting difficulty", "common kanji", and "user arbitrary setting". Kanji conversion regulation information is defined, and further, kanji conversion regulation information is defined for each field at a plurality of levels. For example, in the "school year" field, kanji conversion regulation information is defined for each of the six school year levels.

【0014】ここで“ユーザ任意設定”31はユーザに
よって任意に漢字変換規制情報が定義される分野であ
る。すなわち、他の分野の漢字変換規制情報はいずれも
規格上定められた固定の漢字変換規制情報であるのに対
し、“ユーザ任意設定”の分野の漢字変換規制情報はユ
ーザがこれを自由に設定、変更できるものとなってい
る。 漢字読み・分割情報記憶部1cおよび熟字訓読み
・当て字読み情報記憶部1dにはそれぞれ、漢字に読み
(ルビ)を付加するために必要な情報が記憶されてい
る。すなわち、漢字読み・分割情報記憶部1cには辞書
内の各漢字(単語,単漢字)の読み(ルビ)情報と読み
の分割位置を示す情報等が記憶されている。例えば「熟
語」という漢字(単語)の読みと分割位置は「じゅく・
ご」という形式で定義される。これは「熟語」の読みが
「じゅくご」であり、その読みは個々の漢字毎に「じゅ
く」と「ご」に分割されることを意味する。熟字訓読み
・当て字読み情報記憶部1dには、熟字の訓読み情報や
当て字の読み情報が記憶されている。例えば「昨日」と
いう熟字の訓読みは「きのう」であるといった情報が記
憶されている。
Here, "user arbitrary setting" 31 is a field in which the Kanji conversion regulation information is arbitrarily defined by the user. That is, the Kanji conversion restriction information of other fields is fixed Kanji conversion restriction information defined in the standard, whereas the Kanji conversion restriction information of the field of "user arbitrary setting" can be freely set by the user. , Can be changed. Each of the kanji reading / division information storage unit 1c and the kanji lesson reading / guidance reading information storage unit 1d stores information necessary for adding a reading (ruby) to a kanji. That is, the kanji reading / division information storage unit 1c stores the reading (ruby) information of each kanji (word, single kanji) in the dictionary, information indicating the division position of the reading, and the like. For example, the reading and division position of the kanji (word) "jukugo" is "Juku.
It is defined in the format of "go". This means that the reading of "jukugo" is "jukugo", and the reading is divided into "juku" and "go" for each kanji. The junior character lesson reading / struck character reading information storage unit 1d stores junior character lesson reading information and junior character reading information. For example, the information that the kanji reading "Yesterday" is "Yes" is stored.

【0015】また、図1において、2は装置(ワードプ
ロセッサ)全体を制御する制御部(CPU)であり、こ
の制御部2には、前記の記憶装置1の他、入力制御部
3、表示制御部4、漢字変換部5、フォントメモリ6、
同音語漢字バッファ7、漢字読みバッファ8等が接続さ
れている。入力制御部3はキーボード9からの各種コマ
ンドやキー対応の文字コードの入力を制御する。表示制
御部4は表示装置10の表示動作を制御する。漢字変換
部5は、記憶装置1内の各情報を用いて入力文字コード
に対するかな漢字変換を実行する。フォントメモリ6
は、各文字コードに対応する表示用のフォントデータを
固定的に格納したメモリである。同音語漢字バッファ7
は、かな漢字変換結果の候補として得られた同音語の漢
字(単語,単漢字)を記憶する。漢字読みバッファ8
は、かな漢字変換で確定した漢字(単語,単漢字)の読
み(ルビ)情報を記憶する。
Further, in FIG. 1, reference numeral 2 denotes a control unit (CPU) for controlling the entire device (word processor). The control unit 2 includes an input control unit 3 and a display control unit in addition to the storage device 1 described above. 4, Kanji conversion unit 5, font memory 6,
A homophone Kanji buffer 7 and a Kanji reading buffer 8 are connected. The input control unit 3 controls input of various commands from the keyboard 9 and character codes corresponding to keys. The display control unit 4 controls the display operation of the display device 10. The Kanji / Kanji conversion unit 5 executes Kana / Kanji conversion for the input character code by using each information in the storage device 1. Font memory 6
Is a memory that fixedly stores display font data corresponding to each character code. Homophone Kanji buffer 7
Stores the kanji (words, single kanji) of the homophones obtained as candidates for the kana-kanji conversion result. Kanji reading buffer 8
Stores the reading (ruby) information of a kanji (word, single kanji) determined by kana-kanji conversion.

【0016】次に、本実施例のワードプロセッサの動作
を説明する。
Next, the operation of the word processor of this embodiment will be described.

【0017】このワードプロセッサでは、必要に応じ
て、文書作成に先立ち、漢字変換規制情報の分野/レベ
ルの設定を行う。すなわち、かな漢字変換を選択的に規
制した文書作成を行う場合に、前記設定作業を行う。
In this word processor, the field / level of the Kanji conversion regulation information is set before the document is created, if necessary. That is, the setting work is performed when a document is created in which the Kana-Kanji conversion is selectively restricted.

【0018】図4はこの分野/レベルの設定手順を示す
フローチャートである。この場合、ユーザは、全ての分
野/レベルの一覧を表示装置10に表示し(ステップ4
01)、その中から任意の分野/レベルを選択する(ス
テップ402)。これによって、選択された分野/レベ
ルの漢字変換規制情報がかな漢字変換に実際に用いる情
報として設定される(ステップ408)。
FIG. 4 is a flow chart showing the procedure for setting this field / level. In this case, the user displays a list of all fields / levels on the display device 10 (step 4).
01), and select an arbitrary field / level from them (step 402). As a result, the Kanji conversion restriction information of the selected field / level is set as the information actually used for the Kana-Kanji conversion (step 408).

【0019】“ユーザ任意設定”の漢字変換規制情報を
新規設定または変更する場合は、表示された分野/レベ
ルの一覧の中から“ユーザ任意設定”を選択した後(ス
テップ403)、新規設定または変更のための所定の手
続きを踏んで行うことができる(ステップ404、40
5、406、407)。新規設定の方法としては、辞書
内の漢字(単語,単漢字)を一つ一つ指定してこれに無
効符号を付ける方法や、ある分野/レベルの漢字変換規
制情報を指定した後、この漢字変換規制情報を部分的に
変更し、これを“ユーザ任意設定”の漢字変換規制情報
とする方法等が挙げられる。また“ユーザ任意設定”の
漢字変換規制情報を変更する方法としては、既存の“ユ
ーザ任意設定”の漢字変換規制情報を一覧表示した後、
その中の任意の漢字を指定して、この漢字に無効符号を
付加したり、付加されている無効符号を削除する方法が
挙げられる。新規設定したあるいは変更した“ユーザ任
意設定”の漢字変換規制情報をかな漢字変換に実際に用
いる情報として設定する場合は、再びステップ401に
て漢字変換規制情報を定義してある全ての分野/レベル
の一覧を表示装置10に表示させ、その中から“ユーザ
任意設定”の分野/レベルを選択すればよい。
When newly setting or changing the Kanji conversion restriction information of "user arbitrary setting", after selecting "user arbitrary setting" from the displayed field / level list (step 403), the new setting or It can be carried out according to a predetermined procedure for change (steps 404, 40).
5, 406, 407). As a new setting method, specify each Kanji (word, single Kanji) in the dictionary and add an invalid code to it, or specify Kanji conversion restriction information for a certain field / level and then There is a method in which the conversion regulation information is partially changed, and this is used as “user arbitrary setting” Kanji conversion regulation information. Also, as a method to change the Kanji conversion restriction information of "User arbitrary setting", after displaying the existing Kanji conversion restriction information of "User arbitrary setting",
There is a method of designating an arbitrary kanji in the kanji and adding an invalid code to this kanji, or deleting the added invalid code. When setting the newly set or changed “user arbitrary setting” Kanji conversion restriction information as the information actually used for Kana-Kanji conversion, again in step 401, all the fields / levels for which the Kanji conversion restriction information is defined are defined. A list may be displayed on the display device 10, and a field / level of "user arbitrary setting" may be selected from the list.

【0020】次に、設定された漢字変換規制情報を用い
てかな漢字変換を行う場合の動作を図5のフローチャー
トを参照しつつ説明する。
Next, the operation of performing kana-kanji conversion using the set kanji conversion restriction information will be described with reference to the flowchart of FIG.

【0021】キーボード9および入力制御部3を通して
作成文書(漢字)の読みが入力されると(ステップ50
1)、制御部2は漢字変換部5を起動して、記憶装置1
内の各情報を用いて次のようにかな漢字変換を実行す
る。
When the reading of the created document (Kanji) is input through the keyboard 9 and the input control unit 3 (step 50).
1), the control unit 2 activates the Kanji conversion unit 5, and the storage device 1
The kana-kanji conversion is executed as follows using each information in.

【0022】まず、漢字変換部5は、辞書記憶部1a内
の辞書を検索して、入力文字コードと読みが一致する漢
字(単語,単漢字)を抽出する(ステップ502)。次
に、制御部2は設定された漢字変換規制情報を参照し
て、前記抽出した漢字(単語,単漢字)に無効符号
“1”がセットされているか否かを判断する(ステップ
503)。抽出した漢字(単語,単漢字)に無効符号が
セットされていなければ、その漢字(単語,単漢字)を
かな漢字変換結果の候補として同音語漢字バッファ7に
格納する(ステップ504)。また、前記抽出した漢字
(単語,単漢字)に無効符号がセットされている場合
は、この漢字(単語,単漢字)はかな漢字変換結果とし
て出力することが規制されたものと判断して、前記抽出
した漢字(単語,単漢字)をキャンセルして(ステップ
505)、ステップ502に戻る。
First, the Kanji conversion unit 5 searches the dictionary in the dictionary storage unit 1a and extracts the Kanji (word, single Kanji) whose reading matches the input character code (step 502). Next, the control unit 2 refers to the set Kanji conversion restriction information and judges whether or not the invalid code "1" is set in the extracted Kanji (word, single Kanji) (step 503). If an invalid code is not set in the extracted kanji (word, single kanji), the kanji (word, single kanji) is stored in the homophone kanji character buffer 7 as a candidate for kana-kanji conversion result (step 504). If an invalid code is set in the extracted kanji (word, single kanji), it is determined that output of this kanji (word, single kanji) as a kana-kanji conversion result is restricted, and The extracted kanji (word, single kanji) is canceled (step 505) and the process returns to step 502.

【0023】このように辞書検索によって得たすべての
漢字(単語,単漢字)について、漢字変換規制情報に基
づくかな漢字変換の可否判定を行い、かな漢字変換が許
されている漢字(単語,単漢字)のみを同音語漢字バッ
ファ7に格納して行く(ステップ502〜506)。こ
の後、同音語漢字バッファ7に格納された漢字(単語,
単漢字)の中から目的の漢字を選択する漢字確定操作を
経て(ステップ507)、一回のかな漢字変換が終了と
なる。
In this way, for all kanji (words, single kanji) obtained by the dictionary search, it is determined whether kana-kanji conversion is possible based on the kanji conversion regulation information, and kana (words, single kanji) permitted to be converted. Only the same words are stored in the homophone Kanji buffer 7 (steps 502 to 506). After this, the kanji stored in the homophone kanji buffer 7 (word,
After a kanji confirmation operation of selecting a desired kanji from the single kanji (step 507), one kana-kanji conversion is completed.

【0024】また、このワードプロセッサでは、設定さ
れた漢字変換規制情報を用いて漢字(単語,単漢字)に
自動的に読み(ルビ)を付加する処理を行うことが可能
である。次に、この漢字の自動読み付け処理の動作を図
6のフローチャートを参照しつつ説明する。
Further, this word processor can automatically add a reading (ruby) to a kanji (word, single kanji) using the set kanji conversion restriction information. Next, the operation of this automatic kanji reading process will be described with reference to the flowchart of FIG.

【0025】この漢字の自動読み付け処理は、前述のか
な漢字変換規制処理に代えて実行される。つまり、かな
漢字変換規制処理は一部の漢字をかな漢字変換結果とし
て出力しないように制御することで文書利用者の語学水
準に適した文書を作成するのに対し、これから説明する
漢字の自動読み付け処理は、かな漢字変換を規制せず
に、例えば文書利用者の語学水準を越えるような一部の
漢字には印刷時に自動的にその読みを付加することによ
って文書利用者の語学水準に適した文書を作成するとい
ったものである。
This automatic Kanji character reading process is executed in place of the above Kana-Kanji conversion restriction process. In other words, the kana-kanji conversion control process creates a document suitable for the language level of the document user by controlling some kanji so that it is not output as the kana-kanji conversion result. Does not regulate kana-kanji conversion, and automatically adds readings to some kanji that exceed the language level of the document user, for example, so that a document suitable for the language level of the document user is created. Create it.

【0026】キーボード9および入力制御部3を通して
作成文書(漢字)の読みが入力されると(ステップ60
1)、制御部2は漢字変換部5を起動する。漢字変換部
5は辞書記憶部1a内の辞書を検索して、入力文字コー
ドと読みが一致する漢字(単語,単漢字)を抽出し(ス
テップ602)、抽出した漢字(単語,単漢字)をかな
漢字変換結果の候補として同音語漢字バッファ7に格納
する(ステップ603)。辞書検索によってすべての候
補を抽出した後(ステップ604)、同音語漢字バッフ
ァ7に格納された漢字(単語,単漢字)の中から目的の
漢字を選択する漢字確定操作が行われる(ステップ60
5)。漢字が確定すると、制御部1は漢字読み・分割情
報記憶部1cおよび熟字訓読み・当て字読み情報記憶部
1d内の情報に基づき、確定した漢字(単語,単漢字)
の読み情報を検索して漢字読みバッファ8に格納する
(ステップ606)。ここで、確定した漢字が複数の漢
字からなる単語の場合、制御部1は、漢字読み・分割情
報記憶部1cから該当する単語の読み情報と読みの分割
位置情報を読み出して漢字読みバッファ8に格納する。
また、確定した漢字が熟字訓読みまたは当て字読みを持
つものである場合、制御部1は、熟字訓読み・当て字読
み情報記憶部1dから該当する熟字訓読み情報または当
て字読み情報を読み出して漢字読みバッファ8に格納す
る。
When the reading of the created document (kanji) is input through the keyboard 9 and the input control section 3 (step 60)
1), the control unit 2 activates the Kanji conversion unit 5. The kanji conversion unit 5 searches the dictionary in the dictionary storage unit 1a, extracts the kanji (word, single kanji) whose reading matches the input character code (step 602), and extracts the extracted kanji (word, single kanji). The kana-kanji conversion result is stored in the homophone kanji character buffer 7 as a candidate (step 603). After all candidates are extracted by the dictionary search (step 604), a kanji determination operation is performed to select a target kanji from kanji (words, single kanji) stored in the homophone kanji buffer 7 (step 60).
5). When the kanji is determined, the control unit 1 determines the determined kanji (word, single kanji) based on the information in the kanji reading / division information storage unit 1c and the kanji reading / prediction reading information storage unit 1d.
The reading information is retrieved and stored in the Kanji reading buffer 8 (step 606). Here, when the confirmed Chinese character is a word composed of a plurality of Chinese characters, the control unit 1 reads the reading information and the reading division position information of the corresponding word from the Chinese character reading / division information storage unit 1c and stores it in the Kanji reading buffer 8. Store.
In addition, when the confirmed kanji has the kanji reading or the kanji reading, the control unit 1 reads the kanji reading or the kanji reading information from the kanji reading / kanji reading information storage part 1d to read the kanji. Store in buffer 8.

【0027】漢字読みバッファ8に格納された読み情報
は文書印刷時に読み出され、該当する漢字(単語,単漢
字)に所定の形式で付加して印刷される。例えば、読み
分割情報に基づいて、単語を構成する個々の漢字の上方
にそれぞれ対応する読みを付加して印刷される。例え
ば、「熟語」の場合、「熟」の上方に「じゅく」を、
「語」の上方に「ご」を付加して印刷される。また、漢
字の後にその読みを括弧で囲んで付加してもよい(例え
ば、「熟語(じゅくご)」等)。
The reading information stored in the Kanji reading buffer 8 is read out at the time of printing the document, added to the corresponding Kanji (word, single Kanji) in a predetermined format, and printed. For example, based on the reading division information, the corresponding reading is added and printed above each kanji forming a word. For example, in the case of "jukugo", add "juk" above "juku"
"Go" is added above "word" and printed. In addition, the reading may be added in parentheses after the kanji (for example, "jukugo").

【0028】このように、本実施例のワードプロセッサ
によれば、分野/レベル毎に定義された漢字変換規制情
報に基づき、一部の漢字を対象としてかな漢字変換を規
制することができ、文書利用者の語学水準等、文書利用
環境に適した文書を効率良く作成することができる。ま
た、ユーザが任意に定義した漢字変換規制情報を利用し
てかな漢字変換の規制制御も行うことができる。
As described above, according to the word processor of the present embodiment, the kana-kanji conversion can be restricted for some kanji based on the kanji conversion restriction information defined for each field / level, and the document user can It is possible to efficiently create a document suitable for the document usage environment such as the language level of. In addition, the kana-kanji conversion restriction control can be performed using the kanji conversion restriction information defined by the user.

【0029】さらに、本実施例のワードプロセッサによ
れば、漢字変換規制情報を併用して、かな漢字変換結果
であるかな漢字混り文中の漢字に選択的かつ自動的に読
み(ルビ)を付加して印刷することができ、ルビ修飾等
のユーザによる読み付け作業を解消して、文書利用環境
に適した文書を効率良く作成することができる。
Further, according to the word processor of the present embodiment, by additionally using kanji conversion regulation information, kanji in a kana-kanji mixed sentence, which is the kana-kanji conversion result, is selectively and automatically added with a ruby and printed. It is possible to eliminate the reading work by the user such as ruby modification, and efficiently create a document suitable for the document usage environment.

【0030】なお、本実施例は、単語毎および単漢字毎
に設定された漢字変換規制情報を参照して、かな漢字変
換の可否を単語と単漢字とで別々に判断するように構成
したが、個々の漢字の漢字変換規制情報だけを予め記憶
装置1に用意しておき、例えば「熟語」を「じゅく語」
に変換できるように、単語を構成する個々の漢字のかな
漢字変換の可否を別々に判断するように構成してもよ
い。
In this embodiment, the kana-kanji conversion possibility is judged separately for the word and the single kanji by referring to the kanji conversion restriction information set for each word and each single kanji. Only the kanji conversion regulation information of each kanji is prepared in the storage device 1 in advance, and for example, “jukugo” is “jukuku”.
It may be configured to separately judge whether or not the kana-kanji conversion of each kanji composing a word can be performed.

【0031】また、前記実施例は、かな漢字変換を規制
した結果が画面に表示されるように構成したが、印刷結
果にだけ、かな漢字変換を規制した結果が反映されるよ
うに構成しても構わない。この処理は、印刷時に漢字変
換規制情報を参照して、かな漢字変換を規制する漢字を
検出することによって実現できる。
Further, in the above embodiment, the result of restricting the conversion of kana-kanji is displayed on the screen, but the result of restricting conversion of kana-kanji may be reflected only in the print result. Absent. This process can be realized by referring to the Kanji conversion regulation information at the time of printing and detecting the Kanji that regulates the Kana-Kanji conversion.

【0032】[0032]

【発明の効果】以上説明したように本発明の文書作成装
置及びその制御方法によれば、文書利用者の語学水準や
その他の目的に応じて、特定の種類の漢字を対象にかな
漢字変換を規制でき、しかもかな漢字変換を規制する漢
字の種類を自由に設定することができる。これにより、
文書利用環境に適した文書を効率良く作成することがで
きる。
As described above, according to the document creating apparatus and the control method thereof of the present invention, the kana-kanji conversion for a particular type of kanji is controlled according to the language level of the document user and other purposes. You can do it, and you can freely set the type of kanji that controls kana-kanji conversion. This allows
It is possible to efficiently create a document suitable for the document usage environment.

【0033】また本発明によれば、文書利用者の語学水
準やその他の目的に応じて、特定の種類の漢字を対象に
自動的にその読みを付加することができ、文書利用環境
に適した文書を効率良く作成することができる。
Further, according to the present invention, the reading can be automatically added to the kanji of a specific type depending on the language level of the document user and other purposes, which is suitable for the document use environment. Documents can be created efficiently.

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

【図1】本発明に係る一実施例のワードプロセッサの構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a word processor according to an embodiment of the present invention.

【図2】漢字変換規制情報の例を示す図である。FIG. 2 is a diagram showing an example of Kanji conversion regulation information.

【図3】漢字変換規制情報の分野/レベルの分類を示す
図である。
FIG. 3 is a diagram showing classification of fields / levels of Kanji conversion regulation information.

【図4】図2および図3の分野/レベルの設定手順を示
すフローチャートである。
FIG. 4 is a flowchart showing a procedure for setting fields / levels in FIGS. 2 and 3;

【図5】設定された漢字変換規制情報を用いてかな漢字
変換を行う場合の動作手順を示すフローチャートであ
る。
FIG. 5 is a flowchart showing an operation procedure when performing kana-kanji conversion using the set kanji conversion restriction information.

【図6】漢字の自動読み付け処理の動作手順を示すフロ
ーチャートである。
FIG. 6 is a flowchart showing an operation procedure of an automatic Chinese character reading process.

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

1…記憶装置、1a…辞書記憶部、1b…漢字変換規制
情報記憶部、1c…漢字読み・分割情報記憶部、1d…
熟字訓読み・当て字読み情報記憶部、2…制御部(CP
U)、3…入力制御部、4…表示制御部、5…漢字変換
部、6…フォントメモリ、7…同音語漢字バッファ、8
…漢字読みバッファ。
DESCRIPTION OF SYMBOLS 1 ... Storage device, 1a ... Dictionary storage unit, 1b ... Kanji conversion regulation information storage unit, 1c ... Kanji reading / division information storage unit, 1d ...
Jukuji kun reading / speech reading information storage unit, 2 ... Control unit (CP
U), 3 ... input control unit, 4 ... display control unit, 5 ... Kanji conversion unit, 6 ... font memory, 7 ... homophone Kanji buffer, 8
… Kanji reading buffer.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 かな漢字変換に必要な各種漢字の情報が
それぞれの読みの情報と対応付けて予め格納された辞書
と、 前記辞書に格納された漢字毎に、この漢字がかな漢字変
換結果として出力されてしかるべきものか否かを示す変
換規制情報を格納するための変換規制情報格納手段と、 前記変換規制情報格納手段に任意の変換規制情報を設定
するための設定手段と、 入力されたかな文字又はかな
文字列を基に、前記辞書から読みが一致する漢字を検索
する検索手段と、 前記検索手段によって検索された漢字をかな漢字変換結
果として出力すべきか否かを、前記変換規制情報格納手
段に格納された変換規制情報に基づいて判定する判定手
段とを具備することを特徴とする文書作成装置。
1. A dictionary in which various kanji information necessary for kana-kanji conversion is stored in advance in association with reading information, and each kanji stored in the dictionary is output as a kana-kanji conversion result. Conversion regulation information storage means for storing conversion regulation information indicating whether or not it is appropriate, setting means for setting arbitrary conversion regulation information in the conversion regulation information storage means, and input kana characters Or, based on a kana character string, a search means for searching the kanji whose readings match from the dictionary, and whether or not the kanji searched by the search means should be output as a kana-kanji conversion result to the conversion regulation information storage means. A document creating apparatus comprising: a determining unit that determines based on stored conversion regulation information.
【請求項2】 請求項1記載の文書作成装置において、 前記辞書に格納された漢字の情報が、漢字を含む単語単
位および単漢字単位の情報であることを特徴とする文書
作成装置。
2. The document creating apparatus according to claim 1, wherein the kanji information stored in the dictionary is information in units of words including kanji and in units of single kanji.
【請求項3】 かな漢字変換に必要な各種漢字の情報が
それぞれの読みの情報と対応付けて予め格納された辞書
と、 前記辞書に格納された漢字毎に、この漢字に読みを付加
すべきか否かを示す読み付け制御情報が格納された制御
情報格納手段と、 入力されたかな文字列を前記辞書を用いてかな漢字混り
の文字列に変換するためのかな漢字変換手段と、 前記かな漢字変換手段によって得たかな漢字混り文字列
中の漢字に、前記制御情報格納手段に格納された読み付
け制御情報に基づいて選択的に読みを付加する読み付加
手段とを具備することを特徴とする文書作成装置。
3. A dictionary in which information on various kanji necessary for kana-kanji conversion is stored in advance in association with reading information, and whether kanji should be added to each kanji stored in the dictionary. And a kana-kanji conversion means for converting the input kana-character string into a kana-kanji mixed character string using the dictionary, and a kana-kanji conversion means. A document creating apparatus comprising: a reading adding unit that selectively adds readings to Chinese characters in the obtained Kana-Kanji mixed character string based on the reading control information stored in the control information storing unit. .
【請求項4】 請求項3記載の文書作成装置において、 前記制御情報格納手段に格納する読み付け制御情報を任
意に設定する設定手段をさらに具備することを特徴とす
る文書作成装置。
4. The document creating apparatus according to claim 3, further comprising setting means for arbitrarily setting the reading control information stored in the control information storing means.
【請求項5】 請求項3記載の文書作成装置において、 前記辞書に格納された漢字の情報が、漢字を含む単語単
位および単漢字単位の情報であることを特徴とする文書
作成装置。
5. The document creating apparatus according to claim 3, wherein the kanji information stored in the dictionary is information in units of words including kanji and in units of single kanji.
【請求項6】 かな漢字変換に必要な各種漢字の情報が
それぞれの読みの情報と対応付けて予め格納された辞書
と、前記辞書に格納された漢字毎に、この漢字がかな漢
字変換結果として出力されてしかるべきものか否かを示
す変換規制情報を格納するための変換規制情報格納手段
とを有する文書作成装置において、 前記変換規制情報格納手段に任意の変換規制情報を設定
し、 入力されたかな文字又はかな文字列を基に、前記辞書か
ら読みが一致する漢字を検索し、 前記検索された漢字をかな漢字変換結果として出力すべ
きか否かを、前記変換規制情報格納手段に格納された変
換規制情報に基づいて判定することを特徴とする文書作
成装置の制御方法。
6. A dictionary in which information on various kanji required for kana-kanji conversion is stored in advance in association with reading information, and each kanji stored in the dictionary is output as kana-kanji conversion results. In a document creation device having a conversion regulation information storage unit for storing conversion regulation information indicating whether it is appropriate or not, it is possible to set arbitrary conversion regulation information in the conversion regulation information storage unit and input it. Based on a character or a kana character string, a Kanji character whose reading is matched is searched from the dictionary, and whether or not the searched Kanji character should be output as a kana-kanji conversion result is stored in the conversion restriction information storage means. A method of controlling a document creating apparatus, characterized by making a determination based on information.
【請求項7】 かな漢字変換に必要な各種漢字の情報が
それぞれの読みの情報と対応付けて予め格納された辞書
と、前記辞書に格納された漢字毎に、この漢字に読みを
付加すべきか否かを示す読み付け制御情報が格納された
制御情報格納手段とを有する文書作成装置において、 入力されたかな文字列を前記辞書を用いてかな漢字混り
の文字列に変換し、 前記変換されたかな漢字混り文字列中の漢字に、前記制
御情報格納手段に格納された読み付け制御情報に基づい
て選択的に読みを付加することを特徴とする文書作成装
置の制御方法。
7. A dictionary in which various kanji information necessary for kana-kanji conversion is stored in advance in association with each reading information, and whether kanji should be added to each kanji stored in the dictionary. In a document creation device having a control information storage unit that stores reading control information indicating whether or not, the input kana character string is converted into a kana-kanji mixed character string using the dictionary, and the converted kana-kanji character A method for controlling a document creating apparatus, wherein reading is selectively added to Chinese characters in a mixed character string based on reading control information stored in the control information storage means.
JP6323078A 1994-12-26 1994-12-26 Document preparation device and its control method Withdrawn JPH08180052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6323078A JPH08180052A (en) 1994-12-26 1994-12-26 Document preparation device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6323078A JPH08180052A (en) 1994-12-26 1994-12-26 Document preparation device and its control method

Publications (1)

Publication Number Publication Date
JPH08180052A true JPH08180052A (en) 1996-07-12

Family

ID=18150846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6323078A Withdrawn JPH08180052A (en) 1994-12-26 1994-12-26 Document preparation device and its control method

Country Status (1)

Country Link
JP (1) JPH08180052A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003157252A (en) * 2001-11-20 2003-05-30 A I Soft Inc Method for converting kana/kanji (japanese syllabary)/ chinese character) mixed sentence
JP2014194637A (en) * 2013-03-28 2014-10-09 Rakuten Inc Information processing apparatus, information processing method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003157252A (en) * 2001-11-20 2003-05-30 A I Soft Inc Method for converting kana/kanji (japanese syllabary)/ chinese character) mixed sentence
JP2014194637A (en) * 2013-03-28 2014-10-09 Rakuten Inc Information processing apparatus, information processing method and program

Similar Documents

Publication Publication Date Title
EP0370774A2 (en) Machine translation system
JPH08180052A (en) Document preparation device and its control method
JPH0236019B2 (en)
JPH0227701B2 (en)
JPH0375912B2 (en)
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JP2819612B2 (en) Character converter
JPS60253572A (en) Blank filling printing system
JPH0380363A (en) Document processor
JP2886864B2 (en) Character processor
JPH09269943A (en) Document preparing device and kana/kanji converting method
JPS6068425A (en) Kana/kanji converter having learning function
JPH06149790A (en) Document processor
JP2898983B2 (en) Document processing device
JPH0424759A (en) Document processor
JPH05151194A (en) Document preparation supporting device
JPH05257939A (en) Document preparing machine and its method
JPS63657A (en) Japanese language word processor
JPS62168263A (en) Kana-kanji mutual converter
JPH1011428A (en) Kana-to-kanji conversion device
JPH06314277A (en) Document preparing device
JPH0512256A (en) Document preparation device
JPS62171029A (en) Document preparing device
JPH03212762A (en) 'kana'/'kanji' converting device
JPH09179858A (en) Document preparation device and display method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020305