JPS6022226A - Kana/kanji converter - Google Patents

Kana/kanji converter

Info

Publication number
JPS6022226A
JPS6022226A JP58131202A JP13120283A JPS6022226A JP S6022226 A JPS6022226 A JP S6022226A JP 58131202 A JP58131202 A JP 58131202A JP 13120283 A JP13120283 A JP 13120283A JP S6022226 A JPS6022226 A JP S6022226A
Authority
JP
Japan
Prior art keywords
kana
word
input
string
kanji
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.)
Granted
Application number
JP58131202A
Other languages
Japanese (ja)
Other versions
JPH0226256B2 (en
Inventor
Takahiko Chuma
中馬 高彦
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP58131202A priority Critical patent/JPS6022226A/en
Publication of JPS6022226A publication Critical patent/JPS6022226A/en
Publication of JPH0226256B2 publication Critical patent/JPH0226256B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the KANA(Japanese syllabary)/KANJI(Chinese character) conversion processing time by comparing the number of KANA characters at and after a word retrieving position within an input KANA train with the reading length of the word stored in a word information temporary storage part and displaying the input/ output information after replacement based on the result of comparison. CONSTITUTION:A keyboard 1 which decides an input key is provided together with a memory part 2 for input KANA train information, a replacement part 3 for said train information, a word dictionary 4 and a word retrieving part 5. Then the word with which the number of KANA characters is detected at and after a word retrieving position is retrieved 5 among the words having the reading length smaller than the number of KANA characters within an input KANA train every time an input KANA is added or deleted. Then the reading lengths of the words with which said number of KANA characters is detected are compared 7 with each other. Based on the result of comparison 7, the information supplied selectively and the output KANJI information are replaced 9. In addition, the input KANA train information and the output KANJI train information are replaced 9 and displayed 10 when the fixture is indicated for the KANA/KANJI conversion result.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、日本語文の作成・編集等に用いられるかな漢
字変換装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a kana-kanji conversion device used for creating and editing Japanese sentences.

従来例の構成とその問題点 近年かな漢字変換装置は、操作者が特に熟練を3 zニ
ー:・ 必要とせずに比較的高速に日本語文を作成することがで
きる方式として採用されている。中でもべた書き入力の
かな漢字変換装置は、操作者に文節等の文法知識を要求
しないことや、キー人力回数が少ないことなどから、操
作者の負担が小さいものとして注目されている。
Conventional configurations and their problems In recent years, kana-kanji conversion devices have been adopted as a method that allows the operator to create Japanese sentences relatively quickly without requiring special skill. Among these, kana-kanji conversion devices that use solid writing input are attracting attention because they do not require the operator to have grammatical knowledge of phrases, etc., and require only a small number of manual keystrokes, so they place less burden on the operator.

しかしながら、従来のべた書き入力かな漢字変換装置に
おいては、かな列の入力後に例えば句読点等の入力によ
ってかな漢字変換を起動して、それまでに入力されたか
な列全体を一時に漢字列に変換するという方法を採って
いるために、最終のキー人力から変換結果の表示までに
要する時間が長いという問題を有していた。
However, in conventional kana-kanji conversion devices for solid input, the method is to start kana-kanji conversion by inputting punctuation marks, etc., after inputting a kana string, and convert the entire kana string input so far into a kanji string at once. Because of this, there was a problem in that it took a long time from the final key input to the display of the conversion result.

一方、かなが入力される度に、その時点までに入力され
たかな列を1つの単語として変換しその変換結果を表示
するというかな漢字変換装置がある。しかしながら、こ
れを扱えるかな列の単位をべた書きに拡張することにつ
いては、変換誤まシが増加すること、また、その修正の
ために例えば入力かな列をよシ短い単位に区切って再入
力する必要があるなど操作上の難点があること等の問題
があるために実現されていない。
On the other hand, there is a kana-kanji conversion device that converts the kana string input up to that point into one word every time kana is input, and displays the conversion result. However, expanding the unit of the Kana sequence to solid writing increases the number of conversion errors, and to correct it, for example, the input Kana sequence must be divided into shorter units and re-inputted. This has not been realized due to problems such as operational difficulties such as necessity.

発明の目的 本発明は、上記従来の問題点に鑑み、かなをべた書きで
入力される場合においても、最終キー人力から変換結果
の表示までに要する時間が短く、かつ、誤まった変換が
なされた場合においても、極めて簡単に速くこれを修正
することができるかな漢字変換装置を提供することを目
的とする。
Purpose of the Invention In view of the above-mentioned conventional problems, the present invention provides a method that reduces the time required from the final key manually to the display of the conversion result, and prevents erroneous conversion even when kana is input in solid writing. To provide a kana-kanji conversion device that can correct the errors extremely easily and quickly even when the errors occur.

発明の構成 本発明は、少なくともかなの入力とかなの削除とかな漢
字変換結果の確定指示とを行なうことができるキーを備
え入力されたキーを判定するキーボードと、入力かな列
の少なくともかなとかな数と単語検索位置とを入力かな
列情報として記憶する手段と、前記入力かな列情報を更
新する手段と、単語毎に少なくとも読みと漢字列とを単
語情報として有する単語辞書と、キーボードからのかな
の入力及びかなの削除によって起動され、入力かな列内
の単語検索位置以降のかな数取下の読み長さを有する単
語のうち単語検索位置以降のかな列と最長一致する読み
を有する単語を単語辞書内で検索する手段と、検出され
た単語の少なくとも読み長さと漢字列と漢字数とを単語
情報として一時記憶する手段と、検出された単語の読み
長さと入力かな列内の単語検索位置以降のかな数とを比
較する手段と、出力漢字列の少なくとも単語数と単語毎
の漢字数と漢字とを出力漢字列情報として記憶する手段
と、前記出力漢字列情報を更新する手段と、出力漢字列
を表示する手段とを備えたかな漢字変換装置であり、か
なが入力及び削除される度に単語検索を行ない、検出さ
れた単語の読み長さと入力かな列内の単語検索位置以降
のかな数とが異なる場合に入力かな列内単語検索位置を
検出された単語の読み長さだけシフトすると共に出力漢
字列内単語数に1を加算することと、単語が検出される
度に該単語の漢字列を出力漢字列に加えてこれを表示す
ることと、かな漢字変換結果の確定を指示されたときに
出力漢字列内単語数に1を加算すると共に、入力かな列
情報を初期化することとにより、最終キー人力からかな
漢字変換結果の表示までの時間を短縮し、また、誤変換
の訂正を極めて簡単に速く行なえるようにするものであ
る。
Structure of the Invention The present invention provides a keyboard for determining inputted keys, which includes keys for at least inputting kana, deleting kana, and instructing confirmation of the result of kana-kanji conversion; and a word search position as input kana string information; means for updating the input kana string information; a word dictionary having at least a reading and a kanji string for each word as word information; Activated by inputting and deleting kana, the word with the longest matching pronunciation with the kana string after the word search position among the words with the pronunciation length of the kana number taken after the word search position in the input kana string is created in the word dictionary. means for temporarily storing at least the reading length, kanji string, and number of kanji of the detected word as word information; and means for temporarily storing at least the reading length of the detected word and the word search position in the input kana string. means for comparing the number with a kana number, means for storing at least the number of words, the number of kanji for each word, and the kanji of the output kanji string as output kanji string information, means for updating the output kanji string information, and an output kanji string. It is a kana-kanji conversion device equipped with a means for displaying a word, and it performs a word search every time a kana is input or deleted, and displays the pronunciation length of the detected word and the number of kana after the word search position in the input kana string. If different, the word search position in the input kana string is shifted by the reading length of the detected word, and 1 is added to the number of words in the output kanji string, and each time a word is detected, the kanji string of the word is By displaying this in addition to the output kanji string, adding 1 to the number of words in the output kanji string when instructed to finalize the kana-kanji conversion result, and initializing the input kana string information, the final The purpose is to shorten the time required from keystrokes to display the results of kana-kanji conversion, and to make it possible to correct erroneous conversions extremely easily and quickly.

実施例の説明 第1図は本発明の一実施例におけるかな漢字変換装置の
構成を示すブロック図である。
DESCRIPTION OF EMBODIMENTS FIG. 1 is a block diagram showing the configuration of a kana-kanji conversion device in an embodiment of the present invention.

図中、1はキーボードであり、かな入力とかなの削除と
かな漢字変換結果の確定指示とかな漢字変換の終了指示
とを受け付け、判定する。2は入力かな列情報記憶部で
あり、入力かな列のかなとかな数と単語検索を行なうべ
き位置とを記憶する。
In the figure, reference numeral 1 denotes a keyboard, which accepts and judges kana input, deletion of kana, instruction to confirm the result of kana-kanji conversion, and instruction to end kana-kanji conversion. Reference numeral 2 denotes an input kana string information storage section, which stores the number of kana in the input kana string and the position at which a word search should be performed.

3は入力かな列情報更新部であシ、キーボード1の出力
、及び、後述するかな数単語読み長さ比較部7の出力に
従って入力かな列情報記憶部2の内容を更新する。4は
単語辞書であり、単語毎の読みと漢字列とを単語情報と
して記憶している。6は単語検索部であり、入力かな列
内の単語検索位置以降のかな数取下の読み長さを有する
単語のうちで、単語検索位置以降かな列と最長一致する
読みを有する単語を単語辞書4内で検索する。6は単語
情報一時記憶部であり、単語検索部5で検出された単語
の読み長さと漢字列と漢字数とを単語情報として一時記
憶する。7はかな数単語読み長さ比較部であり、入力か
な列内の単語検索位置以降のか虚数と、単語情報一時記
憶部6に記憶されている単語の読み長さとを比較し、比
較結果を出力する。8は出力漢字列情報記憶部であり、
出力漢字列を形成する単語数と、単語毎の漢字数と漢字
列とを出力漢字列情報として記憶する。9は出力漢字列
情報更新部であり、かな数単語読み長さ比較部7の出力
及びキーボード1の出力に従って単語情報一時記憶部6
に記憶されている単語の漢字列を出力漢字列情報記憶部
8内の最終単語の漢字列として追加まだは置換した後該
当単語の漢字数を更新するかまたは単語数を更新する。
Reference numeral 3 denotes an input kana string information updating section, which updates the contents of the input kana string information storage section 2 according to the output of the keyboard 1 and the output of a kana number word reading length comparison section 7, which will be described later. 4 is a word dictionary, which stores the pronunciation and kanji string of each word as word information. Reference numeral 6 is a word search unit, which selects words that have a pronunciation that matches the longest kana string after the word search position among the words that have the pronunciation length of the kana number after the word search position in the input kana string. Search within 4. Reference numeral 6 denotes a word information temporary storage section, which temporarily stores the pronunciation length, kanji string, and number of kanji characters of the word detected by the word search section 5 as word information. 7 is a kana number word reading length comparison unit, which compares the kana imaginary numbers after the word search position in the input kana string with the reading length of the word stored in the word information temporary storage unit 6, and outputs the comparison result. do. 8 is an output kanji string information storage unit;
The number of words forming the output kanji string, the number of kanji characters for each word, and the kanji string are stored as output kanji string information. Reference numeral 9 denotes an output kanji string information update section, which updates the word information temporary storage section 6 according to the output of the kana number word reading length comparison section 7 and the output of the keyboard 1.
After adding or replacing the Kanji string of the word stored in the output Kanji string information storage section 8 as the Kanji string of the final word, the number of Kanji characters of the corresponding word is updated or the number of words is updated.

1゜は表示部であり、出力漢字列情報記憶部8内の出力
漢字列を表示する。
1° is a display section, which displays the output kanji string in the output kanji string information storage section 8.

以上のように構成された本実施例のかな漢字変換装置に
ついて、以下その動作を説明する。
The operation of the kana-kanji conversion apparatus of this embodiment configured as described above will be described below.

第2図は本実施例のかな漢字変換装置の動作を示すフロ
ー図である。図中(支)では、出力漢字列情報更新部9
が出力漢字列情報記憶部8内の単語数を1に初期化する
。その後(イ)へ移る。(イ)では、入力かな列情報更
新部3が入力かな列情報記憶部2内のかな数をQに、単
語検索位置をかな列の先頭を指す値○に、各々初期化す
る。その後(つ)へ移る。
FIG. 2 is a flow diagram showing the operation of the kana-kanji conversion device of this embodiment. In the figure (branch), the output kanji string information update section 9
initializes the number of words in the output Kanji string information storage section 8 to one. Then move on to (a). In (a), the input kana string information updating section 3 initializes the number of kana in the input kana string information storage section 2 to Q, and initializes the word search position to the value ○ indicating the beginning of the kana string. Then move on to (tsu).

(つ)はキーボード1のキー押下待ちの状態であり、キ
ー人力が行なわれたときに(−I:)へ移る。(に)、
(9)。
(1) is the state of waiting for a key to be pressed on the keyboard 1, and when a key is pressed manually, the state moves to (-I:). (to),
(9).

(ガではキーボード1が押下されたキーが各々、かなキ
ー、かな削除キー、かな漢字変換結果確定指示キーであ
るか否かを判定する。かなキーである場合は(割へ、か
な削除キーである場合はし)へ、かな漢字変換結果確定
指示キーである場合はい)へ移り、いずれでもない場合
はかな漢字変換終了指示キーであるとみ々して処理を終
了する。(割では入力かな列情報更新部3がかな入力に
対応して入力かな列情報記憶部2の内容を更新する。よ
り具体的に言えば、入力されたかなをかな数に基いてか
な列の末尾に追加すると共にか虚数に1を加算する。そ
の後(り)へ移る。し)では入力かな列情報更新部3が
かな削除に対応して入力かな列情報記憶部2の内容を更
新する。より具体的に言えば、かな数から1を減算する
。その後(列へ移る。(ケ及び(コ)では、単語検索部
5が入力かな列情報記憶部2の内容に基いて単語辞書4
内で単語検索を行なう。
(In GA, keyboard 1 determines whether the pressed keys are the Kana key, the Kana deletion key, or the Kana-Kanji conversion result confirmation key.If it is the Kana key, If it is a kana-kanji conversion result finalization instruction key, go to YES), and if neither of these is the case, it is assumed that it is a kana-kanji conversion end instruction key, and the process ends. (In Wari, the input kana column information update unit 3 updates the contents of the input kana column information storage unit 2 in response to the kana input. More specifically, the input kana column information is updated based on the kana number of the input kana column. It is added to the end and 1 is added to the imaginary number.Then, the process moves to (ri).In (shi), the input kana string information updating section 3 updates the contents of the input kana string information storage section 2 in response to the deletion of kana. More specifically, 1 is subtracted from the kana number. After that, the process moves to the (column). In (k) and (g), the word search section 5 searches the word dictionary 4 based on the contents of the input kana column information storage section 2.
Perform a word search within.

」:り具体的に言えば、入力かな列の単語検索位置以降
のかな数取下の読み長さを有する単語のうち入力かな列
内の単語検索位置以降のかな列と最長一致する読みを有
する単語を検索する。その後、単語を検出できなかった
ときは(つ)へ移り、単語を検出できたときは検出した
単語の読み長さと漢字数と漢字列を単語情報として単語
情報一時記憶部6に格納した後θ)へ移る。(ロ)でば
かな数単語読み長さ比較部7が、入力かな列情報記憶部
2内の入力か彦列内単語検索位置とかな数とから単語検
索位置以降のかな数を計算した後、この計算結果と単語
情報一時記憶部6に格納されている単語の読み長さとを
比較し、等しいときは(aへ、等しくないときは(ホ)
へ移る。(aでは出力漢字列情報更新部9が単語情報一
時記憶部6に格納されている単語の漢字列を出力漢字列
情報記憶部8へ転送すると共に漢字数を更新する。より
具体的に言えば、出力漢字列内単語数に基いて最終単語
の漢字列として該当単語の漢字列を転送すると共に、転
送した漢字列の漢字数を最終単語の漢字数とする。その
後((ロ)へ移る。に)では表示部1oが出力漢字列情
報記憶部8内の出力漢字列をかな漢字変換結果として表
示する。その後(つ)へ移る。((1)では入力かな列
情報更新部3が入力かな列情報記憶部2内の入力かな列
内単語検索位置を示す値に単語情報一時記憶部6に格納
されている単語の読み長さを加算する。その後(7)へ
移る。(ン)では出力漢字列情報更新部9が出力漢字列
情報記憶部8内の単語数に1を加算する。その後OAへ
移る。し)では出力漢字列情報更新部9が出力漢字列情
報記憶部8内の単語数に1を加算する。その後(イ)へ
移る。
”: More specifically, among the words that have a pronunciation length of kana number taken after the word search position in the input kana sequence, the word that has the longest matching pronunciation with the kana sequence after the word search position in the input kana sequence Search for words. After that, if a word could not be detected, the process moves to (1), and if a word was detected, the reading length, number of kanji characters, and kanji string of the detected word are stored as word information in the word information temporary storage unit 6, and then θ ). (B) After the stupid number word reading length comparison unit 7 calculates the kana number after the word search position from the input kana string information storage unit 2, the word search position and the kana number in the input kana string, Compare this calculation result with the reading length of the word stored in the word information temporary storage unit 6. If they are equal, go to (a); if they are not equal, go to (e).
Move to. (In a, the output kanji string information update section 9 transfers the kanji string of the word stored in the word information temporary storage section 6 to the output kanji string information storage section 8, and updates the number of kanji characters.To be more specific, , based on the number of words in the output Kanji string, transfer the Kanji string of the corresponding word as the Kanji string of the final word, and set the number of Kanji characters of the transferred Kanji string as the number of Kanji characters of the final word. Then move to ((B)). In ), the display unit 1o displays the output kanji string in the output kanji string information storage unit 8 as a kana-kanji conversion result.Then, the process moves to (t).(In (1), the input kana string information update unit 3 displays the input kana string The pronunciation length of the word stored in the word information temporary storage unit 6 is added to the value indicating the word search position in the input kana string in the information storage unit 2. Then, the process moves to (7). The string information update unit 9 adds 1 to the number of words in the output kanji string information storage unit 8. Then, the process moves to OA. Add 1 to . Then move to (a).

以下、入力例を用いて本実施例のか々漢字変換装置の動
作を具体的に説明する。
Hereinafter, the operation of the Kana-Kanji conversion device of this embodiment will be specifically explained using an input example.

第3図は、第1の入力例の場合の本実施例の動作を説明
するだめの、入力かな列情報記憶部2の内容と出力漢字
列情報記憶部8の内容を示す図である。図中、A−0列
は入力かな列、D、H列は出力漢字列の各々情報を示し
ている。Aはかな数であり、Bは単語検索位置であって
入力かな列の先頭を○とする。Cはかなの列である。ま
た、Dは単語数である。Eは第1の単語、Fは第2の単
語、Gは第3の単語の各々漢字数であり、従って3単語
分の領域を確保しであることになる。Hは漢字の列であ
り、かなが広義の漢字として格納される場合もある。さ
らに図中のa−’At後述の説明中に現われる各時点を
指す。
FIG. 3 is a diagram showing the contents of the input kana string information storage section 2 and the contents of the output kanji string information storage section 8, for the purpose of explaining the operation of this embodiment in the case of the first input example. In the figure, the A-0 column shows information on the input kana string, and the D and H columns show information on the output kanji string. A is a kana number, and B is a word search position, where the beginning of the input kana string is ○. C is a kana column. Moreover, D is the number of words. E is the number of kanji characters in the first word, F is the second word, and G is the number of kanji characters in the third word. Therefore, an area for three words is secured. H is a string of kanji, and kana may be stored as a kanji in a broader sense. Furthermore, a-'At in the figure indicates each point in time that will appear in the explanation below.

まず、第2図(支)と(イ)で入力かな列と出力漢字列
の情報が初期化される(第3図a)。
First, the information on the input kana string and output kanji string is initialized in FIGS. 2 (sub) and (a) (FIG. 3 a).

ここでキーボード1からかな「け」が入力されると、第
2図(−I:)を経た後、第2図(割で、入力かな列情
報更新部3が、入力かな列情報記憶部2の入力かな列の
末尾、今の場合は先頭に、かな「け」を格納し、かな数
に1を加算して1とする(第3図すのA−C)。第2図
□Aでは、単語検索部5が入力かな列内の単語検索位置
0即ち先頭からのかな列とかな数1の範囲で最長一致す
る単語を単語辞書4内で検索する。単語「毛」が最長一
致語として検出されたとすると、単語情報一時記憶部6
に、単語「毛」の単語情報として、読み長さ1と漢字数
1と漢字列「毛」とを格納する。第2図(コ)を経た後
、第2図(9)でかな数単語読み長さ比較部7が、入力
かな列内の単語検索位置以降のかな数1と、単語情報一
時記憶部6内の単語「毛」の読み長さ1とを比較し、両
者が等しいことを出力漢字列情報更新部9に知らせ、第
2図(・9に移る。第2図(・2では出力漢字列情報更
新部9が、単語情報一時記憶部6内に格納されている単
語の漢字列1毛」を、出力漢字列情報記憶部8内の最終
単語、今の場合は第1単語として出力漢字列の先頭へ転
送すると共に、第1単語の漢字数として1を格納する(
第3図すのD−H)。第2図(ス)では表示部1oが出
力漢字列情報記憶部8内の漢字列を表示し、第2図(つ
)へ移る。続くかな入力が「い」。
Here, when kana "ke" is input from the keyboard 1, the input kana column information update section 3 updates the input kana column information storage section 2 after going through the steps in FIG. 2 (-I:). Store the kana ``ke'' at the end of the input kana string, in this case at the beginning, and add 1 to the kana number to make it 1 (A-C in Figure 3).In Figure 2 □A , the word search unit 5 searches the word dictionary 4 for the longest matching word within the range of the kana number 1 from the word search position 0 in the input kana string, that is, the beginning of the kana string.The word "hair" is the longest matching word. If detected, the word information temporary storage unit 6
, the reading length 1, the number of kanji characters 1, and the kanji string "mo" are stored as word information of the word "mo". After going through the steps in FIG. 2 (k), the dekana number word reading length comparison unit 7 in FIG. It compares the pronunciation length 1 of the word "hair" and informs the output kanji string information update unit 9 that they are equal, and moves on to Fig. 2 (-9. In Fig. 2 (-2, the output kanji string information The update unit 9 uses the kanji string 1 马 of the word stored in the word information temporary storage unit 6 as the final word in the output kanji string information storage unit 8, in this case the first word, of the output kanji string. Transfer to the beginning and store 1 as the number of kanji in the first word (
Figure 3 (D-H). In FIG. 2(S), the display section 1o displays the kanji string in the output kanji string information storage section 8, and the process moves to FIG. 2(T). I wonder if it will continue? The input is "Yes".

[かJ、r<Jであるとすると、同様の動作の流れによ
って、各々の時点で、入力かな列と出力漢字列の情報記
憶部2と8の内容は第3図c、d。
[If J, r<J, the contents of the information storage units 2 and 8 of the input kana string and output kanji string at each point in time are as shown in FIGS. 3c and d by the same flow of operations.

eに示すようになる。引き続きかな「を」が入力される
と、第2図(ロ)以降の動作がこれまでとは異なる。こ
の時点の入力かな列情報記憶部2の内容は第3図fのA
−Cの通りであり、また、単語検索の結果として単語情
報一時記憶部6には単語「計画」の読み長さ4と漢字「
計画」と漢字数2とが格納されているとする。第2区間
では、か々数年語読み長さ比較部7が、入力かな列内の
単語検索位置以降のかな数5と単語「計画」の読み長さ
4とを比較し、両者が異なることを入力かな列情報更新
部3と出力漢字列情報更新部9に知らせ、第2図(−@
に移る。第2図(ホ)では入力かな列情報更新部3が、
入力かな列情報記憶部2内の単語検索位置0に、単語情
報一時記憶部6に格納されている単語1計画」の読み長
さ4を加算することによって4、即ちかな「を」の位置
を指すようにする。
It becomes as shown in e. If the kana "wo" is subsequently input, the operation from FIG. 2 (b) onwards will be different from the previous one. The contents of the input kana string information storage section 2 at this point are A in Fig. 3 f.
-C, and as a result of the word search, the word information temporary storage unit 6 contains the reading length 4 of the word "plan" and the kanji "
It is assumed that "Plan" and the number of kanji characters 2 are stored. In the second section, the Kakasakana word reading length comparison unit 7 compares the kana number 5 after the word search position in the input kana string and the reading length 4 of the word "plan", and determines that the two are different. is notified to the input kana string information updating section 3 and the output kanji string information updating section 9, and the information shown in Fig. 2 (-@
Move to. In FIG. 2 (e), the input kana column information update unit 3
By adding the reading length 4 of the word 1 plan stored in the word information temporary storage unit 6 to the word search position 0 in the input kana string information storage unit 2, 4, that is, the position of kana ``wo'' is determined. Make it point.

次いで第2図(ン)では、出力漢字列情報更新部9が出
力漢字列情報記憶部8内の単語数1に1を加算して2と
する(第3図qLその後第2図(例へ移る。第2図(刀
では単語検索部6が、入力かな列内の4で指される「を
」の位置以降のかな列について単語検索を行なって単語
「を」を検出し、単語情報一時記憶部6に、読み長さ1
と漢字列「を」と漢字数1とを単語情報として格納する
。その後第2図(コ)と(至)を経て(シヘ移る。第2
図(aでは出力漢字列情報更新部9が、単語情報一時記
憶部6に格納されている単語の漢字列「を」を出力漢字
列情報記憶部8内の最終単語、今の場合は第2単語とし
て、出力漢字列の第1単語の漢字数2の次の位置にあた
る3の位置からへ転送すると共に、第2単語の漢字数と
して1を格納する(第3図h)。
Next, in FIG. 2 (n), the output kanji string information updating section 9 adds 1 to the number of words in the output kanji string information storage section 8 to make it 2 (see qL in FIG. Figure 2 (For the sword, the word search unit 6 performs a word search on the kana string after the position of “wo” indicated by 4 in the input kana string, detects the word “wo”, and stores the word information temporarily. The reading length 1 is stored in the storage unit 6.
, the kanji string "wo", and the number of kanji (1) are stored as word information. After that, move on to (shi) through Figure 2 (k) and (to).
In Figure (a), the output kanji string information update unit 9 outputs the kanji string “wo” of the word stored in the word information temporary storage unit 6, the last word in the kanji string information storage unit 8, in this case the second As a word, it is transferred from position 3, which is the next position after the number of Kanji characters 2 in the first word of the output Kanji string, and 1 is stored as the number of Kanji characters in the second word (Fig. 3h).

引き続きかな「す」が入力されると、かな「を」が入力
されたときと同様の動作が行なわれ、出力漢字列情報記
憶部8に第3単語として単語「巣」の情報が追加される
(第3図i)。さらに、かな「いJ、rL、J、rん」
が順に入力されると、第2図(イ)でかな数単語読み長
さ比較部7の比較結果が等しいために第2図(シヘ移る
動作が行なわれ、かな「ん」の変換処理が終わった時点
で第3図jの状態になる。
If the kana "su" is subsequently input, the same operation as when the kana "wo" is input is performed, and the information of the word "su" is added as the third word to the output kanji string information storage section 8. (Figure 3 i). Furthermore, Kana “IJ, rL, J, r”
are input in sequence, the comparison results of the kana number word reading length comparison unit 7 in Figure 2 (A) are equal, so the operation moves to Figure 2 (Si), and the conversion process for Kana "N" is completed. At this point, the state shown in Fig. 3j is reached.

以上筒1の入力例を用いて説明したように、本実施例に
よれば、べた書き入力に対して、がなが入力される度に
単語検索を行ない、単語が検出された場合に、入力かな
列内の単語検索位置以降のかな数と検出された単語の読
み長さが異なる場合に、入力かな列内単語検索位置を検
出された単語の読み長さ分シフトすることと、出力漢字
列内単語数に1を加算することによって、入力がな列を
順次単語に分割して表示することができ、また。
As explained above using the input example of cylinder 1, according to this embodiment, a word search is performed every time Gana is input for solid writing input, and when a word is detected, the input If the number of kana after the word search position in the kana string and the reading length of the detected word are different, shift the word search position in the input kana string by the reading length of the detected word, and change the output kanji string. By adding 1 to the number of words, the input string can be divided into words and displayed sequentially.

最終かな2本人力例ではかな「ん」の入力後、がな「す
」以降のかな列の変換を行なうだけであるために変換時
間が短い。
In the final kana 2-person manual example, after inputting the kana "n", the conversion time is short because only the kana string after the kana "su" is converted.

第4図は、第2の入力例による本実施例の動作を説明す
るための、入力かな列情報記憶部2の内容と出力漢字列
情報記憶部8の内容を示す図であり、図中A−H列、に
〜オ行の意味は第3図の場合・と同様である。
FIG. 4 is a diagram showing the contents of the input kana string information storage section 2 and the contents of the output kanji string information storage section 8, for explaining the operation of this embodiment according to the second input example. The meanings of column -H and rows 2 to 0 are the same as in the case of FIG.

かな「さ」、「ん」、「か」、「い」が順次入力される
と、第3図、B−6が作成されたのと同様に第4図に〜
0が作成される。この場合、操作者はかな入力「さんか
いいん」に対して変換結果「参加委員」を所望している
とする。ところが、かな「か」の次にかな「い」を入力
した後、第4図0の内容に基いて「散会」が表示される
。とこで操作者が変換が誤まっていることに気付いてキ
ーボード1からかなの削除キーを押すと、第2図(つ)
から(に)と(3)を経て(イ)へ処理が移る。第2図
(イ)では入力かな列情報更新部2が入力かな列情報記
憶部2内のかな数を4から1を減算して3とすることに
よって、入力かな列内の末尾のかな「い」を削除する。
When the kana ``sa'', ``n'', ``ka'', and ``i'' are input in sequence, Figure 4 shows ~ in the same way that Figure 3 and B-6 were created.
0 is created. In this case, it is assumed that the operator desires a conversion result of "participating committee member" for the kana input "sankaiin". However, after inputting kana ``i'' next to kana ``ka'', ``adjournment'' is displayed based on the contents of Figure 4 0. However, when the operator realized that the conversion was incorrect and pressed the Kana delete key from Keyboard 1, the result in Figure 2 (Tsu)
The process moves from (2) to (3) to (a). In FIG. 2(a), the input kana string information updating unit 2 subtracts 1 from 4 to set the number of kana in the input kana string information storage unit 2 to 3, thereby changing the number of kana at the end of the input kana string. ” to be deleted.

以降、かな「か」が入力された場合と同様の処理の流れ
で出力漢字列情報記憶部8の内容が第4図pに示すよう
になり、「参加」が表示され、処理は第2図(つ)へ移
る。ここで操作者が表示を確認して変換結果確定指示キ
ーをキーボード1から入力すると、処理は第2図(つか
ら(4、(2)。
Thereafter, the contents of the output kanji string information storage section 8 become as shown in Figure 4 p, and ``participation'' is displayed, and the process is as shown in Figure 2, using the same process flow as when kana ``KA'' is input. Move to (tsu). Here, when the operator confirms the display and inputs the conversion result confirmation instruction key from the keyboard 1, the process starts as shown in FIG.

(力を経てい)へ移る。第2図し)では、出力漢字列情
報更新部9が出力漢字列情報記憶部8内の単語数1に加
算して2とする。その後、第2図(イ)を経て(つ)へ
移る(第4図q)。引き続きかな「い」。
Move to (through force). In FIG. 2), the output kanji string information updating section 9 adds the number of words in the output kanji string information storage section 8 to 1 and sets it to 2. Thereafter, the process moves to (Figure 4) via Figure 2 (A) (Figure 4 (Q)). Kana continues to be ``yes''.

「い」、「ん」が順次入力されるとこれまでと同様の動
作により、入力かな列及び出力漢字列の情報記憶部2及
び8の内容が第4図r % tと変化し、最終かな「ん
jに対する処理が終了した時点で「参加委員」が表示さ
れ、操作者は所望の変換結果「参加委員」を得ることが
できる。
When "i" and "n" are input in sequence, the contents of the information storage units 2 and 8 of the input kana string and output kanji string change to r % t in Figure 4 by the same operation as before, and the final kana string is changed to r % t in Figure 4. When the processing for "nj" is completed, "participating member" is displayed, and the operator can obtain the desired conversion result "participating member".

以上筒2の入力例を用いて説明したように、本実施例に
よれば、べた書き入力に対して、かなが入力及び削除さ
れる度に単語検索を行ない、単語が検出される度に該単
語を含む出力漢字列゛を表示することと、かな漢字変換
結果の確定指示に従って出力漢字列内の単語数に1を加
算すると共に入力かな列情報を初期化することにより、
操作者が本人力例で言えば、表示「散会」を見た時にか
な削除キー、かな漢字変換結果確定指示キー、かな「い
」のキーを順次押下するという簡単な手順の追加のみで
、誤変換を所望の変換結果に修正することができる。
As explained above using the input example of cylinder 2, according to this embodiment, a word search is performed every time a kana is input or deleted for solid writing input, and each time a word is detected, a word search is performed. By displaying the output kanji string containing the word, adding 1 to the number of words in the output kanji string according to the instruction to confirm the kana-kanji conversion result, and initializing the input kana string information,
For example, when the operator sees the display ``Sankai,'' he can correct the incorrect conversion by simply adding the simple steps of pressing the Kana delete key, the Kana-Kanji conversion result confirmation key, and the Kana ``I'' key in sequence. can be modified to the desired conversion result.

なお、本実施例においては説明を簡単にするために単語
と単語との接続の可否の検査を省略したが、例えば単語
の品詞等に基いた接続検査を行々う場合にも本発明は適
用可能である。また、本実施例においては単語辞書を1
つとしたがこれに限るものではなく、例えば、自立語と
付属語とを別々の辞書に記憶しておいてもよい。さらに
、本実施例においては説明を簡単にするために同音語が
有る場合の説明を省略したが、同音語が有る場合におい
ても本発明は適用可能である。
Note that in this embodiment, for the sake of simplicity, the test of whether or not words can be connected is omitted, but the present invention can also be applied to cases where a connection test is performed based on the parts of speech of words, etc. It is possible. In addition, in this embodiment, one word dictionary is used.
However, the present invention is not limited to this. For example, independent words and attached words may be stored in separate dictionaries. Furthermore, in the present embodiment, for the sake of simplicity, the explanation of the case where there are homophones is omitted, but the present invention is also applicable to the case where there are homophones.

発明の効果 本発明のかな漢字変換装置は、少なくともかなの入力と
かなの削除とかな漢字変換結果の確定指示とを行なうこ
とができるキーを備え入力されたキーを判定するキーボ
ードと、入力かな列の少なくともかなとかな数と単語検
索位置とを入力かな列情報として記憶する手段と、前記
入力かな列情報を更新する手段と、単語毎に少なくとも
読みと漢字列とを単語情報として有する単語辞書と、キ
(−ボードからのかなの入力及びかなの削除によって起
動され、入力かな列内の単語検索位置以降のかな数以下
の読み長さを有する単語のうち単語検索位置以降のかな
列と最長一致する読みを有する単語を単語辞書内で検索
する手段と、検出された単語の少なくとも読み長さと漢
字列と漢字数とを単語情報として一時記憶する手段と、
検出された単語の読み長さと入力かな列内の単語検索位
置以降のか寿数とを比較する手段と、出力漢字列の少な
くとも単語数と単語毎の漢字数と漢字とを出力漢字列情
報として記憶する手段と、前記出力漢字列情報を更新す
る手段と、出力漢字列を表示する手段とを設けることに
より、べた書き入力されたかな列の最終入力からかな漢
字変換結果の表示までに要する時間を短縮することがで
きること、また、かな漢字変換結果の逐次表示とかな削
除と変換結果確定指示とにより、変換の誤まりを極めて
簡単な操作で速く修正することができること等、その実
用的効果は大きい。
Effects of the Invention The kana-kanji conversion device of the present invention includes a keyboard for determining an input key, which is equipped with keys capable of at least inputting kana, deleting kana, and instructing confirmation of the result of kana-kanji conversion; means for storing kana and kana numbers and word search positions as input kana string information; means for updating the input kana string information; a word dictionary having at least a reading and a kanji string for each word as word information; (- triggered by the input and deletion of kana from the board, and the longest matching reading of the kana string after the word search position among words whose reading length is less than or equal to the number of kana after the word search position in the input kana string) means for searching a word in a word dictionary for a word having , and means for temporarily storing at least the reading length, kanji string, and number of kanji of the detected word as word information;
A means for comparing the reading length of the detected word with the number of kana after the word search position in the input kana string, and storing at least the number of words, the number of kanji for each word, and the kanji in the output kanji string as output kanji string information. By providing means for updating the output kanji string information, and means for displaying the output kanji string, the time required from the final input of the solid input kana string to the display of the kana kanji conversion result is reduced. It also has great practical effects, such as being able to quickly correct conversion errors with extremely simple operations by sequentially displaying the kana-kanji conversion results, deleting kana, and instructing to confirm the conversion results.

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

第1図は本発明の一実施例におけるかな漢字変換装置の
構成を示すブロック図、第2図は同実施例の動作を示す
フロー図、第3図および第4図は各々、第1の入力例と
第2の入力例の場合の、同実施例における入力かな列並
びに出力漢字列の情報記憶部の内容を示す図である。 1・・・・・・キーボード、2・・・・・・入力かな列
情報記憶部、3・・・・・・入力かな列情報更新部、4
・・・・・・単語辞書、5・・・−・・単語検索部、6
・・・・・・単語情報一時記憶部、7・・・・・・かな
数単語読み長さ比較部、8・・・・・・出力漢字列情報
記憶部、9・・・・・・出力漢字列情報更新部、1o・
・・・・・表示部。
FIG. 1 is a block diagram showing the configuration of a kana-kanji conversion device according to an embodiment of the present invention, FIG. 2 is a flow diagram showing the operation of the same embodiment, and FIGS. 3 and 4 respectively show a first input example. FIG. 7 is a diagram showing the contents of the information storage unit of the input kana string and the output kanji string in the same embodiment in the case of the second input example. 1...Keyboard, 2...Input Kana column information storage unit, 3...Input Kana column information update unit, 4
...Word dictionary, 5...--Word search section, 6
...Word information temporary storage unit, 7...Kana number word reading length comparison unit, 8...Output Kanji string information storage unit, 9...Output Kanji string information update section, 1o・
...Display section.

Claims (1)

【特許請求の範囲】[Claims] 少なくともかなの入力とか表の削除とかな漢字変換結果
の確定指示とを行なうことができるキーを備え入力され
たキーを判定するキーボードと、入力かな列の少なくと
もかなとかな数と単語検索位置とを入力かな列情報とし
て記憶する手段と、前記入力かな列情報を更新する手段
と、単語毎に少なくとも読みと漢字列とを単語情報とし
て有する単語辞書と、キーボードからのかなの入力及び
かなの削除によって起動され、入力かな列内の単語検索
位置以降のかな数取下の読み長さを有する単語のうち単
語検索位置以降のかな列と最長一致する読みを有する単
語を単語辞書内で検索する手段と、検出された単語の少
なくとも読み長さと漢字列と漢字数とを単語情報として
一時記憶する手段と、検出された単語の読み長さと入力
か外列内の単語検索位置以降のかを数とを比較する手段
と、出力漢字列の少なくとも単語数と単語毎の漢字数と
漢字列とを出力漢字列情報として記憶する手段と、前記
出力漢字列情報を更新する手段と、出力漢字列を表示す
る手段とを具備し、入力かなが追加あるいは削除される
度に、入力かな列内の単語検索位置以降のかな数取下の
読み長さを有する単語のうち単語検索位置以降のかな列
と最長一致する読みを有する単語を検索し、入力かな列
内の単語検索位置以降のかな数を検出された単語の読み
長さとの比較を行ない、比較結果に基いて選択的に入力
かな列情報と出力漢字列情報を更新し、さらにかな漢字
変換結果の確定を指示されたときに、入力かな列情報と
出力漢字列情報を更新することを特徴とするかな漢字変
換装置。
A keyboard that is equipped with keys that can input at least kana, delete tables, and confirm the result of kana-kanji conversion, and that can determine the input key, and input at least the number of kana and kana in the input kana column and the word search position. means for storing as kana string information; means for updating the input kana string information; a word dictionary having at least a reading and a kanji string for each word as word information; and activation by inputting and deleting kana from a keyboard. means for searching a word dictionary for a word having a pronunciation that matches the longest kana string after the word search position among words having a pronunciation length of the kana number taken after the word search position in the input kana string; Means for temporarily storing at least the reading length, kanji string, and number of kanji of the detected word as word information, and comparing the reading length of the detected word with the number to determine whether it is input or after the word search position in the outer string. means for storing at least the number of words, the number of kanji for each word, and the kanji string of the output kanji string as output kanji string information; means for updating the output kanji string information; and means for displaying the output kanji string. , and each time an input kana is added or deleted, the longest matching pronunciation with the kana string after the word search position among the words with a pronunciation length of kana number removed after the word search position in the input kana string. The number of kana after the word search position in the input kana string is compared with the reading length of the detected word, and input kana string information and output kanji string information are selectively generated based on the comparison results. , and further updates input kana string information and output kanji string information when instructed to finalize the kana-kanji conversion result.
JP58131202A 1983-07-18 1983-07-18 Kana/kanji converter Granted JPS6022226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58131202A JPS6022226A (en) 1983-07-18 1983-07-18 Kana/kanji converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58131202A JPS6022226A (en) 1983-07-18 1983-07-18 Kana/kanji converter

Publications (2)

Publication Number Publication Date
JPS6022226A true JPS6022226A (en) 1985-02-04
JPH0226256B2 JPH0226256B2 (en) 1990-06-08

Family

ID=15052423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58131202A Granted JPS6022226A (en) 1983-07-18 1983-07-18 Kana/kanji converter

Country Status (1)

Country Link
JP (1) JPS6022226A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6345676A (en) * 1986-08-13 1988-02-26 Hitachi Ltd Kana/kanji converting device
JPS63118975A (en) * 1986-11-07 1988-05-23 Hitachi Ltd Kana/kanji converter
JPS63292366A (en) * 1987-05-26 1988-11-29 Fujitsu Ltd Key word input controller
JPH01181154A (en) * 1988-01-14 1989-07-19 Sanyo Electric Co Ltd Kana/kanji converting device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5714971A (en) * 1980-07-02 1982-01-26 Nec Corp Kana japanese syllabary kanji chinese character conversion device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5714971A (en) * 1980-07-02 1982-01-26 Nec Corp Kana japanese syllabary kanji chinese character conversion device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6345676A (en) * 1986-08-13 1988-02-26 Hitachi Ltd Kana/kanji converting device
JPS63118975A (en) * 1986-11-07 1988-05-23 Hitachi Ltd Kana/kanji converter
JPH0528425B2 (en) * 1986-11-07 1993-04-26 Hitachi Ltd
JPS63292366A (en) * 1987-05-26 1988-11-29 Fujitsu Ltd Key word input controller
JPH01181154A (en) * 1988-01-14 1989-07-19 Sanyo Electric Co Ltd Kana/kanji converting device

Also Published As

Publication number Publication date
JPH0226256B2 (en) 1990-06-08

Similar Documents

Publication Publication Date Title
US5214583A (en) Machine language translation system which produces consistent translated words
JPS6022226A (en) Kana/kanji converter
JP2001134568A (en) Electronic dictionary
JPS5843062A (en) Kana (japanese syllabary)-kanji (chinese character) dictionary system
JPS6024621A (en) Preparing device of sentence written in japanese language
JPS58155443A (en) Japanese language inputting system
JPS5818730A (en) Character processing device
JPS59111518A (en) Sentence processor of kana (japanese syllabary)-kanji (chinese character) conversion system
JPS62163174A (en) Mechanical translating device
JPS60251461A (en) &#34;kana&#34;/&#34;kanji&#34; converter
JPS6175950A (en) Character correction system for close writing kana-to-kanji conversion
JPS6172359A (en) Character correction system for close writing kana-to-kanji conversion
JPS5856068A (en) Document editing device
JPH0758489B2 (en) Japanese processor
JPH0414380B2 (en)
JPS5930128A (en) Chinese character inputting method in chinese character input device
JPH01214966A (en) Word processor
JPS5932032A (en) Processor of japanese word information
JPS6015730A (en) Japanese word input device
JPS63221463A (en) Japanese word input device
JPS61157972A (en) Homophone learning device
JPH04363755A (en) Wordprocessor
JPS5887618A (en) Kana (japanese syllabary)-kanji(chinese character) conversion processing system
JPS62180463A (en) Kana-kanji converting system
JPH01204174A (en) Character processor