JPS61249167A - Kana-kanji converting system - Google Patents

Kana-kanji converting system

Info

Publication number
JPS61249167A
JPS61249167A JP60090137A JP9013785A JPS61249167A JP S61249167 A JPS61249167 A JP S61249167A JP 60090137 A JP60090137 A JP 60090137A JP 9013785 A JP9013785 A JP 9013785A JP S61249167 A JPS61249167 A JP S61249167A
Authority
JP
Japan
Prior art keywords
character
kana
kanji
characters
input
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
JP60090137A
Other languages
Japanese (ja)
Inventor
Shigeo Kurakake
重雄 倉掛
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60090137A priority Critical patent/JPS61249167A/en
Publication of JPS61249167A publication Critical patent/JPS61249167A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To set the KANA (Japanese syllabary) character, which is the converting object, to the narrow scope when equivalent KANJI (Chinese character) are not obtained by retrieving the stem of the word by starting the candidate Chinese character retrieving mechanism with the KANA character changed by the KANA KANJI number changing means as the converting object. CONSTITUTION:When a KANJI-mixed sentence is KANA-inputted by the operation of a keyboard 11, it is successively stored into an input buffer 19, displayed on a displaying part 12 and the number of the input characters is stored in a RAM 21 for the work. When a converting/next candidate key fa is operated, maximum five characters are read from the head of the KANA character string stored in the input buffer 19, and the converting object character data are decreased. Based upon the character string, a KANJI converting dictionary 20 is indexed, the character of the stem of the work exists, and then, out of the input character string inverted and displayed at the displaying part 12, to the object character of the stem of the word, the underline is given. When the character of the stem of the word is not detected, next, the stem of the word is retrieved again by the input character to decrease one character. When it is detected that the converting object character number is '0', the character is written in a document memory 17 as the fact that the equivalent Chinese character is not found at the inputted KANA character.

Description

【発明の詳細な説明】 [発明め技術分野] 本発明は、単漢字変換辞書を用い、最長一致法により仮
名入力文を漢字に変換する仮名漢字変換方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a kana-kanji conversion method that uses a single-kanji conversion dictionary to convert an input kana sentence into kanji using the longest match method.

[従来技術とその問題点] 従来、単漢字変換辞書を用い、最長一致法により仮名入
力文を漢字に変換する仮名漢字変換方式の文書入力I’
llに於いては、予め設定された最長文字単位数、例え
ば5文字を最長単位として、候補漢字が検索されるまで
、変換対象となる仮名文字列を1文字車位で順次短くし
てゆき、その都度候補漢字を検索する構成であり、候補
漢字を検索すると、該当する仮名文字の表示を消去して
そこに一候補漢字を表示している。 。
[Prior art and its problems] Conventionally, document input I' uses a kana-kanji conversion method that uses a single kanji conversion dictionary to convert kana input sentences into kanji using the longest match method.
In ll, the kana character string to be converted is successively shortened by one character until a candidate kanji is found, using a preset maximum character unit, for example, 5 characters. It is configured to search for candidate kanji each time, and when a candidate kanji is searched, the display of the corresponding kana character is erased and one candidate kanji is displayed in its place. .

このようなことから、変一対象文字によっては、目的と
する漢字を得るまでに多くの時間並びに労力を要すると
いう欠点があった。       ′即ち、最長一致法
にて例えば仮名文字列「ごくろうざまでした。」を「御
苦労さまでした。′」と仮名漢字変換したい場合を例に
とると、変換過程において「ごくろうざまでした。」が
[極、ろうざまでした。」と表示される。この際は次候
補キーを操作して「ごく」の他の候補漢字を順次表示せ
しめ、最慢に「ごく」の仮名表示に戻ったところで、カ
ーソルキー操作によりカーソルを移動し、変換対象文字
「ご」を指定して、変換キー操作により漢字変換の指定
を行ない、次候補キーの操作によって該当候補漢字から
所望の「後」を選択する。
For this reason, depending on the character to be changed, it takes a lot of time and effort to obtain the desired kanji. ′ In other words, if you want to use the longest match method to convert the kana character string ``Gokurouza de shita.'' to ``Thank you for your hard work.'' ” was extremely deafening. " is displayed. In this case, use the next candidate key to display the other candidate kanji for "Goku" in sequence, and when the kana display for "Goku" is finally displayed, use the cursor keys to move the cursor and select the character to be converted. ``Go'' is specified, kanji conversion is specified by operating the conversion key, and the desired ``ago'' is selected from the corresponding candidate kanji by operating the next candidate key.

このように、従来の最長一致法による仮名漢字変換手段
に於いては、読みの文字数を減らしたい場合に、複雑な
操作を必要としていた。
As described above, the conventional kana-kanji conversion means using the longest match method requires complicated operations when it is desired to reduce the number of characters in the reading.

[発明の目的] 本発明は、単漢字変換辞書を用い最長一致法により仮名
漢字変換を行なう装置に於いて、漢字選択操作を簡易化
し、所望漢字を容易かつ迅速に得ることのできる仮名漢
字変換方式を提供することを目的とする。
[Object of the Invention] The present invention provides a kana-kanji conversion device that simplifies the kanji selection operation and easily and quickly obtains a desired kanji in a device that performs kana-kanji conversion by the longest match method using a single kanji conversion dictionary. The purpose is to provide a method.

[発明の要点] 本発明は、単漢字変換辞書を用い、最長一致法により仮
名入力文を漢字に変換する仮名漢字変換方式に於いて、
検索対象となる仮名文字数を変更する仮名文字数変更手
段と、同仮名文字数変更手段で変更された仮名文字を変
換対象として候補漢字検索機構に起動をかける手段とを
有して、最長一致法により該当漢字が得られない際に、
その変換対象となる仮名文字を任意に狭い範囲に設定す
ることのできる構成としたもので、これにより漢字選択
操作を簡易化して所望漢字を容易かつ迅速に得ることが
でき、漢字混じり文の入力、編集作業を能率良く迅速に
行なうことができる。
[Summary of the Invention] The present invention provides a kana-kanji conversion method that uses a single kanji conversion dictionary and converts a kana input sentence into kanji using the longest match method.
It has a kana character number changing means for changing the number of kana characters to be searched, and a means for activating a candidate kanji search mechanism to convert the kana characters changed by the same kana character number changing means, and searches for matching characters using the longest match method. When you can't find kanji,
The system is configured so that the kana characters to be converted can be arbitrarily set within a narrow range.This simplifies the kanji selection operation and allows the desired kanji to be obtained easily and quickly. , editing work can be done efficiently and quickly.

[実施例] 第1図は本発明による一実施例の構成を示すブロック図
である。
[Embodiment] FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention.

第1図において、11はキーボードであり、仮名人力の
ための文字キー、更には各種のファンクションキーが設
けられるもので、faは仮名漢字変換指定時及び次候補
選択時に操作されるファンクションキー(以下変換/次
候補キーと称す)、fbは仮名人力の指定時に操作され
るファンクションキー(以下無変換キーと称す) 、c
l、 crは左方向、右方向の各カーソルキーである。
In Fig. 1, numeral 11 is a keyboard, which is equipped with character keys for kana and kanji conversion as well as various function keys. (hereinafter referred to as the conversion/next candidate key), fb is the function key operated when specifying kana power (hereinafter referred to as the non-conversion key), c
l and cr are left and right cursor keys.

12は入力文書を表示する表示部であり、ここでは2行
表示のLCDで構成され、仮名漢字変換に於いては、第
1行に仮名漢字変換後の文字と、変換中の入力文字(仮
名文字)と、変換前の入力文字(仮名文字)とが表示さ
れ、第2行に候補漢字が表示される。この際、同実施例
に於いては、変換中の入力文字(仮名文字)をアンダー
ラインで表示し、変換前の入力文字(仮名文字)を反転
表示するものとする。13は同表示部12を制御する表
示制御部である。14は文書を印刷する印字部、15は
同印字部14を制御する印字制御部である。
Reference numeral 12 denotes a display unit that displays the input document, and here it is composed of a two-line LCD. During kana-kanji conversion, the first line displays the characters after kana-kanji conversion and the input characters (kana and kanji) that are being converted. characters) and the input characters (kana characters) before conversion are displayed, and candidate kanji characters are displayed on the second line. At this time, in this embodiment, the input characters (kana characters) being converted are displayed underlined, and the input characters (kana characters) before conversion are displayed in reverse. 13 is a display control section that controls the display section 12. 14 is a printing unit that prints a document, and 15 is a printing control unit that controls the printing unit 14.

16は装置全体の制御、並びに後述する複写印刷処理を
含む各種の文書処理を行なうCPUであり、上記キーボ
ード11からのキー人力情報を受けて文書の編集・校正
・入出力等の処理を実行するもので、上記変換/次候補
キーfaの操作入力に伴う仮名漢字変換モード時に於い
ては、後述するROM内の仮名漢字変換処理プログラム
に従い第2図に示すような仮名漢字変換処理を実行する
Reference numeral 16 denotes a CPU that controls the entire device and performs various document processing including copy printing processing, which will be described later.The CPU 16 receives key human power information from the keyboard 11 and executes processing such as document editing, proofreading, input/output, etc. In the kana-kanji conversion mode associated with the operation input of the conversion/next candidate key fa, the kana-kanji conversion process as shown in FIG. 2 is executed according to the kana-kanji conversion process program in the ROM, which will be described later.

17乃至21はそれぞれCP Ll 1Bのメモリバス
につながる記憶部であり、それぞれCP U i6によ
りアクセス制御されるもので、17は文書情報を貯える
文書メモリ、18はキャラクタジェネレータ、仮名漢字
変換を含む各種制御プログラム等が格納されたROMで
ある。19は入力された文字列を貯える入力バッファで
あり、20は漢字の読みと、その読みに対応する候補漢
字のコードをそれぞれ一定のフォーマットに従い対応付
けて記憶してなる単漢字変換辞書ROM (以下漢字変
換辞書と称す)である。又、21はCP U 1Bの作
業用RAMであり、仮名漢字変換処理に関しては、入力
バッファ19に入力されている文字数を貯える入力文字
数レジスタINCHR,変換対象となる文字数(ここで
は、最大文字数−5)を貯える変換対象文字数レジスタ
HENCHR,単漢字変換辞書ROM20内の選択対象
漢字文字コードを指定のための漢字アドレスを貯える漢
字アドレスレジスタKANADR。
Reference numerals 17 to 21 are storage units connected to the memory bus of the CP Ll 1B, and access is controlled by the CPU i6, respectively. Reference numeral 17 is a document memory for storing document information, and 18 is a character generator and various types of storage units including kana-kanji conversion. This is a ROM that stores control programs and the like. Reference numeral 19 is an input buffer for storing input character strings, and reference numeral 20 is a single kanji conversion dictionary ROM (hereinafter referred to as "kanji conversion dictionary ROM") which stores the readings of kanji and the codes of candidate kanji corresponding to the readings, each associated with each other according to a certain format. It is called the Kanji Conversion Dictionary). Further, 21 is a working RAM of the CPU 1B, and for the kana-kanji conversion process, there is an input character count register INCHR that stores the number of characters input to the input buffer 19, and a number of characters to be converted (in this case, the maximum number of characters - 5). ), a conversion target character count register HENCHR, and a kanji address register KANADR that stores a kanji address for specifying a selection target kanji character code in the single kanji conversion dictionary ROM 20.

文書メモリ17内の入力文(テキスト)格納先頭アドレ
スを貯える文書メモリアドレスレジスタTXADR1変
換/次候補キーfaの操作回数を示すフラグレジスタF
、文書メモリ17へ格納すべき文字コードを貯える文字
コードレジスタC0DE、候補漢字の各文字コードを貯
える候補漢字コードレジスタに1.に2.・・・、KI
O等が用意される。
Document memory address register TXADR1 that stores the storage start address of an input sentence (text) in the document memory 17; Flag register F that indicates the number of times the conversion/next candidate key fa is operated;
, a character code register C0DE that stores character codes to be stored in the document memory 17, and a candidate kanji code register that stores each character code of candidate kanji. 2. ..., KI
O etc. are prepared.

第2図は、上記実施例に於ける仮名漢字変換処理フロー
を示すフローチャートである。
FIG. 2 is a flowchart showing the flow of the kana-kanji conversion process in the above embodiment.

以下、第1図及び第2図を参照して一実施例の作用を説
明する。
The operation of one embodiment will be described below with reference to FIGS. 1 and 2.

キーボード11の文字キー操作により漢字混じり文が仮
名人力されると、c p LJ 1Bの制御の下に、そ
の入力された仮名文字が順次、入力バッファ19に貯え
られ、表示部12上に表示されるとともに、その入力文
字数が作業用RAM21内の入力文字数レジスタINC
HRに貯えられる。
When a sentence containing kanji is entered in kana by operating the character keys on the keyboard 11, the input kana characters are stored in the input buffer 19 in order and displayed on the display section 12 under the control of the cp LJ 1B. At the same time, the number of input characters is stored in the input character number register INC in the work RAM 21.
Stored in HR.

仮名漢字変換時に於いては、キーボード11の文字キー
人力により変換対象となる仮名文字列を入力した後、変
換/次候補キーfaを操作する。これにより、CP L
l 16の制御の下に第2図に示すような仮名漢字変換
処理が開始されるもので、以下にその具体例を説明する
When converting kana to kanji, the user manually inputs a kana character string to be converted using the character keys on the keyboard 11, and then operates the conversion/next candidate key fa. This allows C.P.L.
The kana-kanji conversion process as shown in FIG. 2 is started under the control of 16, and a specific example thereof will be explained below.

先ず、キーボード11に設けられた変換/次候補キーf
aを操作することにより、第2図ステップA1に於いて
、作業用RAM21内のフラグレジスタFに貯えられた
操作回数データをもとに、変換/次候補キーfaの操作
回数が判断され、変換対象となる仮名文字列入力後の初
回の変換/次候補キーfaの操作である際(F−rOJ
である際)゛は、ステップA2に於いて、上記入力文字
数レジス3INCHRに貯えられた文字数データをもと
に、入力バッファ19に貯えられている入力文字数が「
0」があるか否かが判断される。ここで、入力バッファ
19に貯えられている入力文字数がrOJである際は、
ステップA20に於いてフラグレジスタFの内容がクリ
ア(0→F)される。又、上記ステップA2に於いて、
入力バッフ?19に貯えられている入力文字数が「0」
でなければ、ステップA3に於いて、入力バッファ19
に貯えられた仮名文字列の先頭から最大5文字が読出さ
れ、ステップA4に於いて、その読出した文字に相当す
る数だけ変換対象文字数レジスタHENCHRに貯えら
れた変換対象文字数データが減じられる。
First, the conversion/next candidate key f provided on the keyboard 11
By operating a, the number of operations of the conversion/next candidate key fa is determined in step A1 of FIG. 2 based on the operation number data stored in the flag register F in the working RAM 21, and the conversion is performed. When operating the first conversion/next candidate key fa after inputting the target kana character string (F-rOJ
In step A2, the number of input characters stored in the input buffer 19 is determined based on the character number data stored in the input character number register 3INCHR.
0" is present. Here, when the number of input characters stored in the input buffer 19 is rOJ,
In step A20, the contents of flag register F are cleared (0→F). Also, in step A2 above,
Input buffer? The number of input characters stored in 19 is "0"
Otherwise, in step A3, the input buffer 19
A maximum of five characters from the beginning of the kana character string stored in are read out, and in step A4, the conversion target character count data stored in the conversion target character count register HENCHR is subtracted by the number corresponding to the read characters.

更にステップA5に於いて、上記人力バッファ19より
読出した文字列(最初は5文字)をもとに漢字変換辞書
20が索引され、ステップ八〇に於いて、その語幹の有
無が判断される。
Furthermore, in step A5, the kanji conversion dictionary 20 is indexed based on the character string (initially 5 characters) read from the human buffer 19, and in step 80, it is determined whether or not the word stem exists.

ここで、語幹文字が存在すれば、ステップAIに於いて
、表示部12に反転表示されている入力文字列のうち、
上記語幹の対象文字にアンダーラインが付され、これに
続く入力文字列が反転表示状態となる。
Here, if a word stem character exists, in step AI, among the input character strings highlighted on the display section 12,
The target character of the word stem is underlined, and the input character string following it is displayed in reverse video.

更に、ステップ八8に於いて、上記語幹の候補漢字群の
先頭アドレスが漢字アドレスレジスタKANADRに貯
えられ、ステップA9に於いて、フラグレジスタFの内
容が更新され「0」から「1」に書替えられる。
Furthermore, in step 88, the start address of the candidate kanji group for the stem is stored in the kanji address register KANADR, and in step A9, the contents of flag register F are updated and rewritten from "0" to "1". It will be done.

更に、ステップA1Dに於いて、上記検索された語幹に
対応する各候補漢字コード(ここでは最大10文字)が
候補漢字コードレジスタKl、に2.・・・。
Furthermore, in step A1D, each candidate kanji code (maximum 10 characters here) corresponding to the searched word stem is stored in the candidate kanji code register Kl, 2. ....

K10に貯えられ、ステップA11に於いて、上記候補
漢字フードレジスタに1.に2.・・・、KIOに貯え
られた漢字コードそれぞれの漢字が表示部12(第2行
)に表示される。
K10, and in step A11, 1. is stored in the candidate kanji food register. 2. ..., the kanji for each kanji code stored in the KIO is displayed on the display section 12 (second line).

又、上記候補漢字が10(I11以上有る際は、変換/
次候補キーfaを再度操作することにより、次の候補漢
字が表示部12に表示される。即ち、変換/次候補キー
faが再度操作(2回目の操作)されると、ステップA
1に於いて、作業用RAM21内のフラグレジスタFに
貯えられた操作回数データ(rF−IJ )から、変換
/次候補キーfaの2回目の操作入力の判別がなされ、
ステップA19に於いて、漢字アドレスレジスタKAN
ADRの内容が更新され、ステップAIDに於いて、そ
の更新されたアドレスに従う候補漢字コード(最大10
文字)が候補漢字コードレジスタKl、に2.・・・、
 KIOに貯えられ、更にステップA11に於いて、上
記候補漢字コードレジスタKl、に2.・・・、KIJ
)に貯えられた漢字コードそれぞれの漢字が表示部12
(第2行)に表示される。
Also, if there are 10 or more candidate kanji (I11 or more), convert /
By operating the next candidate key fa again, the next candidate kanji is displayed on the display section 12. That is, when the conversion/next candidate key fa is operated again (second operation), step A
1, the second operation input of the conversion/next candidate key fa is determined from the operation number data (rF-IJ) stored in the flag register F in the work RAM 21,
In step A19, the kanji address register KAN
The content of ADR is updated, and in step AID, candidate kanji codes (up to 10
2.) is placed in the candidate kanji code register Kl. ...,
KIO, and further, in step A11, 2. is stored in the candidate kanji code register Kl. ..., KIJ
) The kanji for each kanji code stored in the display section 12
(2nd line).

又、上記ステップA6に於いて、語幹文字が検出されな
い際は、次に1文字減じた入力文字にて再度語幹検索が
行われる。即ち、上記ステップA6に於いて、語幹文字
が検出されない際は、ステップA12に於いて、変換対
象文字数レジスタHENCHRの内容が「−1」され、
ステップA13に於いて、その変換対象文字数が「0」
になったか否かが判断され、「0」でなければステップ
A5以降の処理が繰返し実行されて、上′記変換対象文
字数レジスタHENCHRで示される、前回より1文字
減じた入力文字数にて語幹検索が行われる。即ち、例え
ば最初の5文字(先頭から5文字)で語幹が検出されな
い場合は次に4文字(先頭から4文字)にて語幹検索が
行われる。
Further, in step A6, if the word stem character is not detected, the word stem search is performed again using the next input character with one less character. That is, when the stem character is not detected in step A6, the contents of the conversion target character count register HENCHR are set to "-1" in step A12, and
In step A13, the number of characters to be converted is "0"
If it is not "0", the processing from step A5 onwards is repeatedly executed, and the stem search is performed using the number of input characters, which is one character less than the previous time, as indicated by the number of characters to be converted register HENCHR. will be held. That is, for example, if a word stem is not detected in the first five characters (five characters from the beginning), a word stem search is performed using the next four characters (four characters from the beginning).

又、上記ステップA13に於いて、変換対象文字数が「
0」になったことが検出されると、入力された仮名文字
に対する該当漢字が無かったものと判断し、ステップA
14に於いて、変換対象としていた仮名文字を文字コー
ドレジスタC0DHにラッチし、ステップA15に於い
て、上記文字コードレジスタC0DEに貯えられた仮名
文字コードが文書メモリ17内の文書メモリアドレスレ
ジスタTXADRで示される記憶番地に書込まれる。
Also, in step A13 above, the number of characters to be converted is "
0", it is determined that there is no corresponding kanji for the input kana character, and the process proceeds to step A.
In step A14, the kana character to be converted is latched into the character code register C0DH, and in step A15, the kana character code stored in the character code register C0DE is stored in the document memory address register TXADR in the document memory 17. written to the indicated memory address.

更にステップA1Bに於いて、文書メモリアドレスレジ
スタTXADRの内容が更新(r+1J)され、ステッ
プA17に於いて、入力バッファ19の入力文字列が更
新されて、上記文書メモリ17に貯えられた文字が除か
れ、次の文字を先頭とする文字列状態となる。更にその
後、ステップA1°8に於いて、入力文字数レジスタI
NCHHの値が変換対象文字数レジスタHENCHRの
値だけ減じられ、上記ステップA2の処理に戻る。
Furthermore, in step A1B, the contents of the document memory address register TXADR are updated (r+1J), and in step A17, the input character string of the input buffer 19 is updated, and the characters stored in the document memory 17 are removed. The state becomes a string starting with the next character. Furthermore, in step A1°8, input character number register I
The value of NCHH is decreased by the value of the conversion target character number register HENCHR, and the process returns to step A2.

又、上記候補漢字の表示状態時に於いて、キーボード1
1の数値キー、及び図示しない選択/実行キーにより、
一つの漢字が選−択されると、ステップA41に於いて
、その選択された漢字のコードが文字フードレジスタC
0DEにラッチされ、以後、上記ステップA15以降の
処理が実行されて、上記選択された漢字コードが文書メ
モリ17に貯えられる。
Also, when the above candidate kanji is displayed, keyboard 1
Using the numeric key 1 and the selection/execution key (not shown),
When one kanji is selected, in step A41, the code of the selected kanji is stored in the character food register C.
The selected kanji code is latched to 0DE, and the processes from step A15 onwards are executed, and the selected kanji code is stored in the document memory 17.

又、入力文字が表示されている状態で、キーボード11
の無変換キーfbが操作された際は、ステップA51に
於いて、表示部12の第1行に表示されている先頭の仮
名文字、即ち入力バッファ19に貯えられている入力文
字コード列のうちの先頭の仮名文字コードが文字コード
レジスタC0DEにラッチされ、その後、上記ステップ
A15以降の処理が実行されて、上記選択された漢字ゴ
=ドが文書メモリ17に貯えられる。   □ 上述の如くして、単漢字変換辞9120を用いた最長一
致法による仮名漢字変換処理が順次実行される。この際
、上記最長一致法による仮名漢字変換処理は、5文字を
最長として順次1文字ずつ短くなる各仮名文字列を対象
にそれぞれ語幹文字検索を行なっており、従ってもとも
と読みの短い語幹に対しても5文字を最長として順次1
文字ずつ短くなる各仮名文字列を対象にそれぞれ語幹文
字検索を行なうことから、その途中の仮名文字列に対し
て該当する語幹があると、その語幹に対する候補漢字の
表示及びその表示に従う一連の操作手順を踏まなければ
ならず。従って前述したように操作が非常に面倒となる
。     ゛ そこで、このような読みの短い変換対象となる仮名文字
列に対しては、カーソルキーcr、 clを操作するこ
とにより検索対象となる仮名文字列の長さを任意に変更
することができる。
Also, with the input characters displayed, press the keyboard 11.
When the non-conversion key fb is operated, in step A51, the first kana character displayed on the first line of the display section 12, that is, the input character code string stored in the input buffer 19, is selected. The first kana character code is latched into the character code register C0DE, and then the processes from step A15 onward are executed, and the selected kanji character is stored in the document memory 17. □ As described above, the kana-kanji conversion process using the single-kanji conversion dictionary 9120 using the longest match method is sequentially executed. At this time, in the kana-kanji conversion process using the longest match method described above, a stem character search is performed for each kana character string that is sequentially shortened by one character, with the maximum length being 5 characters. 1 in order with 5 characters as the longest
Since a stem character search is performed for each kana string that gets shorter by letter, if a corresponding stem is found for a kana string in the middle, candidate kanji for that stem will be displayed and a series of operations will follow. steps have to be taken. Therefore, as mentioned above, the operation becomes very troublesome. Therefore, for such kana character strings with short pronunciations to be converted, the length of the kana character strings to be searched can be arbitrarily changed by operating the cursor keys cr and cl.

即ち、成る候補漢字の表示状態時に於いて、変換対象と
なる文字数を現在表示されている候補漢字の対象文字数
よりも更に小ざくしたい場合は、左方向カーソルキーC
Iを操作する。例えば現在表示されている候補漢字の対
象仮名文字数が3文字であり、これを2文字にしたい場
合は、カーソルキーC1を1回操作し、1文字にしたい
場合はカーソルキーC1を2回操作する。
In other words, if you want to make the number of characters to be converted even smaller than the number of characters to be converted when the candidate kanji is displayed, press the left cursor key C.
Operate I. For example, if the currently displayed candidate kanji has 3 target kana characters, and you want to change it to 2 characters, operate cursor key C1 once, and if you want to change it to 1 character, operate cursor key C1 twice. .

この力=ツルキーclの操作により、先ずステップA2
1に於いて、変換対象文字数レジスタHENCHRの内
容が最少文字数即ち「1」より大きいか否かが判断dれ
る。ここで、変換対象文字数レジスタHENCHRの内
容が「1」より大きいことが判断されると、ステップA
22に於いて、変換対象文字数レジスタHENCHRの
値が「−1」された後、上述したステップA5以降の処
理に入り、上記変換対象文字数レジスタ)−IENCH
Rの値に従う文字数の仮名文字列(又は仮名文字)を変
換対象に上述したような辞書検索が行われる。
This force=by operating the crane key cl, first step A2
At step 1, it is determined whether the contents of the conversion target character number register HENCHR are greater than the minimum number of characters, ie, "1". Here, if it is determined that the content of the conversion target character count register HENCHR is greater than "1", step A
In step 22, after the value of the conversion target character count register HENCHR is set to "-1", the process starts from step A5 described above, and the conversion target character count register)-IENCH is entered.
The above-mentioned dictionary search is performed using a kana character string (or kana characters) whose number of characters corresponds to the value of R as a conversion target.

このような変換対象となる文字数の削減及びその文字に
対する辞書検索処理が上記カーソルキーC1の操作毎に
実行される。
Such reduction in the number of characters to be converted and dictionary search processing for the characters are executed each time the cursor key C1 is operated.

これにより、成る候補漢字の表示状態時に於いて、その
候補漢字表示に対する一連の選択操作を何等行なうこと
なく、変換対象となる文字数を現在表示されている候補
漢字の対象文字数よりも更に小ざくして、その語幹文字
に対する候補漢字を表示部12上に表示出力することが
できる。
As a result, when the candidate kanji is displayed, the number of characters to be converted can be made smaller than the number of characters of the currently displayed candidate kanji, without performing a series of selection operations for the candidate kanji. Then, candidate kanji characters for the stem character can be displayed and output on the display unit 12.

又、上記カーソルキー01の操作による変換対象文字数
の削減に対し、これとは逆に変換対象文字数を増加させ
る場合は、その字数に応じた回数だけ右方向カーソルキ
ーcrを操作する。このカーソルキーcrの操作により
、先ずステップA31に於いて、変換対象文字数レジス
タHENCHRの内容    −が変換最大文字数即ち
「5」より大きいか否かが判断される。ここで1.変換
対象文字数レジスタt−IENcHRの内容が「5」よ
り小ざいことが判断されると、ステップA32に於いて
、その変換対象文字数レジスタHENCHRの内容が入
力文字数レジスタINCHRの内容より小さいか否か、
即ち変換対象文字数が入力バッファ19に貯えられてい
る未変換文字数以内であるか否かが判断される。ここで
、変換対象文字数が入力バッファ19に貯えられている
未変換文字数以内である際は、ステップA33に於いて
、変換対象文字数レジスタHENCHHの値が「−1」
された後、上述したステップA5以降の処理に入り、上
記変換対象文字数レジスタHENCHRの値に従う文字
数の仮名文字列(又は仮名文字)を変換対象に上述した
ような辞書検索が行われる。このような変換対象となる
文字数の増加及びその文字に対する辞書検索処理が上記
カーソルキーcrの操作毎に実行される。
Further, in contrast to the reduction in the number of characters to be converted by operating the cursor key 01, to increase the number of characters to be converted, the right cursor key cr is operated the number of times corresponding to the number of characters. By operating the cursor key cr, first in step A31, it is determined whether the contents - of the conversion target character number register HENCHR are greater than the maximum number of conversion characters, ie, "5". Here 1. When it is determined that the contents of the conversion target character count register t-IENcHR are smaller than "5," in step A32, it is determined whether the contents of the conversion target character count register HENCHR are smaller than the contents of the input character count register INCHR;
That is, it is determined whether the number of characters to be converted is within the number of unconverted characters stored in the input buffer 19. Here, when the number of characters to be converted is within the number of unconverted characters stored in the input buffer 19, in step A33, the value of the number of characters to be converted register HENCHH is set to "-1".
After that, the process starts from step A5 described above, and the dictionary search as described above is performed for the kana character string (or kana characters) whose number of characters corresponds to the value of the conversion target character count register HENCHR. Such an increase in the number of characters to be converted and a dictionary search process for the characters are executed each time the cursor key cr is operated.

上述の如くして、候補漢字の表示状態時に、その候補漢
字表示に対する一連の選択操作を何等行なうことなく、
変換対象となる文字数を現在表示されている候補漢字の
対象文字数に対しカーソルキー操作で任意に増減して、
その変更された文字数の語幹文字に対する候補漢字を表
示部12上に表示出力することができる。
As described above, when the candidate kanji is displayed, without performing any series of selection operations for the candidate kanji,
Use the cursor keys to arbitrarily increase or decrease the number of characters to be converted from the number of characters in the currently displayed candidate kanji.
Candidate kanji characters for the changed number of stem characters can be displayed and output on the display unit 12.

尚、上記した実施例に於いては、仮名漢学変換辞書とし
て、単漢字辞書のみを設けた構成を例にとって示したが
、これに限ることはなく、単漢字辞書と熟語辞書とを併
せもつ構成のものに於いても適用できる。   。
In the above-mentioned embodiment, a configuration in which only a single kanji dictionary was provided as a kana-kanji conversion dictionary was shown as an example, but the structure is not limited to this, and a configuration having both a single kanji dictionary and an idiom dictionary is shown. It can also be applied to things. .

又、上記実施例に於いては、漢字の読みを平仮名により
入力する構成としているが、これに限らず、例えば漢字
の読みをローマ字入力で入−力し、仮名変換する構成の
ものに於いても適用できる。
Further, in the above embodiment, the reading of the kanji is input in hiragana, but this is not the only option. can also be applied.

[発明の効果] 以上詳記したように本発明によれば、単漢字変換辞書を
用い、最長一致法により仮名入力文を漢字に変換する仮
名漢字変換方式に於いて、検索対象となる仮名文字数を
変更する仮名文字数変更手段と、同仮名文字数変更手段
で変更された仮名文字を変換対象として候補漢字検索機
構に起動をかける手段とを有して、最長一致法による語
幹検索で該当漢字が得られない際に、その変換対象とな
る仮名文字を任意に狭い範囲に設定することのできる構
成としたもので、これにより漢字選択操作を簡易化して
所望漢字を容易かつ迅速に得ることができ、漢字混じり
文の入力、編集作業を能率良く迅速に行なうことができ
る。
[Effects of the Invention] As detailed above, according to the present invention, in the kana-kanji conversion method that uses a single kanji conversion dictionary and converts an input kana sentence into kanji by the longest match method, the number of kana characters to be searched can be reduced. A means for changing the number of kana characters for changing the number of kana characters, and a means for starting a candidate kanji search mechanism using the kana characters changed by the means for changing the number of kana characters for conversion, so that the corresponding kanji can be obtained by stem search using the longest match method. The system is structured so that the kana characters to be converted can be arbitrarily set within a narrow range when the desired kanji is not available. You can efficiently and quickly input and edit sentences containing kanji.

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

第1図は本発明の一実施例を示すブロック図、第2図は
上記実施例に於ける要部の処理フローを示すフローチャ
ートである。 11・・・キーボード、12・・・表示部、13・・・
表示制御部、14・・・印字部、15・・・印字制御部
、16・・・CPU、17・・・文書メモリ、18・・
・ROM、19・・・入力バッファ、20・・・漢字変
換辞書20(単漢字変換辞書)、21−・・作業用RA
M、fa・・・変換/次候補キー、fb−・・無変換キ
ー、cr、 cl・・・カーソルキー、INCHR・・
・入力文字数レジスタ、HENCHR・・・変換対象文
字数レジスタ、KANADR・・・漢字アドレスレジス
タ、TXADR・・・文書メモリアドレスレジスタ、F
・・・フラグレジスタ、C0DE・・・文字コードレジ
スタ、Kl、に2.・・・、KID・・・候補漢字コー
ドレジスタ。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a flowchart showing the main processing flow in the above embodiment. 11...Keyboard, 12...Display section, 13...
Display control section, 14... Printing section, 15... Printing control section, 16... CPU, 17... Document memory, 18...
・ROM, 19... Input buffer, 20... Kanji conversion dictionary 20 (single kanji conversion dictionary), 21-... RA for work
M, fa...conversion/next candidate key, fb-...no conversion key, cr, cl...cursor key, INCHR...
・Number of input characters register, HENCHR...Number of characters to be converted register, KANADR...Kanji address register, TXADR...Document memory address register, F
...Flag register, C0DE...Character code register, Kl, 2. ..., KID... Candidate kanji code register.

Claims (1)

【特許請求の範囲】[Claims] 単漢字変換辞書と、仮名漢字変換対象となる仮名文字列
を入力する入力手段と、同入力手段により入力された仮
名文字列を表示する仮名文字列表示手段と、仮名漢字変
換を指示する指示手段と、同指示手段により起動され、
上記入力手段により入力された仮名文字列の先頭から所
定数の仮名文字を変換対象として、同文字により上記辞
書を検索し、候補漢字が検索されなければ変換対象とな
る仮名文字列を順次短くしてその各候補漢字を検索する
候補漢字検索手段と、同候補漢字検索手段により検索さ
れた候補漢字を表示する候補漢字表示手段と、検索対象
となる仮名文字数を変更する仮名文字数変更手段と、同
仮名文字数変更手段で変更された仮名文字を変換対象と
して上記候補漢字検索手段に起動をかける手段とを具備
してなることを特徴とする仮名漢字変換方式。
A single kanji conversion dictionary, an input means for inputting a kana character string to be converted into kana and kanji, a kana character string display means for displaying the kana character string input by the input means, and an instruction means for instructing kana to kanji conversion. and is activated by the same instruction means,
A predetermined number of kana characters from the beginning of the kana character string input by the input means are searched for in the dictionary using the same characters, and if no candidate kanji is found, the kana character string to be converted is sequentially shortened. candidate kanji search means for searching for each candidate kanji, candidate kanji display means for displaying the candidate kanji searched by the candidate kanji search means, and kana character number changing means for changing the number of kana characters to be searched. A kana-kanji conversion method comprising means for starting the candidate kanji search means using the kana characters changed by the kana character number changing means as conversion targets.
JP60090137A 1985-04-26 1985-04-26 Kana-kanji converting system Pending JPS61249167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60090137A JPS61249167A (en) 1985-04-26 1985-04-26 Kana-kanji converting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60090137A JPS61249167A (en) 1985-04-26 1985-04-26 Kana-kanji converting system

Publications (1)

Publication Number Publication Date
JPS61249167A true JPS61249167A (en) 1986-11-06

Family

ID=13990118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60090137A Pending JPS61249167A (en) 1985-04-26 1985-04-26 Kana-kanji converting system

Country Status (1)

Country Link
JP (1) JPS61249167A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63140365A (en) * 1986-12-02 1988-06-11 Matsushita Electric Ind Co Ltd Kanji converting device
JPH05181839A (en) * 1992-06-05 1993-07-23 Casio Comput Co Ltd Kana/kanji converter

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5180407A (en) * 1974-12-20 1976-07-14 Heidelberger Druckmasch Ag Tanshiisonyakudatsusutoreejidoramu no kirikaechoseisochi
JPS5971534A (en) * 1982-10-18 1984-04-23 Matsushita Electric Ind Co Ltd Kana(japanese syllabary)-kanji(chinese character) converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5180407A (en) * 1974-12-20 1976-07-14 Heidelberger Druckmasch Ag Tanshiisonyakudatsusutoreejidoramu no kirikaechoseisochi
JPS5971534A (en) * 1982-10-18 1984-04-23 Matsushita Electric Ind Co Ltd Kana(japanese syllabary)-kanji(chinese character) converter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63140365A (en) * 1986-12-02 1988-06-11 Matsushita Electric Ind Co Ltd Kanji converting device
JPH05181839A (en) * 1992-06-05 1993-07-23 Casio Comput Co Ltd Kana/kanji converter

Similar Documents

Publication Publication Date Title
JPS61249167A (en) Kana-kanji converting system
JPS59106036A (en) System for retrieving kanji (chinese character) by designation of radical
JPS63313268A (en) Reading retrieving device in document forming device
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JPS5818730A (en) Character processing device
JPS5814688B2 (en) Kanji-mixed sentence input device that sequentially displays homophones
JPS59111518A (en) Sentence processor of kana (japanese syllabary)-kanji (chinese character) conversion system
KR0164405B1 (en) Word processor of mode selection
JP3042284B2 (en) Japanese input device
JPH0640325B2 (en) Writing device
JP2001067353A (en) Character input device and character input method
JPH0981555A (en) Method and device for document processing
JPS6128156A (en) Document editing device
JPH06314277A (en) Document preparing device
JPS60173666A (en) Kanji retrieval device
JPS61262879A (en) Kana/kanji converting system
JPS5827268A (en) Japanese word processing device
JPS62260266A (en) Kana/kanji converting system
JPS63221463A (en) Japanese word input device
JPS62123558A (en) Kana-to-kanji converter
JPS62171029A (en) Document preparing device
JPH0359770A (en) Electronic dictionary device
JPS6311712B2 (en)
JPH0115105B2 (en)
JPS63257862A (en) Character processor