JPH05135007A - Character input processing method - Google Patents

Character input processing method

Info

Publication number
JPH05135007A
JPH05135007A JP3295652A JP29565291A JPH05135007A JP H05135007 A JPH05135007 A JP H05135007A JP 3295652 A JP3295652 A JP 3295652A JP 29565291 A JP29565291 A JP 29565291A JP H05135007 A JPH05135007 A JP H05135007A
Authority
JP
Japan
Prior art keywords
kanji
character
reading
dictionary
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
JP3295652A
Other languages
Japanese (ja)
Inventor
Shuichi Morisawa
秀一 森沢
Hitoshi Yururi
仁志 緩利
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 JP3295652A priority Critical patent/JPH05135007A/en
Publication of JPH05135007A publication Critical patent/JPH05135007A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To enable document preparation by selecting either a new JIS type or a former JIS type. CONSTITUTION:In a character processor to convert an inputted Japanese syllabary (KANA) reading sequence to a Chinese character (KANJI) mixed character string corresponding to this reading, a dictionary SKYDIC to store a converted candidate character string corresponding to this index stores a KANA index and the character type information of KANJI as well concerning respective characters in the relevant character string, and the character type of KANJI to be used in a prepared document is set. Then, when converting the inputted KANA reading sequence to the KANJI mixed character string by the dictionary SKYDIC, the type of characters in each converted candidate character string is compared with the set character type in the case of conversion, and it is controlled to present only the candidate composed of the character type corresponding to the setting among the converted candidates.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文書を作成する文字処
理装置に関し、特に、平仮名読み列を漢字を含む所定文
字列に変換する機能を有する文書処理装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device for creating a document, and more particularly to a document processing device having a function of converting a hiragana reading string into a predetermined character string containing Chinese characters.

【0002】[0002]

【従来の技術】従来、平仮名読み列を、漢字を含む所定
文字列に変換する機能を有する文書処理装置では、変換
の際に使用できる漢字の字体が、新JIS漢字、または
旧JIS漢字のどちらか一方だけに限られていた。例え
ば、新JIS漢字に従った文書処理装置を利用する操作
者が、その作成文書の中で旧JIS漢字を使用したい場
合には、所定の方法によってあらかじめ使用したい旧J
IS漢字を、外字としてその文書処理装置の記憶装置に
登録しておかなければならなかった。
2. Description of the Related Art Conventionally, in a document processing apparatus having a function of converting a hiragana reading string into a predetermined character string containing kanji, the kanji font that can be used for conversion is either the new JIS kanji character or the old JIS kanji character. It was limited to only one. For example, when an operator who uses a document processing device conforming to the new JIS kanji wants to use the old JIS kanji in the created document, he / she wants to use the old JIS kanji by a predetermined method in advance.
The IS kanji had to be registered in the storage device of the document processing device as an external character.

【0003】[0003]

【発明が解決しようとしている課題】あらかじめ面倒な
外字登録をすることなく、1個の文書処理装置において
新JIS体漢字による文書、あるいは旧JIS体漢字に
よる文書の両方を作成することができることは、文書作
成の効率上非常に有効である。
SUMMARY OF THE INVENTION It is possible to create both a new JIS type kanji character document and an old JIS type kanji character document in a single document processing device without performing troublesome external character registration in advance. It is very effective for document creation efficiency.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
に、本発明によれば、入力された平仮名読み列を、この
読みに対応する漢字混じり文字列に変換する文字処理装
置において、仮名見出しと、この見出しに対応する変換
候補文字列を記憶する辞書に、当該文字列中の各文字に
ついて、漢字の字体情報を合わせて記憶させておき、作
成文書内で使用する漢字の字体を設定し、入力された平
仮名読み列を、前記辞書により、漢字混じり文字列に変
換する際に、変換時に各変換候補文字列の文字の字体
と、前記設定された字体とを比較し、前記変換候補の
内、前記設定に適した字体からなる候補だけを提示する
ように制御する。
In order to solve the above problems, according to the present invention, a kana heading is provided in a character processing device for converting an input hiragana reading string into a kanji mixed character string corresponding to this reading. Then, in the dictionary that stores the conversion candidate character string corresponding to this headline, for each character in the character string, the font information of the Chinese character is also stored together, and the font of the Chinese character used in the created document is set. , When converting the inputted Hiragana reading string into a character string mixed with Kanji by the dictionary, the character fonts of the respective conversion candidate character strings are compared with the set fonts at the time of conversion, and the character strings of the conversion candidates are converted. Among them, the control is performed so that only the candidates having the font suitable for the setting are presented.

【0005】[0005]

【作用】本発明によれば、変換後の文字列に含まれる漢
字の字体を、操作者が文書作成前に新JIS体、旧JI
S体のいずれかから任意の一方を設定しておき、文書作
成時に操作者から入力された平仮名読み列を漢字を含む
文字列に変換する際、辞書中に記憶された単語(変換候
補)毎に設けられた新旧JISの字体情報と、設定され
た字体とを照らし合わせることにより、設定字体に合致
した漢字表記を見出し、変換候補の中からその漢字を含
む文字列のみを出力することで、操作者の意図に合わせ
て、新JIS体漢字による文書、旧JIS体漢字による
文書のどちらでも、同一の文書処理装置において作成す
ることができる。
According to the present invention, the kanji font included in the converted character string can be converted into the new JIS font or the old JIS font by the operator before the document is created.
For each word (conversion candidate) stored in the dictionary when the Hiragana reading string input by the operator at the time of document creation is converted to a character string containing Kanji by setting any one of the S bodies By comparing the font information of the old and new JIS provided in and the set font, the kanji notation that matches the set font is found, and by outputting only the character string containing that kanji from the conversion candidates, According to the operator's intention, both a document in new JIS type kanji and a document in old JIS type kanji can be created in the same document processing device.

【0006】[0006]

【実施例】以下図面を参照しながら本発明を詳細に説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings.

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

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

【0009】アドレスバスABはマイクロプロセッサC
PUの制御の対象とする構成要素を指示するアドレス信
号を転送する。コントロールバスCBはマイクロプロセ
ッサCPUの制御の対象とする各構成要素のコントロー
ル信号を転送して印加する。データバスDBは各構成機
器相互間のデータの転送を行なう。
The address bus AB is a microprocessor C
An address signal for instructing a component to be controlled by the PU is transferred. The control bus CB transfers and applies a control signal of each constituent element to be controlled by the microprocessor CPU. The data bus DB transfers data between the constituent devices.

【0010】つぎにROMは、読出し専用の固定メモリ
であり、10図につき後述するマイクロプロセッサCP
Uによる制御の手順、及び、単漢字変換を行なうときに
参照する辞書が格納されている単漢読み辞書SKYDI
Cその他の辞書の固定データを記憶させておく。
The ROM is a read-only fixed memory and is a microprocessor CP described later with reference to FIG.
A single-kanji reading dictionary SKYDI in which a control procedure by U and a dictionary to be referred to when performing single-kanji conversion are stored.
The fixed data of C and other dictionaries are stored.

【0011】単漢読み辞書SKYDICは、5図〜9図
に後述するように、読みnの先頭文字による漢字読み部
へのポインタ情報、読みnの先頭文字による漢字部への
ポインタ情報より構成される索引領域、漢字の読み列n
の読み情報より構成される読み部領域、漢字の読み列n
に対応する漢字群nの漢字情報より構成される漢字部領
域から構成される辞書である。
The single-kanji reading dictionary SKYDIC, as will be described later with reference to FIGS. 5 to 9, is composed of pointer information to the kanji reading part by the leading character of reading n and pointer information to the kanji portion by the leading character of reading n. Index area, kanji reading sequence n
Reading area consisting of reading information of Chinese characters, Kanji reading string n
It is a dictionary composed of kanji part areas composed of kanji information of kanji group n corresponding to.

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

【0013】TEXTはテキストバッファであり、本文
字処理装置で取り扱う文書を内部形式で記憶する。
TEXT is a text buffer which stores a document handled by the character processing apparatus in an internal format.

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

【0015】YOMIBUFは、かな漢字変換の入力読
みを記憶するための読み入力バッファーである。
YOMIBUF is a reading input buffer for storing the input reading of Kana-Kanji conversion.

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

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

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

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

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

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

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

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

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

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

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

【0027】KSはソフトキーを表示するエリアであ
り、操作状況によって必要なキー、例えば選択キー、変
換キー、字体変換モードキー、単漢読みキー、単漢部首
キー、単漢画数キー等を表示させ、キーボードKBの対
応する位置のキーにより入力させるために用いられる。
KS is an area for displaying the soft keys, and includes keys necessary for the operation situation, such as a selection key, a conversion key, a character conversion mode key, a single Chinese reading key, a single Chinese radical key, and a single Chinese stroke number key. It is used for displaying and inputting with the key at the corresponding position on the keyboard KB.

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

【0029】図3は、本装置の特徴である、新JIS
体、旧JIS体切り換えの設定を行う画面を示したもの
である。文書作成画面において入力された平仮名は、こ
こで設定された字体による漢字に変換される。
FIG. 3 shows a new JIS, which is a feature of this device.
7 is a view showing a screen for setting the body and old JIS body switching. The hiragana input on the document creation screen is converted into kanji in the font set here.

【0030】図4は、単漢字変換機能において、読みを
入力後単漢字変換し、変換文字候補を表示し、候補を選
択する画面の推移を説明した図である。
FIG. 4 is a diagram for explaining the transition of the screen for selecting a candidate by displaying the converted character candidate after converting the single kanji after inputting the reading in the single-kanji conversion function.

【0031】文書処理装置が文書作成可能状態になって
いるとき単漢読みキーを押すと、図4(a)に示すよう
に単漢読み入力ウィンドウが現れるので、操作者はひら
がなキーにより読みを入力する。
When the document processing device is in the state where the document can be created, if the user presses the simple Chinese reading key, a simple Chinese reading input window appears as shown in FIG. 4 (a), so that the operator can read with the Hiragana key. input.

【0032】すると、表示画面DSPに単漢字変換され
た文字候補が表示される。(図4(b))
Then, the single-kanji converted character candidates are displayed on the display screen DSP. (Fig. 4 (b))

【0033】ここで、操作者は、カーソル移動キーによ
り、カーソル位置を「肯」に移動させ(図4(b)),
「選択」をキー入力することにより、テキストバッファ
TEXTに「肯」が入力される。(図4(c))
Here, the operator moves the cursor position to "acknowledge" with the cursor movement key (FIG. 4 (b)),
By pressing "select" with a key, "acknowledge" is input to the text buffer TEXT. (Fig. 4 (c))

【0034】図5〜9は、単漢読み辞書SKYDICの
構成を説明した図である。
5 to 9 are diagrams for explaining the structure of the single-kanji reading dictionary SKYDIC.

【0035】単漢読み辞書SKYDICは読みnの先頭
文字による漢字読み部へのポインタ情報、読みnの先頭
文字による漢字部へのポインタ情報より構成される索引
領域(図5)、単漢字の読みを辞書式配列で昇順に格納
した読み部領域(図6)、漢字の読み列nに対応する漢
字群nの漢字情報より構成される漢字部領域(図7)の
3領域から構成される辞書である。
The single-kanji reading dictionary SKYDIC is a pointer area to the kanji reading part according to the leading character of reading n, an index area (pointer to FIG. 5) composed of pointer information to the kanji portion according to the leading character of reading n, and reading of single kanji. A dictionary composed of three reading areas (FIG. 6) in which the words are stored in a lexicographical array in ascending order, and a kanji area (FIG. 7) composed of kanji information of the kanji group n corresponding to the reading column n of kanji. Is.

【0036】まず、5図は、単漢読み辞書SKYDIC
の索引領域の構成を説明した図である。
First, FIG. 5 shows a single-kanji reading dictionary SKYDIC.
It is a figure explaining the structure of the index area of.

【0037】単漢読み辞書の索引領域は、読みnの先頭
文字による漢字読み部へのポインタ情報、読みnの先頭
文字による漢字部へのポインタ情報が、各デ−タは2バ
イトで構成され、読みnの文字コード(JISX020
8コード)の若い順番(昇順)に格納される。
In the index area of the single-kanji reading dictionary, pointer information to the kanji reading portion by the leading character of reading n and pointer information to the kanji portion by the leading character of reading n are each composed of 2 bytes. , Character code of reading n (JISX020
They are stored in ascending order (8 codes).

【0038】例えば、索引領域の先頭には読み『ぁ』の
先頭文字による漢字読み部へのポインタ情報、読み
『ぁ』の先頭文字による漢字部へのポインタ情報が格納
され、次に読み『あ』の先頭文字による漢字読み部への
ポインタ情報、読み『あ』の先頭文字による漢字部への
ポインタ情報が格納される。
For example, pointer information to the kanji reading part by the leading character of the reading "a" and pointer information to the kanji portion by the leading character of the reading "a" are stored at the beginning of the index area, and then the reading "a" is stored. The pointer information to the kanji reading part by the first character of "" and the pointer information to the kanji part by the first character of reading "a" are stored.

【0039】次に、図6は、単漢読み辞書SKYDIC
の読み部領域の構成を説明した図である。単漢読み辞書
の読み部領域は、漢字の読み列nの読み情報が読みnの
文字コード(JISX0208コード)の若い順番(昇
順)に各デ−タは1バイトで構成され、格納される。
Next, FIG. 6 shows a single-kanji reading dictionary SKYDIC.
It is a figure explaining the composition of the reading part field. In the reading section area of the single-kanji reading dictionary, each piece of data is composed of 1 byte and is stored in the younger order (ascending order) of the character code (JISX0208 code) of the reading n of the kanji reading string n.

【0040】例えば、漢字読み部の先頭には漢字の読み
列『あ』の読み情報が格納され、次に漢字の読み列『あ
あ』の読み情報が格納される。
For example, the reading information of the kanji reading string "a" is stored at the beginning of the kanji reading part, and the reading information of the kanji reading string "aa" is stored next.

【0041】また、7図は、単漢読み辞書SKYDIC
の漢字部領域の構成を説明した図である。
Further, FIG. 7 shows a single-kanji reading dictionary SKYDIC.
It is a figure explaining the composition of the Chinese character part area of.

【0042】単漢読み辞書の漢字部領域は、漢字の読み
列nに対応する漢字群nの漢字情報が2バイトで構成さ
れ、漢字の読み列nの文字コード(JISX0208コ
ード)の若い順番(昇順)に格納されている。
In the kanji part area of the single-kanji reading dictionary, kanji information of the kanji group n corresponding to the kanji reading string n is composed of 2 bytes, and the character code (JISX0208 code) of the kanji reading string n is younger ( Stored in ascending order).

【0043】例えば、漢字コード部の先頭には漢字の読
み列『あ』に対応する漢字群『あ』の漢字情報が格納さ
れ、次に漢字の読み列『ああ』に対応する漢字群『あ
あ』の漢字情報が格納され、…、次に漢字の読み列『あ
え』に対応する漢字群『あえ』の漢字情報が格納され
る。
For example, at the beginning of the kanji code part, the kanji information of the kanji group "a" corresponding to the kanji reading string "a" is stored, and then the kanji group "ah" corresponding to the kanji reading string "aa". The kanji information of “” is stored, and then the kanji information of the kanji group “ae” corresponding to the kanji reading sequence “ae” is stored.

【0044】それぞれの漢字群はJIS第1水準に続い
て第2水準が並び、各水準内では画数の昇順に並ぶ。
The respective kanji groups are arranged in the second level after the JIS first level, and are arranged in ascending order of the number of strokes in each level.

【0045】図8は、漢字1文字の構成を示したもので
ある。この図において、フラグは漢字群の区切りを示す
ためのものであり、フラグ1とフラグ2は常に同じ値を
取る。また末尾の1バイトに新旧JIS判別フラグが付
く。
FIG. 8 shows the structure of one Kanji character. In this figure, the flag is for indicating the division of the Chinese character group, and the flag 1 and the flag 2 always take the same value. The last 1 byte has a new and old JIS discrimination flag.

【0046】図9は、新旧JIS判別フラグの構成を示
したものである。このフラグにより、その漢字が新JI
S体漢字であるか旧JIS体漢字であるかを区別する。
FIG. 9 shows the structure of the old and new JIS discrimination flags. With this flag, the kanji will be the new JI
Distinguish between S-type Kanji and old JIS Kanji.

【0047】次に、上述の実施例の動作を、図10に示
すフローチャートに従って説明する。
Next, the operation of the above embodiment will be described with reference to the flow chart shown in FIG.

【0048】文書を作成するときには、本装置の表示装
置CRT上に、図2のような表示画面が現われる。テキ
スト画面において平仮名読み列を入力していくと、随時
漢字仮名混じり文字列に変換されていくが、そこで使用
される漢字の字体は、新JIS体漢字がデフォルトとな
っている。もし操作者がその作成文書において旧JIS
体漢字を使用したいのであれば、字体変換モードキーに
よって図3に示すような字体変換モードウィンドウを開
き、変換漢字の字体を旧JIS体の方に選択しておく。
以下の説明においては、ここで旧JIS体モードを選択
したと仮定する。
When creating a document, a display screen as shown in FIG. 2 appears on the display device CRT of this device. When a Hiragana reading string is entered on the text screen, it is converted into a character string containing Kanji characters at any time, but the new JIS Kanji character is used as the default font for the Kanji characters used there. If the operator created the document in the old JIS
If the user wants to use the Chinese character, the character conversion mode key opens a character conversion mode window as shown in FIG. 3, and the character of the converted Chinese character is selected to the old JIS font.
In the following description, it is assumed that the old JIS body mode is selected.

【0049】図10は、ここで述べた字体変換モードの
設定が終り、文書作成画面にて文書を作成中、操作者が
単漢字変換機能によって平仮名読み列を漢字に変換した
い状況において(図4)、入力された読みに対して(図
4(a))変換装置が単漢読み辞書を検索することによ
って、その読みを持ったいくつかの漢字の候補を旧JI
S体で提示し(図4(b))、操作者が自分の意図する
漢字を選択することによってその漢字をテキスト文書に
出力する(図4(c))処理について示したフローチャ
ートである。
FIG. 10 shows a situation in which the operator wants to convert the hiragana reading string into kanji by the single kanji conversion function while the document is being created on the document creation screen after the setting of the font conversion mode described above is completed (FIG. 4). ), The conversion device searches the single-kanji reading dictionary for the input reading (Fig. 4 (a)), and several kanji candidates with that reading are found in the old JI.
6 is a flowchart showing a process of presenting in S form (FIG. 4B) and outputting the Chinese character to a text document by the operator selecting the Chinese character intended by the operator (FIG. 4C).

【0050】まず、ステップS10−1では、単漢読み
キーを押して図4(a)のような単漢読み入力ウィンド
ウを開き、漢字に変換したいものの読みを入力する処理
を行う(図4(a))。ここでは例えば「あえ」と入力
したとする。
First, in step S10-1, the single-kanji reading key is pressed to open a single-kanji reading input window as shown in FIG. 4 (a), and a process for inputting the reading of the character to be converted into kanji is performed (FIG. 4 (a)). )). Here, it is assumed that "Ae" is input.

【0051】ステップS10−2では、入力された読み
「あえ」から、単漢読み辞書の索引領域を検索し、単漢
読み辞書読み部、及び単漢読み辞書漢字部における該当
箇所へのポインタを得る。5図からも分かるように単漢
読み辞書索引領域には、読みの先頭1文字ごとに、その
読みで始まる単漢字の読み列群の先頭のアドレス、及び
その読みで始まる単漢字群の先頭アドレスが、順に格納
されている。
In step S10-2, the index area of the single-kanji reading dictionary is searched from the input reading "Ae", and a pointer to the corresponding part in the single-kanji reading dictionary reading part and the single-kanji reading dictionary kanji part is set. obtain. As can be seen from FIG. 5, in the single-kanji reading dictionary index area, for each first character of the reading, the start address of the reading sequence group of the single kanji starting with that reading and the starting address of the single kanji group starting with that reading Are stored in order.

【0052】ステップS10−3では、単漢読み辞書読
み部を検索する。前ステップSで得られた単漢字の読み
列群の先頭から順に読み列をサーチし、入力された読み
列「あえ」と一致するものを求める。
In step S10-3, the single-kanji reading dictionary reading section is searched. The reading sequence is searched in order from the beginning of the single-kanji reading sequence group obtained in the previous step S, and the one that matches the input reading sequence "Ae" is obtained.

【0053】ステップS10−4では、単漢読み辞書漢
字部を検索する。前ステップSから、1つの読みで始ま
る読み列群の中で、当該入力読みが何番目の読み列であ
るかを求めることができるので、ステップS10−2で
得られた単漢読み辞書漢字部における該当箇所の先頭か
ら、その数だけポインタを先へ進めたところが、入力さ
れた読み「あえ」を持つ単漢字群の先頭アドレスであ
る。それらの単漢字1つ1つに対して、次のステップS
の処理を行う。
In step S10-4, the kanji part of the single-kanji reading dictionary is searched. From the previous step S, it is possible to find out what reading string the input reading is in the reading string group starting with one reading. Therefore, the single-kanji reading dictionary kanji part obtained in step S10-2. The position where the pointer is advanced by that number from the beginning of the relevant part in is the beginning address of the single kanji group having the input reading "Ae". For each of those single kanji, the next step S
Process.

【0054】ステップS10−5では、1つの単漢字に
ついて、その漢字が持つ新旧JIS判別フラグの値をチ
ェックする。8図からも分かるように、新旧JIS判別
フラグは漢字情報の末尾1バイトで示され、その意味す
るところは9図で示す通りである。
In step S10-5, for one single Chinese character, the value of the old and new JIS discrimination flag of the Chinese character is checked. As can be seen from FIG. 8, the old and new JIS discrimination flag is indicated by the last 1 byte of the kanji information, and its meaning is as shown in FIG.

【0055】新旧JIS判別フラグが、新旧JISとも
に有効であるか、または旧JISのみ有効であれば、そ
の漢字を単漢字変換用ウィンドウに表示する。(ステッ
プS10−6)新旧JIS判別フラグがそれ以外の値を
示すときには、その漢字は表示しない。この処理を、前
記単漢字群の中に漢字がなくなるまで行う。このように
して、入力された読みを持つ旧JIS体の漢字が変換候
補として図4(b)のように表示される。
If the old and new JIS discrimination flags are valid for both the old and new JIS, or if only the old JIS is valid, the kanji is displayed in the single kanji conversion window. (Step S10-6) When the old and new JIS discrimination flags indicate other values, the kanji is not displayed. This process is repeated until there are no kanji in the single kanji group. In this way, the old JIS type Chinese characters having the input pronunciation are displayed as conversion candidates as shown in FIG. 4B.

【0056】ステップS10−7からステップS10−
10では、操作者はこの候補の中から意図するものを選
び出し、カーソルをその漢字のところへ移動して選択キ
ーを押すと、その漢字が図4(c)のようにテキスト中
に出力される。
Steps S10-7 to S10-
In 10, when the operator selects an intended one from these candidates, moves the cursor to the Chinese character and presses the select key, the Chinese character is output in the text as shown in FIG. 4 (c). ..

【0057】[他の実施例]以上の実施例の説明におい
ては、単漢字変換を読みを入力することにより行う場合
について、変換される漢字の字体を新JIS、旧JIS
のいずれかに切り換えられることを示した。
[Other Embodiments] In the above description of the embodiments, in the case where the single-kanji conversion is performed by inputting the reading, the font of the converted kanji is changed to the new JIS or the old JIS.
It has been shown that it can be switched to either of.

【0058】同様にして、単漢字変換を部首を指定する
ことにより行う場合についても、変換される漢字の字体
を切り換えることが可能である。
Similarly, in the case of performing single-kanji conversion by designating the radical, it is possible to switch the font of the converted kanji.

【0059】この場合に参照される辞書は単漢部首辞書
SKBDICであり、その索引領域の構成は、図5から
図11のように変更になる。また、SKBDICでは漢
字の構成が図8の代りに図13のようになり、送り仮名
情報の中にではなく、付加情報として新旧JISフラグ
を持つようにする。
The dictionary referred to in this case is the single-kanji radical dictionary SKBDIC, and the structure of its index area is changed from FIG. 5 to FIG. In SKBDIC, the kanji structure is changed to that shown in FIG. 13 instead of that shown in FIG. 8, and the old and new JIS flags are provided as additional information instead of in the sending kana information.

【0060】単漢字変換のもう1つ別のアプローチとし
て、画数を指定する方法があるが、この場合においても
単漢画数辞書の構成を上と同じように変更することで、
漢字の字体を新JIS、旧JISのいずれにも切り換え
ることが可能である。
Another approach to single-kanji conversion is to specify the number of strokes. Even in this case, by changing the configuration of the single-kanji stroke number dictionary in the same manner as above,
It is possible to switch the font of Kanji to either the new JIS or the old JIS.

【0061】更に、入力された読みに対して、単漢字レ
ベルの変換ではなく、2文字以上から構成される漢字仮
名まじり表記への変換においても、同様の字体切り換え
が実現できる。この変換において参照される辞書は仮名
漢字変換辞書KKDICであり、1つの単語の構成は図
14のようになっている。単語の見出しとしてその単語
の読みがあり、その後ろに読みに対する変換候補である
漢字仮名まじり表記が複数個続くが、それぞれの変換候
補の後に単漢読み辞書と同様の新旧JIS判別フラグを
設けることで、その変換候補を構成する漢字が新JIS
体、あるいは旧JIS体のいずれの字体に属するもので
あるかを知ることができ、単漢字変換の実施例の場合と
同様にしてあらかじめ登録された変換字体と照らし合わ
せることで、どちらかの字体の漢字で構成された変換候
補のみを提示することができ、操作者はその中から文脈
に合った候補を選択することにより、仮名漢字変換を行
うことができる。
Further, similar character style switching can be realized not only in conversion of the level of a single kanji character but also in conversion into a kanji kana magical notation composed of two or more characters for the input reading. The dictionary referred to in this conversion is the Kana-Kanji conversion dictionary KKDIC, and the structure of one word is as shown in FIG. There is a reading of the word as the heading of the word, and a plurality of kanji kana magical notations that are conversion candidates for the reading follow after that, but after each conversion candidate, a new and old JIS discrimination flag similar to the single-kanji reading dictionary should be provided. Then, the kanji that make up the conversion candidates are the new JIS
It is possible to know which of the fonts of the body or the old JIS font belongs to, and by comparing with the previously registered converted font in the same manner as in the case of the single-kanji conversion embodiment, one of the fonts is registered. It is possible to present only conversion candidates composed of Kanji characters, and the operator can perform Kana-Kanji conversion by selecting a candidate that matches the context from among them.

【0062】また、本発明は、単体の装置に限らず、複
数の装置からなるシステムにも適用可能であり、更に、
装置またはシステムに、ソフトウェアを提供することに
よっても、実現可能であることは、言うまでもない。
The present invention is applicable not only to a single device but also to a system composed of a plurality of devices.
It goes without saying that it can be realized by providing software to the device or system.

【0063】[0063]

【発明の効果】以上説明したように、本発明によれば、
平仮名読み列を漢字仮名まじりの所定文字列に変換する
ための辞書と、入力された平仮名読み列をこの辞書によ
り漢字仮名まじりの所定文字列に変換する変換手段とを
有する文字処理装置において、変換後の文字列に含まれ
る漢字の字体を、操作者が文書作成前に新JIS体、旧
JIS体のいずれかから任意のものを選択すると、記憶
手段がその被選択字体を記憶しておき、文書作成時にお
いて、操作者から入力された平仮名読み列を漢字を含む
文字列に変換する際に、辞書中に記憶された単語(変換
候補)毎に設けられた新旧JIS判別フラグによる字体
情報と、前記被選択字体とを照らし合わせることによ
り、被選択字体に合致した漢字表記を見出し、変換候補
の中からその漢字を含む文字列のみを出力することで、
操作者の意図に合わせて、新JIS体漢字による文書、
旧JIS体漢字による文書のどちらでも、1個の文書処
理装置において作成することができる。
As described above, according to the present invention,
A character processing device having a dictionary for converting a hiragana reading string into a predetermined character string kanji kana and a conversion means for converting an input hiragana reading string into a predetermined character string kanji kana kanji by this dictionary. When the operator selects any of the new JIS fonts or the old JIS fonts for the kanji characters included in the subsequent character string before creating the document, the storage means stores the selected font character, When converting a hiragana reading string input by the operator into a character string containing kanji when creating a document, font information based on the old and new JIS discrimination flags provided for each word (conversion candidate) stored in the dictionary and By comparing the selected character with the selected character, the kanji notation matching the selected character is found, and by outputting only the character string containing the kanji from the conversion candidates,
Documents in new JIS Kanji characters according to the operator's intention,
It is possible to create either of the documents in the old JIS type kanji using a single document processing device.

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

【図1】本発明の全体構成のブロック図である。FIG. 1 is a block diagram of the overall configuration of the present invention.

【図2】実施例の装置の画面構成を示した図である。FIG. 2 is a diagram showing a screen configuration of the apparatus of the embodiment.

【図3】字体変換モード設定画面を示した図である。FIG. 3 is a diagram showing a character style conversion mode setting screen.

【図4】変換文字候補を表示して、候補を選択する方法
の例を示した図である。
FIG. 4 is a diagram showing an example of a method of displaying conversion character candidates and selecting a candidate.

【図5】単漢読み辞書の索引領域の構成を示した図であ
る。
FIG. 5 is a diagram showing a configuration of an index area of a single-kanji reading dictionary.

【図6】単漢読み辞書の読み部領域の構成を示した図で
ある。
FIG. 6 is a diagram showing a configuration of a reading section area of a single-kanji reading dictionary.

【図7】単漢読み辞書の漢字部領域の構成を示した図で
ある。
FIG. 7 is a diagram showing a configuration of a kanji part area of a single-kanji reading dictionary.

【図8】単漢読み辞書の漢字の構成を示した図である。FIG. 8 is a diagram showing a configuration of kanji in a single-kanji reading dictionary.

【図9】単漢読み辞書の新旧JIS判別フラグの構成を
示した図である。
FIG. 9 is a diagram showing a configuration of old and new JIS discrimination flags of a single-kanji reading dictionary.

【図10】実施例の文字処理装置の動作を示すフローチ
ャート、
FIG. 10 is a flowchart showing the operation of the character processing device according to the embodiment.

【図11】単漢部首辞書の索引領域の構成を示した図で
ある。
FIG. 11 is a diagram showing a configuration of an index area of a simple Chinese radical dictionary.

【図12】他の実施例における、単漢部首辞書の漢字部
領域の構成を示した図である。
FIG. 12 is a diagram showing a configuration of a Chinese character portion region of a single Chinese radical dictionary in another embodiment.

【図13】他の実施例における、単漢部首辞書の漢字の
構成を示した図である。
FIG. 13 is a diagram showing the configuration of Chinese characters in a single Chinese radical dictionary in another embodiment.

【図14】他の実施例における、仮名漢字変換辞書の1
単語の構成を示した図である。
FIG. 14 is a kana-kanji conversion dictionary 1 according to another embodiment.
It is a figure showing composition of a word.

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

DISK 外部記憶装置 CPU マイクロプロッセサ ROM 読み出し専用メモリ RAM ランダムアクセスメモリ KBBUF キーボードバッファ TEXT テキストバッファ YOMIBUF 読み入力バッファ KOUHOBUF 候補出力バッファ SKYDIC 単漢読み辞書 DISK External storage device CPU Microprocessor ROM Read only memory RAM Random access memory KBBUF Keyboard buffer TEXT text buffer YOMIBUF Read input buffer KOUHOBUF Candidate output buffer SKYDIC Single kanji reading dictionary

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力された平仮名読み列を、この読みに
対応する漢字混じり文字列に変換する文字処理装置にお
いて、 仮名見出しと、この見出しに対応する変換候補文字列を
記憶する辞書に、当該文字列中の各文字について、漢字
の字体情報を合わせて記憶させておき、 作成文書内で使用する漢字の字体を設定し、 入力された平仮名読み列を、前記辞書により、漢字混じ
り文字列に変換する際に、 変換時に各変換候補文字列の文字の字体と、前記設定さ
れた字体とを比較し、 前記変換候補の内、前記比較により前記設定に適した字
体からなる候補だけを提示するように制御可能であるこ
とを特徴とする文字入力処理方法。
1. A character processing device for converting an input hiragana reading string into a kanji-blended character string corresponding to this reading, in a dictionary storing a kana heading and a conversion candidate character string corresponding to this heading. For each character in the character string, store the kanji character information as well, set the kanji character style used in the created document, and convert the input hiragana reading string into a kanji mixed character string using the dictionary. At the time of conversion, at the time of conversion, the character font of each conversion candidate character string is compared with the set font, and among the conversion candidates, only candidates consisting of fonts suitable for the setting are presented by the comparison. A character input processing method characterized in that it can be controlled as follows.
JP3295652A 1991-11-12 1991-11-12 Character input processing method Pending JPH05135007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3295652A JPH05135007A (en) 1991-11-12 1991-11-12 Character input processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3295652A JPH05135007A (en) 1991-11-12 1991-11-12 Character input processing method

Publications (1)

Publication Number Publication Date
JPH05135007A true JPH05135007A (en) 1993-06-01

Family

ID=17823421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3295652A Pending JPH05135007A (en) 1991-11-12 1991-11-12 Character input processing method

Country Status (1)

Country Link
JP (1) JPH05135007A (en)

Similar Documents

Publication Publication Date Title
JPH05135007A (en) Character input processing method
JPS61166676A (en) Dictionary production system for character processor
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JPS59140541A (en) Character processing device
JPS605318A (en) Input device of sentence composed of kana and kanji
JP2786260B2 (en) Kana-Kanji conversion device
JPH08297664A (en) Character string processor
JPS61279973A (en) Japanese processor
JP2593433B2 (en) Character processor
JPH0432957A (en) Character processor
JPS61196359A (en) Character processing device
JPH0816908B2 (en) Character processing device and character processing method
JPH04332073A (en) Method and device for processing character
JPH10187700A (en) Document processor
JPH08212212A (en) Documentation device and candidate output control method
JPH01200470A (en) Character processor
JPH08202703A (en) Character processor and kana/kanji conversion method for the same
JPS63257862A (en) Character processor
JPH0447451A (en) Character processor
JPH027161A (en) Character processor
JPH0394367A (en) Japanese input system
JPS58155440A (en) Japanese language processing device
JPH04332074A (en) Method and device for processing character
JPH04191967A (en) Character processor
JPH04357550A (en) Character string registeration and learning system