JP2771020B2 - Character processor - Google Patents

Character processor

Info

Publication number
JP2771020B2
JP2771020B2 JP2204773A JP20477390A JP2771020B2 JP 2771020 B2 JP2771020 B2 JP 2771020B2 JP 2204773 A JP2204773 A JP 2204773A JP 20477390 A JP20477390 A JP 20477390A JP 2771020 B2 JP2771020 B2 JP 2771020B2
Authority
JP
Japan
Prior art keywords
kanji
reading
kana
notation
character string
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 - Fee Related
Application number
JP2204773A
Other languages
Japanese (ja)
Other versions
JPH0488552A (en
Inventor
厚志 榊原
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2204773A priority Critical patent/JP2771020B2/en
Publication of JPH0488552A publication Critical patent/JPH0488552A/en
Application granted granted Critical
Publication of JP2771020B2 publication Critical patent/JP2771020B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文書を作成する文字処理装置に関し、特
に、平仮名読み列を漢字混じりの所定文字列に変換する
機能、及び漢字混じりの所定文字列を、平仮名読み列に
変換する機能を有する文字処理装置に関するものであ
る。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing apparatus for creating a document, and more particularly, to a function of converting a hiragana reading string into a predetermined character string mixed with kanji, and a predetermined character mixed with kanji. The present invention relates to a character processing device having a function of converting a sequence into a hiragana reading sequence.

[従来の技術] 従来、漢字混じりの所定文字列を、平仮名読み列に変
換する機能を有する文字処理装置では、変換された平仮
名読み列に対し、平仮名読み列のみ文書上に挿入する機
能を有する文字処理装置が提案されている。
[Prior Art] Conventionally, a character processing apparatus having a function of converting a predetermined character string mixed with kanji into a hiragana reading string has a function of inserting only a hiragana reading string into a document with respect to the converted hiragana reading string. A character processing device has been proposed.

[発明が解決しようとしている課題] しかしながら、この従来方式では、読みにくい漢字に
対し、平仮名読みを括弧付けで文書中に挿入する場合、
平仮名読みを文書中に挿入後、カーソル移動、括弧挿入
操作により編集しなければならないという欠点があっ
た。
[Problem to be Solved by the Invention] However, in this conventional method, when hiragana reading is inserted into a document in parentheses for a difficult-to-read kanji,
After inserting Hiragana reading into a document, there is a drawback in that it must be edited by moving the cursor and inserting parentheses.

また、ルビとなる仮名文字列を漢字仮名変換により得
るためには、大きなメモリ容量を要する漢字仮名変換用
の辞書を設ける必要があった。
Further, in order to obtain a kana character string to be ruby by kanji / kana conversion, it was necessary to provide a dictionary for kanji / kana conversion requiring a large memory capacity.

[課題を解決するための手段および作用] 本発明によれば、文字処理装置に、漢字の読みを表す
仮名文字列を読み毎に区分して読みの順に並べた読み部
と、該読み部の各読みに対応する漢字表記を表記毎に区
分して読みの順に並べた漢字部と、各仮名文字を読みの
先頭文字とする前記読み部及び前記漢字部のそれぞれへ
のポインタを有するインデックス部とを有する辞書手段
と、該辞書手段を参照して、入力された仮名文字列の表
す読みに対応する漢字表記を検索して出力する仮名漢字
変換手段と、前記辞書手段を用いて、文書中で指定され
た漢字表記と一致する漢字表記が存在するアドレスを前
記漢字部より検索し、検索されたアドレスが存在する前
記漢字部へのポインタを前記インデックス部より検索
し、検索された前記漢字部へのポインタから対応する前
記読み部へのポインタを求め、検索された前記アドレス
に存在する漢字表記の属する漢字表記群について、検索
された前記漢字部へのポインタの示す先頭からの順位を
求め、対応する前記読み部へのポインタの示す先頭から
の順位が求められた前記順位と一致する読みを表す仮名
文字列を、前記読み部より検索する漢字仮名変換手段
と、該漢字仮名変換手段の検索により得られた仮名文字
列を、文書中の前記指定された漢字表記に付加する付加
手段とを有することにより、入力された仮名文字列を漢
字表記に変換し、また、文書中で指定された漢字表記の
読みを表わす仮名文字列を求め、文書中の指定された漢
字表記に付加する。
According to the present invention, according to the present invention, a reading unit in which a kana character string representing a kanji reading is classified for each reading and arranged in reading order is provided in a character processing device. A kanji part in which the kanji notation corresponding to each reading is sorted for each notation and arranged in reading order, and an index part having a pointer to each of the reading part and the kanji part with each kana character as the leading character of the reading. A kana-kanji conversion means for retrieving and outputting a kanji notation corresponding to a reading represented by an input kana character string with reference to the dictionary means, and An address having a kanji notation that matches the designated kanji notation is searched from the kanji part, a pointer to the kanji part where the searched address exists is searched from the index part, and the searched kanji part is searched. Poi A pointer to the corresponding reading unit from the pointer, and for the kanji notation group to which the kanji notation present at the searched address belongs, obtains the order from the head indicated by the searched pointer to the kanji part, and A kana character string representing a reading that matches the order in which the order from the head indicated by the pointer to the reading unit is found, is obtained by the kanji kana conversion unit searching from the reading unit and the kanji kana conversion unit. Means for adding the input kana character string to the specified kanji notation in the document, thereby converting the input kana character string to the kanji notation, A kana character string representing the reading of is read and added to the specified kanji notation in the document.

[実施例] 以下図面を参照しながら本発明を詳細に説明する。EXAMPLES Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明の全体構成の一例である。 FIG. 1 shows an example of the overall configuration of the present invention.

図示の構成において、CPUは、マイクロプロセッサで
あり、文字処理のための演算、論理判断等を行ない、ア
ドレスバスAB、コントロールバスCB、データバスDBを介
して、それらのバスに接続された各構成要素を制御す
る。
In the configuration shown in the figure, a CPU is a microprocessor, performs calculations for character processing, performs logical judgment, and the like, and is connected to those components via an address bus AB, a control bus CB, and a data bus DB. Control elements.

アドレスバス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 a control signal of each component to be controlled by the microprocessor CPU. The data bus DB transfers data between the components.

つぎにROMは、読出し専用の固定メモリであり、第11
図〜第12図につき後述するマイクロプロセッサCPUによ
る制御の手順、及び、仮名漢字変換を行なう時に参照す
る辞書が格納されている仮名漢字変換辞書KNCNVDICの固
定データを記憶させておく。
Next, the ROM is a fixed read-only memory.
The procedure of the control by the microprocessor CPU, which will be described later with reference to FIGS. To 12, and the fixed data of the Kana-Kanji conversion dictionary KNCNVDIC, which stores the dictionary to be referred to when performing the Kana-Kanji conversion, are stored.

仮名漢字変換辞書KNCNVDICは、第7図〜第9図に後述
するように、読みnの先頭文字による漢字読み部へのポ
インタ情報、読みnの先頭文字による漢字部へのポイン
タ情報より構成されるインデックス部、漢字の読み列n
の長さ情報、漢字の読み列nの読み情報より構成される
漢字読み部、漢字の読み列nに対応する漢字群nの個数
情報、漢字群nの漢字情報より構成される漢字コード部
から構成される辞書である。
The Kana-Kanji conversion dictionary KNCNVDIC is composed of pointer information to the kanji reading part by the first character of the reading n and pointer information to the kanji part by the first character of the reading n, as described later in FIGS. 7 to 9. Index part, Kanji reading sequence n
Kanji reading part consisting of length information, reading information of kanji reading string n, number information of kanji group n corresponding to kanji reading string n, and kanji code part consisting of kanji information of kanji group n It is a dictionary composed.

また、RAMは、1ワード16ビットの構成の書込み可能
のランダムアクセスメモリであって、各構成要素からの
各種データの一時記憶に用いる。
The RAM is a writable random access memory having a structure of one word and 16 bits, and is used for temporarily storing various data from each component.

TEXTはテキストバッファであり、第10図に後述するよ
うに、本文字処理装置で取り扱う文書を内部形式で記憶
する。
TEXT is a text buffer, and stores a document handled by the character processing apparatus in an internal format, as described later in FIG.

KBBUFは入力された読み列を蓄えるためのキーボード
バッファである。
KBBUF is a keyboard buffer for storing input readings.

YOMIBUFは、仮名漢字変換の入力読みを記憶するため
の読み入力バッファーである。
YOMIBUF is a reading input buffer for storing input readings for kana-kanji conversion.

KOUHOBUFは、仮名漢字変換処理の結果、および漢字か
な変換処理の結果、作成された候補を記憶するための候
補出力バッファーである。
KOUHOBUF is a candidate output buffer for storing candidates created as a result of the kana-kanji conversion process and the kanji-kana conversion process.

KBはキーボードであって、アルファベットキー、ひら
がなキー、カタカナキー等の文字記号入力キー、及び、
変換キー、カーソル移動キー、選択キー、挿入キー、括
弧付挿入キー、ルビ付挿入キー等の本文字処理装置に対
する各種機能を指示するための各種のファンクションキ
ーを備えている。
KB is a keyboard, and character symbol input keys such as alphabet keys, hiragana keys, katakana keys, and
It has various function keys for instructing various functions to the character processing apparatus, such as a conversion key, a cursor movement key, a selection key, an insertion key, an insertion key with parentheses, and an insertion key with ruby.

DISKは文書データを記憶するための外部記憶部であ
り、テキストバッファTEXT上に作成された文書の保管を
行ない、保管された文書はキーボードの指示により、必
要な時呼び出される。
DISK is an external storage unit for storing document data, and stores a document created on a text buffer TEXT, and the stored document is called up when necessary by an instruction from a keyboard.

CRはカーソルレジスタである。CPUにより、カーソル
レジスタの内容を読み書きできる。後述するCRTコント
ローラCRTCは、ここに蓄えられたアドレスに対応する表
示装置CRT上の位置にカーソルを表示する。
CR is a cursor register. The CPU can read and write the contents of the cursor register. A CRT controller CRTC described later displays a cursor at a position on the display device CRT corresponding to the address stored here.

DBUFは表示用バッファメモリで、表示すべきデータの
パターンを蓄える。文書データの内容の表示を行なうと
きは、テキストバッファTEXT上のデータに基づいてDBUF
上にパターンを展開することにより行なわれる。
DBUF is a display buffer memory for storing patterns of data to be displayed. When displaying the contents of document data, DBUF is used based on the data in the text buffer TEXT.
This is done by developing a pattern on top.

CRTCはカーソルレジスタCR及びバッファTBUFに蓄えら
れた内容を表示器CRTに表示する役割を担う。
The CRTC plays a role of displaying the contents stored in the cursor register CR and the buffer TBUF on the display CRT.

またCRTは陰極線管等を用いた表示装置であり、その
表示装置CRTにおけるドット構成の表示パターンおよび
カーソルの表示をCRTコントローラで制御する。さら
に、CGはキャラクタジェネレータであって、表示装置CR
Tに表示する文字、記号のパターンを記憶するものであ
る。
The CRT is a display device using a cathode ray tube or the like, and a display pattern of a dot configuration and a display of a cursor on the display device CRT are controlled by a CRT controller. Further, CG is a character generator, and the display device CR
This stores the pattern of characters and symbols displayed on T.

かかる各構成要素からなる本発明文字処理装置におい
ては、キーボードKBからの各種の入力に応じて作動する
ものであって、キーボードKBからの入力が供給される
と、まず、インタラプト信号がマイクロプロセッサCPU
に送られ、そのマイクロプロセッサCPUがROM内に記憶し
てある各種の制御信号を読出し、それらの制御信に従っ
て各種の制御が行なわれる。
In the character processing apparatus of the present invention comprising such components, the apparatus operates in response to various inputs from the keyboard KB. When an input from the keyboard KB is supplied, first, an interrupt signal is generated by the microprocessor CPU.
The microprocessor CPU reads various control signals stored in the ROM, and performs various controls in accordance with the control signals.

第2図は、本発明装置の表示装置CRT上に形成される
画面構成を示した図である。
FIG. 2 is a diagram showing a screen configuration formed on a display device CRT of the device of the present invention.

図中、DSPは表示画面を意味する。 In the figure, DSP means a display screen.

TSはテキスト画面であり、テキストバッファTEXTに記
憶されている文書の内容が表示される。
TS is a text screen on which the contents of the document stored in the text buffer TEXT are displayed.

KSはソフトキーを表示するエリアであり、操作状況に
よって必要なキー、例えば選択キー、変換キー、挿入キ
ー、括弧付挿入キー、ルビ付挿入キー等を表示させ、キ
ーボードKBの対応する位置のキーにより入力させるため
に用いられる。
KS is an area for displaying soft keys, and displays keys necessary for operation conditions, for example, a selection key, a conversion key, an insertion key, an insertion key with parentheses, an insertion key with ruby, etc., and a key at a corresponding position on the keyboard KB. It is used to input by.

WDSPは、ウインドウ表示画面であり、仮名漢字変換処
理後に作成された文字列候補、および漢字仮名変換処理
後に作成された読み列候補が、表示されるエリアであ
る。
WDSP is a window display screen, and is an area in which character string candidates created after the kana-kanji conversion processing and reading string candidates created after the kanji-kana conversion processing are displayed.

YSは仮名漢字変換の読み入力を表示するエリアであ
る。
YS is an area for displaying reading input of kana-kanji conversion.

第3図は、読みを入力後、仮名漢字変換し、変換文字
列候補を表示し、候補を選択する画面の推移を説明した
図である。
FIG. 3 is a diagram for explaining the transition of a screen for inputting a reading, performing kana-kanji conversion, displaying converted character string candidates, and selecting candidates.

文書処理装置が文書作成可能になると、第3図(a)
に示すように、操作者はひらがなキーにより読みを入力
し、仮名漢字変換の読み入力を表示するエリアYSに入力
された読みを表示する。
When the document processing device is ready to create a document, FIG.
As shown in (1), the operator inputs readings using the Hiragana key, and displays the input reading in an area YS for displaying reading input for kana-kanji conversion.

そして、変換キーを入力すると、ウインドウ表示画面
WDSPに、仮名漢字変換された文字列候補が表示される
(第3図(b))。
Then, when you enter the conversion key, the window display screen
The character string candidates converted into kana-kanji are displayed on the WDSP (FIG. 3 (b)).

ここで、操作者は、カーソル移動キーにより、カーソ
ル位置を「肯」に移動させ(第3図(b))、「選択」
をキー入力することにより、テキストバッファTEXTに
「肯」が入力される(第3図(c))。
Here, the operator moves the cursor position to “Yes” using the cursor movement keys (FIG. 3 (b)), and selects “Select”.
Is input into the text buffer TEXT (FIG. 3 (c)).

第4図は、カーソル位置の漢字を漢字仮名変換し、読
みを表示し、候補を選択後、文書に挿入する画面の推移
を説明した図である。
FIG. 4 is a diagram for explaining a transition of a screen in which a kanji at a cursor position is converted into kanji kana, a reading is displayed, a candidate is selected, and the candidate is inserted into a document.

文書処理装置が文書作成可能になると、第4図(a)
に示すように、漢字かな変換したい位置にカーソル移動
させる。
When the document processing device can create a document, FIG.
Move the cursor to the position where you want to convert kanji to kana as shown in.

そして、変換キーを入力すると、ウインドウ表示画面
WDSPに、漢字仮名変換された読み列候補が表示される
(第4図(b))。
Then, when you enter the conversion key, the window display screen
The reading sequence candidates converted to kanji and kana are displayed on the WDSP (FIG. 4 (b)).

ここで、操作者は、カーソル移動キーにより、カーソ
ル位置を「あえ」に移動させ,「挿入」をキー入力する
ことにより、テキストバッファTEXTに「あえ」が挿入入
力される(第4図(c))。
Here, the operator moves the cursor position to “Are” using the cursor movement keys and key-inputs “Insert”, whereby “Are” is inserted and input into the text buffer TEXT (FIG. 4 (c)). )).

第5図は、カーソル位置の漢字を漢字仮名変換し、読
みを表示し、候補を選択後、文書に括弧付で挿入する画
面の推移を説明した図である。
FIG. 5 is a diagram for explaining a transition of a screen in which a kanji at a cursor position is converted into kanji kana, a reading is displayed, a candidate is selected, and then a parenthesis is inserted into a document.

文字処理装置が文書作成可能のとき、第5図(a)に
示すように、漢字かな変換したい位置にカーソル移動さ
せる。
When the character processing device is capable of creating a document, the cursor is moved to the position where the kanji / kana kana conversion is desired, as shown in FIG.

そして、変換キーを入力すると、ウインドウ表示画面
WDSPに、漢字仮名変換された読み列候補が表示される
(第5図(b))。
Then, when you enter the conversion key, the window display screen
The reading sequence candidates converted to kanji and kana are displayed on the WDSP (FIG. 5 (b)).

ここで、操作者は、カーソル移動キーにより、カーソ
ル位置を「あえ」に移動させ,「括弧付挿入」をキー入
力することにより、テキストバッファTEXTに「(あ
え)」が挿入入力される(第5図(c))。
Here, the operator moves the cursor position to “Are” using the cursor movement keys and key-inputs “Insert in parentheses” to insert and enter “(Are)” into the text buffer TEXT (No. FIG. 5 (c)).

第6図は、カーソル位置の漢字を漢字仮名変換し、読
みを表示し、候補を選択後、文書にルビ状態でカーソル
行の前の行に挿入する画面の推移を説明した図である。
FIG. 6 is a diagram for explaining a transition of a screen in which a kanji at a cursor position is converted into kanji kana, a reading is displayed, a candidate is selected, and a ruby state is inserted into a document in a line before the cursor line.

文字処理装置が文書作成可能のとき、第6図(a)に
示すように、漢字仮名変換したい位置にカーソル移動さ
せる。
When the character processing device can create a document, the cursor is moved to the position where the kanji / kana conversion is desired, as shown in FIG. 6 (a).

そして、変換キーを入力すると、ウインドウ表示画面
WDSPに、漢字仮名変換された読み列候補が表示される
(第6図(b))。
Then, when you enter the conversion key, the window display screen
The reading sequence candidates converted to kanji and kana are displayed on the WDSP (FIG. 6 (b)).

ここで、操作者は、カーソル移動キーにより、カーソ
ル位置を「あえ」に移動させ,「ルビ付挿入」をキー入
力することにより、カーソル行の前に行を挿入後、ルビ
状態でテキストバッファTEXTに「あえ」が挿入入力され
る(第6図(c))。
Here, the operator moves the cursor position to “Are” using the cursor movement keys, and key-inputs “Insert with ruby” to insert a line before the cursor line, and then in the text buffer TEXT in ruby state. Is inserted and input (FIG. 6 (c)).

第7図〜第9図は、仮名漢字変換辞書KNCNVDICの構成
を説明した図である。
7 to 9 are diagrams for explaining the configuration of the kana-kanji conversion dictionary KNCNVDIC.

仮名漢字変換辞書KNCNVDICは読みnの先頭文字による
漢字読み部へのポインタ情報、読みnの先頭文字による
漢字部へのポインタ情報より構成されるインデックス
部、漢字の読み列nの長さ情報、漢字の読み列nの読み
情報より構成される漢字読み部、漢字の読み列nに対応
する漢字群nの個数情報、漢字群nの漢字情報より構成
される漢字コード部の3部分から構成される辞書であ
る。
The kana-kanji conversion dictionary KNCNVDIC is composed of pointer information to the kanji reading part based on the first character of the reading n, index part composed of pointer information to the kanji part based on the first character of the reading n, length information of the kanji reading sequence n, kanji Kanji reading section composed of the reading information of the reading string n, the number information of the kanji group n corresponding to the kanji reading string n, and the kanji code section composed of the kanji information of the kanji group n. It is a dictionary.

まず、第7図は、仮名漢字変換辞書KNCNVDICのインデ
ックス部の構成を説明した図である。
First, FIG. 7 is a diagram for explaining the configuration of the index part of the Kana-Kanji conversion dictionary KNCNVDIC.

仮名漢字変換辞書のインデックス部は、読みnの先頭
文字による漢字読み部へのポインタ情報、読みnの先頭
文字による漢字部へのポインタ情報が、各データは2バ
イトで構成され、読みnの文字コード(JISX0208コー
ド)の若い順番(昇順)に格納される。
The index part of the kana-kanji conversion dictionary includes pointer information to the kanji reading part based on the first character of the reading n, pointer information to the kanji part based on the first character of the reading n, and each data is composed of 2 bytes. Codes are stored in ascending order of code (JISX0208 code).

例えば、インデックス部の先頭には読み『ぁ』の先頭
文字による漢字読み部へのポインタ情報、読み『ぁ』の
先頭文字による漢字部へのポインタ情報が格納され、次
に読み『あ』の先頭文字による漢字読み部へのポインタ
情報、読み『あ』の先頭文字による漢字部へのポインタ
情報が格納される。
For example, at the beginning of the index part, pointer information to the kanji reading part by the first character of the reading “ぁ” and pointer information to the kanji part by the first character of the reading “ぁ” are stored. The pointer information to the kanji reading part by the character and the pointer information to the kanji part by the first character of the reading "a" are stored.

次に、第8図は、仮名漢字変換辞書KNCNVDICの漢字読
み部の構成を説明した図である。
Next, FIG. 8 is a diagram for explaining the configuration of the kanji reading section of the kana-kanji conversion dictionary KNCNVDIC.

仮名漢字変換辞書の漢字読み部は、漢字の読み列nの
長さ情報、漢字の読み列nの読み情報が読みnの文字コ
ード(JISX0208コード)の若い順番(昇順)に各データ
は2バイトで構成され、格納される。
The kanji reading part of the kana-kanji conversion dictionary is based on the length information of the kanji reading string n, and the reading information of the kanji reading string n is 2 bytes in the youngest order (ascending order) of the character code of reading n (JISX0208 code). And stored.

例えば、漢字読み部の先頭には漢字の読み列『あ』の
読み列長情報、読み列『あ』の読み情報が格納され、次
に漢字の読み列『ああ』の読み列長情報、読み列『あ
あ』の読み情報が格納される。
For example, at the beginning of the kanji reading section, the reading column length information of the kanji reading string "A" and the reading information of the reading string "A" are stored. The reading information of the column "Oh" is stored.

また、第9図は、仮名漢字変換辞書KNCNVDICの漢字コ
ード部の構成を説明した図である。
FIG. 9 is a diagram for explaining the configuration of the kanji code part of the kana-kanji conversion dictionary KNCNVDIC.

仮名漢字変換辞書の漢字コード部は、漢字の読み列n
に対応する漢字群nの個数情報、前記個数の漢字群nの
漢字情報が、各データは2バイトで構成され、漢字の読
み列nの文字コード(JISV0208コード)の若い順番(昇
順)に格納されている。
The kanji code part of the kana-kanji conversion dictionary is a kanji reading sequence n
The number information of the kanji group n corresponding to, and the kanji information of the kanji group n of the number described above, each data is composed of 2 bytes, and stored in ascending order (ascending order) of the character code (JISV0208 code) of the kanji reading sequence n Have been.

例えば、漢字コード部の先頭には漢字の読み列『あ』
に対応する漢字群『あ』の個数情報、前記個数の漢字群
『あ』の漢字情報が、格納され、次に漢字の読み列『あ
あ』に対応する漢字群『ああ』の個数情報、前記個数の
漢字群『ああ』の漢字情報が、格納されている。
For example, at the beginning of the kanji code part, the kanji reading sequence "A"
The number information of the kanji group "A" corresponding to the kanji group "A", the kanji information of the kanji group "A" corresponding to the number are stored, and then the number information of the kanji group "Aa" corresponding to the kanji reading sequence "Ah". The kanji information of the number of kanji groups "Oh" is stored.

第10図は、テキストバッファTEXTの構成を示した図で
ある。
FIG. 10 is a diagram showing a configuration of the text buffer TEXT.

テキストは複数個の固定長からなる行データより構成
される。各行データは同じく複数個の文字データより構
成される。各文字データは1文字2バイトで構成され、
例えば、JISX0208コードで格納される。
The text is composed of a plurality of fixed-length line data. Each line data is also composed of a plurality of character data. Each character data is composed of 2 bytes per character.
For example, it is stored in JISX0208 code.

また、各文字の位置は行を示すY座標とその行内の文
字位置を示すX座標により指定される。例えば、テキス
ト先頭より3行目で左から4文字目の文字はX座標=
4、Y座標=3で指定される。同様に、カーソルが現在
どの位置にあるかも、このX座標、Y座標で管理され
る。
The position of each character is specified by a Y coordinate indicating a line and an X coordinate indicating a character position in the line. For example, in the third line from the beginning of the text and the fourth character from the left, the X coordinate =
4, designated by Y coordinate = 3. Similarly, the current position of the cursor is managed by the X coordinate and the Y coordinate.

次に、上述の実施例の動作を、第11図〜第12図に示す
フローチャートに従って説明する。
Next, the operation of the above embodiment will be described with reference to the flowcharts shown in FIGS.

第11図は、仮名漢字変換処理において、仮名漢字変換
辞書KNCNVDICにより、読み入力バッファーYOMIBUFの読
みから、仮名漢字変換候補を作成し、作成された仮名漢
字変換候補の中から選択された候補文字列をTEXTへ編集
する処理のフローチャートである。
FIG. 11 shows that, in the kana-kanji conversion process, a kana-kanji conversion dictionary KNCNVDIC creates kana-kanji conversion candidates from the reading of the reading input buffer YOMIBUF, and a candidate character string selected from the created kana-kanji conversion candidates. 9 is a flowchart of a process of editing a file into TEXT.

先ず、ステップ11−1では、キーボードKBからの入力
を持ち、入力を受けるとデータをキーボードバッファKB
BUFに取り込む処理を行なう。ここで、キーボードバッ
ファKBBUF先頭が、ひらがなキーであれば、ステップ11
−2に分岐し、変換キーであれば、ステップ11−4に分
岐し、ひらがなキー、変換キー以外ならば、何の処理も
行なわずに、ステップ11−1に進む。
First, in step 11-1, an input is received from the keyboard KB, and when an input is received, data is stored in the keyboard buffer KB
Performs processing to take in the BUF. Here, if the head of the keyboard buffer KBBUF is a Hiragana key, step 11
Branching to -2, if it is a conversion key, branch to step 11-4. If it is not a hiragana key or a conversion key, proceed to step 11-1 without performing any processing.

ステップ11−2では、キーボードバッファKBBUF先頭
のひらがな読みを読み入力バッファーYOMIBUFへ追加す
る処理を行なう。
In step 11-2, a process of adding the hiragana reading at the head of the keyboard buffer KBBUF to the reading input buffer YOMIBUF is performed.

ステップ11−3では、キーボードバッファKBBUF先頭
のひらがな読みを、仮名漢字変換の読み入力を表示する
エリヤYSに読み追加表示する処理を行なう(第3図の
(a)参照)。
In step 11-3, a process is performed in which the hiragana reading at the head of the keyboard buffer KBBUF is read and added to the area YS for displaying the reading input of kana-kanji conversion (see FIG. 3 (a)).

ステップ11−4では、仮名漢字変換辞書KNCNVDICによ
り、読み入力バッファーYOMIBUFの読みから、仮名漢字
変換候補を作成し、候補出力バッファーへ出力する処理
を行なう。
In step 11-4, the kana-kanji conversion dictionary KNCNVDIC creates a kana-kanji conversion candidate from the reading of the reading input buffer YOMIBUF, and outputs the kana-kanji conversion candidate to the candidate output buffer.

ステップ11−5では、ステップ11−4の、仮名漢字変
換候補作成処理で作成された候補出力バッファー内の文
字列群を、ウインドウ表示画面WDSPに表示させ、候補を
選択させる処理を行なう(第3図の(b)参照)。
In step 11-5, the character string group in the candidate output buffer created in the kana-kanji conversion candidate creation process in step 11-4 is displayed on the window display screen WDSP, and the candidate is selected (third step). (See (b) of the figure).

ステップ11−6では、キーボードKBからの入力を持
ち、入力を受けるとデータをキーボードバッファKBBUF
に取り込む処理を行なう。ここで、キーボードバッファ
KBBUF先頭が上下カーソルキーであれば、ステップ11−
7に分岐し、選択キーであれば、ステップ11−8に分岐
し、上下カーソルキー、選択キー以外ならば、何の処理
も行なわずに、ステップ11−6に進む。
In step 11-6, an input is received from the keyboard KB, and when an input is received, the data is transferred to the keyboard buffer KBBUF.
Is performed. Where the keyboard buffer
If the top of the KBBUF is an up / down cursor key, go to step 11-
Branching to step 7 is performed, and if it is a selection key, the flow branches to step 11-8. If it is not an up / down cursor key or a selection key, the process proceeds to step 11-6 without performing any processing.

ステップ11−7では、仮名漢字変換候補作成処理で作
成された候補出力バッファー内の文字列群を、ウインド
ウ表示画面WDSPに表示させ、候補を選択させるウインド
ウ表示画面WDSPのカーソル位置を、上下カーソルキーの
入力に従って、変更する処理を行ない、ステップ11−6
に進む。
In step 11-7, a character string group in the candidate output buffer created in the kana-kanji conversion candidate creation process is displayed on the window display screen WDSP, and the cursor position on the window display screen WDSP for selecting a candidate is set by an up / down cursor key. Is performed according to the input in step 11-6.
Proceed to.

ステップ11−8では、仮名漢字変換候補作成処理で作
成された候補出力バッファー内の文字列群を、ウインド
ウ表示画面WDSPに表示させ、候補を選択させるウインド
ウ表示画面WDSPのカーソル位置を選択された候補文字列
と見なして、テキストバッファーTEXT内における編集処
理を行なう。
In step 11-8, the character string group in the candidate output buffer created in the kana-kanji conversion candidate creation process is displayed on the window display screen WDSP, and the cursor position on the window display screen WDSP for selecting a candidate is set to the selected candidate. Edit the text buffer TEXT as if it were a character string.

ステップ11−9では、仮名漢字変換候補作成処理で作
成された候補出力バッファー内の文字列群を、ウインド
ウ表示画面WDSPに表示させ、候補を選択させるウインド
ウ表示画面WDSPのカーソル位置を選択された候補文字列
と見なして、ウインドウ表示画面WDSPを消去するととも
に、テキスト画面TSに選択された候補文字列を表示編集
する処理を行なう(第3図の(c)参照)。
In step 11-9, a character string group in the candidate output buffer created in the kana-kanji conversion candidate creation process is displayed on the window display screen WDSP, and the cursor position on the window display screen WDSP for selecting a candidate is selected. Assuming that it is a character string, the window display screen WDSP is erased, and a process of displaying and editing the selected candidate character string on the text screen TS is performed (see FIG. 3 (c)).

第12図は、カーソル位置の漢字を、仮名漢字変換辞書
KNCNVDICにより、漢字仮名変換し、読みを表示し、いず
れかの候補を選択、そして、単純な挿入、括弧付き挿
入、ルビ状態でカーソル行の前の行に挿入のいずれかの
形態を選択後、文書に挿入する処理のフローチャートで
ある。
Fig. 12 shows the kana-kanji conversion dictionary for the kanji at the cursor position.
KNCNVDIC converts Kanji to Kana, displays the reading, selects one of the candidates, and then selects one of the following forms: simple insertion, parenthesized insertion, or insertion in the line before the cursor line in ruby state. 9 is a flowchart of a process for inserting into a document.

先ず、ステップ12−1では、キーボードKBからの入力
を待ち、入力を受けるとデータをキーボードバッファKB
BUFに取り込む処理を行なう。ここで、キーボードバッ
ファKBBUF先頭が、変換キーであれば、ステップ12−2
に分岐し、変換キー以外ならば、何の処理も行なわず
に、ステップ12−1に進む。
First, in step 12-1, an input from the keyboard KB is waited, and when an input is received, data is transferred to the keyboard buffer KB.
Performs processing to take in the BUF. Here, if the head of the keyboard buffer KBBUF is a conversion key, step 12-2
If it is not the conversion key, the process proceeds to step 12-1 without performing any processing.

ステップ12−2では、カーソルが存在する位置の漢字
に対し、仮名漢字変換辞書KNCNVの漢字コード部(第9
図参照)において同一コードが存在するアドレスを検索
する処理を行なう。
In step 12-2, for the kanji at the position where the cursor is located, the kanji code part of the kana kanji conversion dictionary KNCNV (9th
(See FIG. 7), a process of searching for an address where the same code exists is performed.

ステップ12−3では、ステップ12−2において検索さ
れたアドレスが、仮名漢字変換辞書KNCNVのインデック
ス部(第7図参照)において、何と何の読みの先頭で始
まる漢字部へのポインタ間に存在するか検索する処理を
行なう。
In step 12-3, the address searched in step 12-2 exists between the pointers to the kanji part starting at the beginning of the reading in the index part (see FIG. 7) of the kana-kanji conversion dictionary KNCNV. Or search processing.

ステップ12−4では、ステップ12−3において検索さ
れた『同一コードが存在するアドレス』が存在する漢字
部へのポインタから、漢字読み部へのポインタを求める
処理を行なう(第7図参照)。
In step 12-4, processing is performed to obtain a pointer to the kanji reading section from the pointer to the kanji section in which the "address where the same code exists" retrieved in step 12-3 (see FIG. 7).

ステップ12−5では、ステップ12−3から求められた
漢字部へのポインタが示すアドレスの先頭から、何番目
の漢字群に、仮名漢字変換辞書KNCNVの漢字コード部
(第9図参照)において、『同一コードが存在するアド
レス』が存在するか求める処理を行なう。
In step 12-5, the kanji code group of the kana-kanji conversion dictionary KNCNV (see FIG. 9) is assigned to the kanji group from the beginning of the address indicated by the pointer to the kanji part obtained in step 12-3. A process is performed to determine whether an “address where the same code exists” exists.

ステップ12−6では、ステップ12−4において検索さ
れた漢字読み部へのポインタが示すアドレスの先頭か
ら、ステップ12−5から求められた何番目の漢字の読み
列の読みを、仮名漢字変換辞書KNCNVの漢字読み部(第
8図参照)において、求める処理を行なう。
In step 12-6, from the start of the address indicated by the pointer to the kanji reading section searched in step 12-4, the reading of the kanji reading sequence determined from step 12-5 is entered in the kana-kanji conversion dictionary. The required processing is performed in the KNCNV kanji reading section (see FIG. 8).

ステップ12−7では、ステップ12−6において求めら
れた読みを、ウインドウ表示画面WDSPに表示させ、候補
を選択させる処理を行なう(第4図(b)、第5図
(b)、第6図(b)参照)。
In step 12-7, the reading obtained in step 12-6 is displayed on the window display screen WDSP, and processing for selecting a candidate is performed (FIGS. 4 (b), 5 (b), 6). (B)).

ステップ12−8では、キーボードKBからの入力を待
ち、入力を受けるとデータをキーボードバッファKBBUF
に取り込む処理を行なう。ここで、キーボードバッファ
KBBUF先頭が上下カーソルキーであれば、ステップ12−
9に分岐し、挿入キーであれば、ステップ12−10に分岐
し、括弧付き挿入キーであれば、ステップ12−12に分岐
し、ルビ付き挿入キーであれば、ステップ12−14に分岐
し、上下カーソルキー、挿入キー、括弧付き挿入キー、
ルビ付き挿入キー以外ならば、何の処理も行なわずに、
ステップ12−8に進む。
In step 12-8, the process waits for an input from the keyboard KB.
Is performed. Where the keyboard buffer
If the top of the KBBUF is the up / down cursor key, go to step 12-
9; if the key is an insert key, branch to step 12-10; if the key is parenthesized, branch to step 12-12; if the key is ruby, branch to step 12-14. , Up / down cursor keys, insert key, parenthesized insert key,
If it is not an insertion key with ruby, do nothing
Proceed to step 12-8.

ステップ12−9では、ステップ12−6において求めら
れた読み列群を、ウインドウ表示画面WDSPに表示させ、
候補を選択させるウインドウ表示画面WDSPのカーソル位
置を、上下カーソルキーの入力に従って、変更する処理
を行ない、ステップ12−8に進む。
In step 12-9, the group of readings obtained in step 12-6 is displayed on the window display screen WDSP,
The cursor position on the window display screen WDSP for selecting a candidate is changed according to the input of the up and down cursor keys, and the process proceeds to step 12-8.

ステップ12−10では、ステップ12−6において求めら
れた読み列群を、ウインドウ表示画面WDSPに表示させ、
候補を選択させるウインドウ表示画面WDSPのカーソル位
置を選択された読み候補文字列と見なして、テキストバ
ッファーTEXT内における挿入編集処理を行なう。
In step 12-10, the group of reading strings obtained in step 12-6 is displayed on the window display screen WDSP,
The insertion / editing process in the text buffer TEXT is performed by regarding the cursor position on the window display screen WDSP for selecting candidates as the selected reading candidate character string.

ステップ12−11では、ステップ12−6において求めら
れた読み列群を、ウインドウ表示画面WDSPに表示させ、
候補を選択させるウインドウ表示画面WDSPのカーソル位
置を選択された読み候補文字列と見なして、ウインドウ
表示画面WDSPを消去するとともに、テキスト画面TSに選
択された読み候補文字列を表示編集する処理を行なう
(第4図の(c)参照)。
In step 12-11, the group of reading strings obtained in step 12-6 is displayed on the window display screen WDSP,
The cursor position of the window display screen WDSP for selecting a candidate is regarded as the selected reading candidate character string, and the window display screen WDSP is erased, and a process of displaying and editing the selected reading candidate character string on the text screen TS is performed. (See FIG. 4 (c)).

ステップ12−12では、ステップ12−6において求めら
れた読み列群を、ウインドウ表示画面WDSPに表示させ、
候補を選択させるウインドウ表示画面WDSPのカーソル位
置を選択された読み候補文字列と見なして、テキストバ
ッファーTEXT内における括弧付き挿入編集処理を行な
う。
In step 12-12, the group of readings obtained in step 12-6 is displayed on the window display screen WDSP,
Assuming that the cursor position on the window display screen WDSP for selecting a candidate is a selected reading candidate character string, parenthesized insertion editing processing in the text buffer TEXT is performed.

ステップ12−13では、ステップ12−6において求めら
れた読み列群を、ウインドウ表示画面WDSPに表示させ、
候補を選択させるウインドウ表示画面WDSPのカーソル位
置を選択された読み候補文字列と見なして、ウインドウ
表示画面WDSPを消去するとともに、テキスト画面TSに選
択された読み候補文字列を括弧付き挿入による表示編集
処理を行なう(第5図の(c)参照)。
In step 12-13, the group of readings obtained in step 12-6 is displayed on the window display screen WDSP,
The cursor position on the window display screen WDSP to select the candidate is regarded as the selected reading candidate character string, the window display screen WDSP is erased, and the reading candidate character string selected on the text screen TS is displayed and edited by inserting in parentheses Processing is performed (see FIG. 5 (c)).

ステップ12−14では、カーソル位置のある行の前に1
行挿入する編集処理を、テキストバッファーTEXT内およ
び、テキスト画面TSに対して行なう。
In step 12-14, add 1 before the line where the cursor is located.
Edit processing for inserting a line is performed in the text buffer TEXT and the text screen TS.

ステップ12−15では、ステップ12−6において求めら
れた読み列群を、ウインドウ表示画面WDSPに表示させ、
候補を選択させるウインドウ表示画面WDSPのカーソル位
置を選択された読み候補文字列と見なして、テキストバ
ッファーTEXT内において、ルビ状態で、挿入された行
に、挿入編集処理を行なう。
In step 12-15, the group of readings obtained in step 12-6 is displayed on the window display screen WDSP,
Assuming that the cursor position on the window display screen WDSP for selecting a candidate is a selected reading candidate character string, an insertion edit process is performed on the inserted line in the ruby state in the text buffer TEXT.

ステップ12−16では、ステップ12−6において求めら
れた読み列群を、ウインドウ表示画面WDSPに表示させ、
候補を選択させるウインドウ表示画面WDSPのカーソル位
置を選択された読み候補文字列と見なして、ウインドウ
表示画面NDSPを消去するとともに、テキスト画面TSにお
いても、1行挿入処理、および選択された読み候補文字
列をルビ状態で挿入する表示編集処理を行なう(第6図
の(c)参照)。
In step 12-16, the read column group obtained in step 12-6 is displayed on the window display screen WDSP,
The cursor position on the window display screen WDSP for selecting a candidate is regarded as a selected reading candidate character string, the window display screen NDSP is deleted, and also in the text screen TS, one line insertion processing and the selected reading candidate character are performed. A display editing process for inserting a row in a ruby state is performed (see FIG. 6 (c)).

[他の実施例] 以上の説明において、平仮名読み列を漢字混じりの所
定文字列に変換するための辞書手段と、入力された平仮
名読み列を前記辞書手段により漢字混じりの所定文字列
に変換する変換手段と、平仮名読み列を漢字混じりの所
定文字列に変換するための前記辞書により、漢字混じり
の所定文字列を、平仮名読み列に変換する逆変換手段
と、前記変換された平仮名読み列に対し、平仮名読み列
に開き括弧、及み閉じ括弧を付加して文書上に挿入か、
平仮名読み列のみ文書上に挿入かを選択するための選択
手段を具備することにより、読みにくい漢字に対し、平
仮名読みを括弧付きで文書中に挿入する場合、括弧付き
操作を選択するだけで、実現することができることを説
明してきた。
[Other Embodiments] In the above description, a dictionary means for converting a hiragana reading string into a predetermined character string mixed with kanji, and an input hiragana reading string is converted into a predetermined character string mixed with kanji by the dictionary means. Conversion means, the dictionary for converting a hiragana reading string to a predetermined character string mixed with kanji, an inverse conversion means for converting a predetermined character string mixed with kanji into a hiragana reading string, and the converted hiragana reading string. On the other hand, open hiragana and parenthesis are added to the hiragana reading sequence and inserted into the document,
By providing a selection means for selecting whether to insert only hiragana reading columns on a document, when inserting hiragana readings into a document in parentheses for a difficult-to-read kanji, only selecting an operation with parentheses, We have described what can be achieved.

同様に、日本語の単語を英語の単語に変換するための
辞書を所有するだけで、英語の単語を日本語の単語に変
換するための英日変換用インデックスなしに、日本語の
単語を英語の単語へ変換、および英語の単語を日本語の
単語へ変換することが可能で、また、英日変換が難しい
英語の単語に対し、日本語の単語訳を括弧付きで文書中
に挿入する場合、括弧付き操作を選択するだけで、実現
することが可能である。
Similarly, just owning a dictionary to convert Japanese words into English words, without the English-to-Japanese conversion index to convert English words into Japanese words, When it is possible to convert English words to Japanese words and English words to Japanese words, and to insert Japanese word translations into parentheses for English words that are difficult to translate from Japanese to English , Can be realized only by selecting the operation with parentheses.

このときは、第7図〜第9図のかな漢字変換辞書の構
成において、インデックス部は漢字読み部へのポインタ
を日本語部へのポインタへ変更し、漢字部へのポインタ
を英語部へのポインタに変更する。また、漢字読み部は
漢字の読み列を日本語の単語の長さ、日本語の単語列へ
変更する。そして、漢字コード部は漢字の読み列に対応
する漢字群の個数を日本語の単語列に対応する英語列群
の個数へ変更し、漢字群の漢字を英語列群の英語データ
へ変更し、英語データの長さも付加することにより、第
11図、第12図のフローチャートは同様にして、実現され
る。
At this time, in the configuration of the kana-kanji conversion dictionary in FIGS. 7 to 9, the index part changes the pointer to the kanji reading part to the pointer to the Japanese part, and the pointer to the kanji part to the pointer to the English part. Change to The kanji reading unit changes the kanji reading sequence to the length of a Japanese word and the Japanese word sequence. Then, the kanji code part changes the number of kanji groups corresponding to the kanji reading string to the number of English string groups corresponding to the Japanese word string, and changes the kanji of the kanji group to English data of the English string group, By adding the length of English data,
The flowcharts of FIGS. 11 and 12 are realized in the same manner.

また、同様に、英語の単語を日本語の単語に変換する
ための辞書を所有するだけで、日本語の単語を英語の単
語に変換するための日英変換用インデックスなしに、日
本語の単語を英語の単語へ変換、および英語の単語を日
本語の単語へ変換することが可能で、また、日英変換が
難しい日本語の単語に対し、英語の単語を括弧付きで文
書中に挿入する場合、括弧付き操作を選択するだけで、
実現することが可能である。
Similarly, just owning a dictionary for converting English words into Japanese words, without the Japanese-to-English conversion index for converting Japanese words into English words, Can be converted into English words, and English words can be converted into Japanese words. For Japanese words that are difficult to translate from Japanese to English, insert English words into the document in parentheses. In that case, just select the parenthesized operation,
It is possible to realize.

このときは、第7図〜第9図の仮名漢字変換辞書の構
成において、インデックス部は漢字読み部へのポインタ
を英語部へのポインタへ変更し、漢字部へのポインタを
日本語部へのポインタに変更する。また、漢字読み部は
漢字の読み列を英語の単語の長さ、英語の単語列へ変更
する。そして、漢字コード部は漢字の読み列に対応する
漢字群の個数を英語の単語列に対応する日本語列群の個
数へ変更し、漢字群の漢字を日本語列群の日本語データ
へ変更し、日本語データの長さも付加することにより、
第11図、第12図のフローチャートは同様にして、実現さ
れる。
At this time, in the configuration of the kana-kanji conversion dictionary of FIGS. 7 to 9, the index part changes the pointer to the kanji reading part to the pointer to the English part, and the pointer to the kanji part to the Japanese part. Change to a pointer. The kanji reading unit changes the kanji reading sequence to the length of an English word and the English word sequence. The kanji code part changes the number of kanji groups corresponding to the kanji reading string to the number of Japanese string groups corresponding to the English word string, and changes the kanji of the kanji group to Japanese data of the Japanese string group By adding the length of Japanese data,
11 and 12 are realized in a similar manner.

[発明の効果] 以上説明したように、本発明によれば、文字処理装置
に、漢字の読みを表す仮名文字列を読み毎に区分して読
みの順に並べた読み部と、該読み部の各読みに対応する
漢字表記を表記毎に区分して読みの順に並べた漢字部
と、各仮名文字を読みの先頭文字とする前記読み部及び
前記漢字部のそれぞれへのポインタを有するインデック
ス部とを有する辞書手段と、該辞書手段を参照して、入
力された仮名文字列の表す読みに対応する漢字表記を検
索して出力する仮名漢字変換手段と、前記辞書手段を用
いて、文書中で指定された漢字表記と一致する漢字表記
が存在するアドレスを前記漢字部より検索し、検索され
たアドレスが存在する前記漢字部へのポインタを前記イ
ンデックス部より検索し、検索された前記漢字部へのポ
インタから対応する前記読み部へのポインタを求め、検
索された前記アドレスに存在する漢字表記の属する漢字
表記群について、検索された前記漢字部へのポインタの
示す先頭からの順位を求め、対応する前記読み部へのポ
インタの示す先頭からの順位が求められた前記順位と一
致する読みを表す仮名文字列を、前記読み部より検索す
る漢字仮名変換手段と、該漢字仮名変換手段の検索によ
り得られた仮名文字列を、文書中の前記指定された漢字
表記に付加する付加手段とを備え、入力された仮名文字
列を漢字表記に変換し、また、文書中で指定された漢字
表記の読みを表わす仮名文字列を求め、文書中の指定さ
れた漢字表記に付加するようにしたので、文書中の漢字
の読みを、簡単な操作により求めて、求められた読みを
読み仮名として指定された漢字に付加することができ
る。
[Effects of the Invention] As described above, according to the present invention, the character processing device includes a reading section in which a kana character string representing a kanji reading is classified for each reading and arranged in reading order, A kanji part in which the kanji notation corresponding to each reading is sorted for each notation and arranged in reading order, and an index part having a pointer to each of the reading part and the kanji part with each kana character as the leading character of the reading. A kana-kanji conversion means for retrieving and outputting a kanji notation corresponding to a reading represented by an input kana character string with reference to the dictionary means, and An address having a kanji notation that matches the designated kanji notation is searched from the kanji part, a pointer to the kanji part where the searched address exists is searched from the index part, and the searched kanji part is searched. Pointer From the obtained kanji notation group to which the kanji notation belonging to the searched address belongs, the order from the head indicated by the searched pointer to the kanji part is obtained, and the corresponding A kana character string conversion means for retrieving, from the reading part, a kana character string representing a reading corresponding to the obtained rank whose rank from the head indicated by the pointer to the reading part is obtained by the search by the kanji kana conversion means. Means for adding the kana character string to the designated kanji notation in the document, converting the input kana character string to the kanji notation, and reading the kanji notation specified in the document. The kana character string to be represented is obtained and added to the specified kanji notation in the document, so the kanji reading in the document is obtained by a simple operation, and the obtained reading is specified as the reading kana. It can be added to Chinese characters.

また、仮名漢字変換に加えて、指定された漢字の読み
仮名を求めるための漢字仮名変換を行うための辞書に要
するメモリ容量が小さくて済むという効果がある。
Further, in addition to the kana-kanji conversion, there is an effect that a memory capacity required for a dictionary for performing the kanji-kana conversion for obtaining the reading kana of the designated kanji can be reduced.

特に、求められた読みを指定された漢字の後に括弧で
括って挿入する態様によれば、同一行中で挿入された読
み仮名部分が明瞭に識別できるという効果がある。
In particular, according to the aspect in which the obtained reading is enclosed in parentheses after the designated kanji, there is an effect that the reading kana part inserted in the same line can be clearly identified.

特に、求められた読みをルビの形態で付加することに
より、漢字表記と付加される読みとの対応関係が明瞭と
なるという効果がある。
In particular, by adding the obtained reading in the form of ruby, there is an effect that the correspondence between the kanji notation and the added reading becomes clear.

以上のように、操作が簡単な、仮名漢字変換、漢字か
な変換機能を持った、文字処理装置を実現することがで
きる。
As described above, it is possible to realize a character processing device that has an easy operation and has a kana-kanji conversion function and a kanji-kana conversion function.

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

第1図は本発明の実施例に係る文字処理装置のブロック
図、 第2図は本発明に係る文字処理装置の画面構成を示した
図、 第3図は本発明における、読みを入力後、かな漢字変換
し、変換文字列候補を表示し、候補を選択する方法の例
を示した図 第4図は本発明における、カーソル位置の漢字を漢字仮
名変換し、読みを表示し、候補を選択後、文書に挿入す
る方法の例を示した図、 第5図は本発明における、カーソル位置の漢字を漢字仮
名変換し、読みを表示し、候補を選択後、文書に括弧付
で挿入する方法の例を示した図、 第6図は本発明における、カーソル位置の漢字を漢字仮
名変換し、読みを表示し、候補を選択後、文書にルビ状
態でカーソル行の前の行に挿入する方法の例を示した
図、 第7図は本発明における、仮名漢字変換辞書のインデッ
クス部の構成を示した図、 第8図は本発明における、仮名漢字変換辞書の漢字読み
部の構成を示した図、 第9図は本発明における、仮名漢字変換辞書の漢字コー
ド部の構成を示した図、 第10図は本発明におけるテキストバッファの構成を示し
た図、 第11図〜第12図は本発明における本発明に係る文字処理
装置の動作を示すフローチャートである。 DISK……外部記憶部 CPU……マイクロプロッセッサ ROM……読み出し専用メモリ RAM……ランダムアクセスメモリ KBBUF……キーボードバッファ TEXT……テキストバッファ YOMIBUF……読み入力バッファ KOUHOBUF……候補出力バッファー KNCNVDIC……仮名漢字変換辞書
FIG. 1 is a block diagram of a character processing device according to an embodiment of the present invention, FIG. 2 is a diagram showing a screen configuration of the character processing device according to the present invention, and FIG. FIG. 4 shows an example of a method of converting kana-kanji characters, displaying converted character string candidates, and selecting candidates. FIG. 4 shows a method of converting kanji characters at the cursor position to kanji kana, displaying readings, and selecting candidates according to the present invention. FIG. 5 is a diagram showing an example of a method of inserting a character into a document. FIG. 5 shows a method of the present invention in which a kanji at a cursor position is converted into a kanji kana, a reading is displayed, a candidate is selected, and then a parenthesis is inserted into the document. FIG. 6 shows an example of the method of the present invention in which the kanji at the cursor position is converted to kanji kana, the reading is displayed, the candidate is selected, and the document is inserted in a ruby state in the document before the cursor line. FIG. 7 shows an example. FIG. 7 shows a kana-kanji conversion dictionary according to the present invention. FIG. 8 is a diagram showing a configuration of an index portion, FIG. 8 is a diagram showing a configuration of a kanji reading portion of a kana-kanji conversion dictionary in the present invention, and FIG. 9 is a configuration of a kanji code portion of a kana-kanji conversion dictionary in the present invention. FIG. 10 is a diagram showing the configuration of the text buffer in the present invention, and FIGS. 11 and 12 are flowcharts showing the operation of the character processing device according to the present invention in the present invention. DISK: External storage unit CPU: Microprocessor ROM: Read-only memory RAM: Random access memory KBBUF: Keyboard buffer TEXT: Text buffer YOMIBUF: Read input buffer KOUHOBUF: Candidate output buffer KNCNVDIC: Kana Kanji conversion dictionary

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】漢字の読みを表す仮名文字列を読み毎に区
分して読みの順に並べた読み部と、該読み部の各読みに
対応する漢字表記を表記毎に区分して読みの順に並べた
漢字部と、各仮名文字を読みの先頭文字とする前記読み
部及び前記漢字部のそれぞれへのポインタを有するイン
デックス部とを有する辞書手段と、 該辞書手段を参照して、入力された仮名文字列の表す読
みに対応する漢字表記を検索して出力する仮名漢字変換
手段と、 前記辞書手段を用いて、文書中で指定された漢字表記と
一致する漢字表記が存在するアドレスを前記漢字部より
検索し、検索されたアドレスが存在する前記漢字部への
ポインタを前記インデックス部より検索し、検索された
前記漢字部へのポインタから対応する前記読み部へのポ
インタを求め、検索された前記アドレスに存在する漢字
表記の属する漢字表記群について、検索された前記漢字
部へのポインタの示す先頭からの順位を求め、対応する
前記読み部へのポインタの示す先頭からの順位が求めら
れた前記順位と一致する読みを表す仮名文字列を、前記
読み部より検索する漢字仮名変換手段と、 該漢字仮名変換手段の検索により得られた仮名文字列
を、文書中の前記指定された漢字表記に付加する付加手
段とを有することを特徴とする文字処理装置。
1. A reading section in which a kana character string representing a reading of a kanji is classified for each reading and arranged in reading order, and a kanji notation corresponding to each reading of the reading section is classified for each notation and in reading order. A dictionary unit having an arranged kanji portion, an index portion having a pointer to each of the reading portion and each of the kanji portions each of which has a kana character as a leading character of the reading, and A kana-kanji conversion means for searching for and outputting a kanji notation corresponding to a reading represented by a kana character string; and using the dictionary means, an address at which a kanji notation matching a kanji notation specified in a document exists, and From the index portion, and a pointer to the corresponding reading portion is obtained from the searched pointer to the kanji portion. For the kanji notation group to which the kanji notation present at the given address belongs, the order from the head indicated by the searched pointer to the kanji part was obtained, and the order from the head indicated by the corresponding pointer to the reading part was obtained. A kanji kana conversion means for searching the reading part for a kana character string representing a reading matching the order, and a kana character string obtained by the kanji kana conversion means searching for the specified kanji notation in a document. A character processing device comprising:
【請求項2】前記付加手段は、前記検索により得られた
仮名文字列を括弧で括った形態で前記指定された漢字表
記の直後に挿入することを特徴とする請求項1に記載の
文字処理装置。
2. The character processing apparatus according to claim 1, wherein said adding means inserts a kana character string obtained by said search immediately after said designated kanji notation in a form enclosed in parentheses. apparatus.
【請求項3】前記付加手段は、前記検索により得られた
仮名文字列をルビの形態で前記指定された漢字表記に付
加することを特徴とする請求項1に記載の文字処理装
置。
3. The character processing apparatus according to claim 1, wherein the adding means adds the kana character string obtained by the search to the designated kanji notation in the form of ruby.
JP2204773A 1990-07-31 1990-07-31 Character processor Expired - Fee Related JP2771020B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2204773A JP2771020B2 (en) 1990-07-31 1990-07-31 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2204773A JP2771020B2 (en) 1990-07-31 1990-07-31 Character processor

Publications (2)

Publication Number Publication Date
JPH0488552A JPH0488552A (en) 1992-03-23
JP2771020B2 true JP2771020B2 (en) 1998-07-02

Family

ID=16496110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2204773A Expired - Fee Related JP2771020B2 (en) 1990-07-31 1990-07-31 Character processor

Country Status (1)

Country Link
JP (1) JP2771020B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60245074A (en) * 1984-05-18 1985-12-04 Sanyo Electric Co Ltd Automatic agate display system
JPS62233878A (en) * 1986-04-03 1987-10-14 Nec Corp Method for writing phonetic transcription in kana
JPS63313268A (en) * 1987-06-16 1988-12-21 Brother Ind Ltd Reading retrieving device in document forming device

Also Published As

Publication number Publication date
JPH0488552A (en) 1992-03-23

Similar Documents

Publication Publication Date Title
JP2771020B2 (en) Character processor
JPH05113964A (en) Electronic dictionary
JPS6010348B2 (en) Automatic conversion method for half-width and full-width characters
JPH0488551A (en) Character processor
JP2819612B2 (en) Character converter
JP2862236B2 (en) Character processor
JP2592793B2 (en) Character processing method
JP3847801B2 (en) Character processing apparatus and processing method thereof
JP2688651B2 (en) String converter
JPS62290966A (en) Sentence editing device
JPH0488550A (en) Character processor
JPH10269209A (en) Device and method for character string prediction
JP3847869B2 (en) Character string conversion apparatus and method
JPH06119314A (en) Document preparing device
JPH10187705A (en) Method and device for document processing
JPH0666065B2 (en) Document processor with furigana addition function
JPH0520316A (en) Character processor
JPH1091623A (en) Character conversion device
JPH05108718A (en) Electronic dictionary
JPS62198952A (en) Character processor
JPH0562794B2 (en)
JPS62119665A (en) Word processor
JPS59142632A (en) Character processing device
JPH10187700A (en) Document processor
JPH0447451A (en) Character processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees