JPH0766379B2 - Kana-Kanji converter - Google Patents

Kana-Kanji converter

Info

Publication number
JPH0766379B2
JPH0766379B2 JP59139879A JP13987984A JPH0766379B2 JP H0766379 B2 JPH0766379 B2 JP H0766379B2 JP 59139879 A JP59139879 A JP 59139879A JP 13987984 A JP13987984 A JP 13987984A JP H0766379 B2 JPH0766379 B2 JP H0766379B2
Authority
JP
Japan
Prior art keywords
word
kana
string
kanji
row
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59139879A
Other languages
Japanese (ja)
Other versions
JPS6118067A (en
Inventor
誠 館林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP59139879A priority Critical patent/JPH0766379B2/en
Publication of JPS6118067A publication Critical patent/JPS6118067A/en
Publication of JPH0766379B2 publication Critical patent/JPH0766379B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は日本語文を読みとして入力し、これを漢字表記
として出力する、かな漢字変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a kana-kanji conversion device for inputting a Japanese sentence as reading and outputting it as kanji notation.

従来例の構成とその問題点 従来かな漢字変換装置として知られているものは日本語
文の読みを入力するキーボードと、日本語の多数の単語
の読みと漢字表記との対を記憶している単語辞書と、入
力された読みを有する単語を前記単語辞書中で検索する
単語検索部と、前記検索された単語の漢字表記を出力す
る出力部を備えたものであり、キーボードから入力され
た日本語文の読みをもつ単語又は単語列の漢字表記を出
力するものである。しかし日本語には読みが同一である
が異なる漢字表記を有する単語(同音異語、以下同音語
という)があるため、従来のかな漢字変換装置では、同
じ読みを有する複数の単語を出力し、操作者がそのうち
の一つを選ぶという同音語選択部を有するのが通例であ
る。さらに、一度選んだ単語は次の変換時には他の同音
語よりも優先的に出力するようにし、同音語選択の操作
を軽減する工夫がなされている。このためにある単語を
一意的に指定する情報(すなわち読みと漢字表記)と、
その単語を選択したという情報の対を一時的に記憶する
単語学習辞書が用いられる。そして上述の単語検索を行
なう場合、予め上記学習辞書内で入力された読みを有す
る単語を検索し、該当する単語があればその漢字表記を
出力するという方法がとられる。
Structure of conventional example and its problems Conventional kana-kanji conversion device is a word dictionary that stores a keyboard for inputting readings of Japanese sentences and pairs of readings of many words in Japanese and kanji notation. And a word search unit that searches the word dictionary for a word having the input pronunciation, and an output unit that outputs the Kanji notation of the searched word. It outputs the kanji notation of a word or word string that has readings. However, in Japanese, there are words that have the same reading but different kanji notation (same phonetic words, hereafter referred to as homophones). Therefore, in the conventional kana-kanji conversion device, multiple words having the same reading are output and operated. It is customary for the person to have a homonym selection unit that selects one of them. Further, the word once selected is output more preferentially than other homophones at the time of the next conversion, so that the operation of selecting the homophone is reduced. For this purpose, information that uniquely specifies a certain word (that is, reading and kanji notation),
A word learning dictionary is used that temporarily stores a pair of information that the word is selected. In the case of performing the above-mentioned word search, a method of searching for a word having a reading input in advance in the learning dictionary and outputting the kanji notation of the corresponding word is taken.

また、通常日本語文法で同音語という場合には一つの単
語の読みが別の単語の読みと一致している場合をいうの
であるが、従来のかな漢字変換装置ではこの概念を拡張
し、ある単語Aの読みが、これとは異なる複数の単語列
の連なりB1B2……Bnの読みと一致する場合に、上記単語
Aの同音語として上記単語の連なりB1B2……Bnを含める
場合がある。例えば「赤井」という固有名詞の読みと、
形容詞語幹「赤」と形容詞語尾終止形「い」の連なり
「赤い」の読みは同一であるが、従来のかな漢字変換装
置では、「赤井」という漢字表記と「赤い」という漢字
を同時に表出し、そのうちのいずれかを選択することを
可能としているものがある。またさらに、ある単語の連
なりC1……Cmの読みと、これとは異なる単語の連なりD1
……Dnの読みとが一致する場合にも上述の同音語選択の
操作を可能としているのもがある。例えば「シンキシ
ュ」という読みに対し名詞「新規」と接尾語「種」との
連なり「新機種」と、接頭語「新」と名詞「機種」との
連なり「新機種」とを出力し、操作者がそのうちの一つ
を選択するのである。この場合にも操作者の選んだ単語
列を次回には優先的に出力するように次のような工夫が
なされている。すなわち、上述の例で操作者が「新機
種」を選択したとき、「シンキシュ」という読み列に対
し先頭から最も長く一致する読み列をもつ単語「新規」
と、操作者が選択した単語列「新機種」の先頭の単語
「新」との対を一意的に示す情報と、「新」という単語
を選択したという情報との3つの組を単語学習辞書に一
時的に記憶する。そして、再び「シンキシュ」という読
み列が入力されたとき、単語検索部は読み列の先頭から
最長一致する読みをもつ単語が「新規」であることを検
出し、さらに単語学習辞書内で「新規」なる単語を検索
し、「新規」なる単語に対し「新」という単語が以前に
選択されていることを検出する。そして「シンキシュ」
という読み列の先頭ふた読みのかな列を「新」に変換し
た後入力読み列を「キシュ」に変更し、単語辞書の検索
によって「機種」という漢字表記を得て、最終的に「新
機種」という単語列の漢字表記を得るのである。
Also, in the Japanese grammar, when a homophone is used, it means that the reading of one word matches with the reading of another word. When the reading of A matches the reading of a plurality of different word strings B 1 B 2 ...... B n , the reading of A is a homonym of the word A, and the reading of B 1 B 2 ...... B n May be included. For example, when reading the proper noun "Akai",
The adjective stem “red” and the adjective ending ending “i” are read in the same way, but in the conventional kana-kanji conversion device, the kanji notation “Akai” and the kanji “red” are displayed simultaneously. Some allow you to choose one of them. Furthermore, a series of certain words C 1 …… C m is read and a series of different words D 1
...... Even if the reading of D n is the same, there are cases where the above-mentioned operation of selecting a homonym is possible. For example, in response to the reading "Sinquish", the noun "new" and the suffix "seed" in sequence "new model" and the prefix "new" and the noun "model" in sequence "new model" are output and operated. The person chooses one of them. Even in this case, the following measures are taken to preferentially output the word string selected by the operator next time. That is, when the operator selects the "new model" in the above example, the word "new" having the longest matching reading string from the beginning with respect to the reading string "thinkish"
And the information that uniquely indicates the pair of the first word “new” of the word string “new model” selected by the operator, and the information that the word “new” has been selected. Temporarily store in. Then, when the reading string "Sinquish" is input again, the word search unit detects that the word having the longest matching reading from the beginning of the reading string is "new", and further, "new" in the word learning dictionary. The word "new" is searched and the word "new" is previously selected for the word "new". And "Sinquish"
After converting the top-lid kana string of the reading string to "new", change the input reading string to "kis", obtain the kanji notation "model" by searching the word dictionary, and finally "new model" To get the kanji notation for the word string.

従来のかな漢字変換装置は上述のようにして異なる読み
長さを持つ単語間の選択学習機能を実現している。しか
し上述のようなかな漢字変換装置は、同一の入力かな列
に対して単語の区切りまで異なる複数の単語列の連なり
の漢字出力を表示することが前提となっている。
The conventional kana-kanji conversion device realizes the selective learning function between words having different reading lengths as described above. However, the Kana-Kanji conversion device as described above is premised on displaying the Kanji output of a series of a plurality of different word strings up to the word break for the same input Kana string.

一方、ある入力かな列に対するかな漢字変換の漢字出力
が誤った(ユーザの所望しない)ものであるとき、その
入力かな列自体を区切る等の方法により、誤った変換結
果を容易に修正できる方法が考案されている。さらに、
この種のものに対して上述の単語選択学習機能を実現し
ているものもある。すなわち、特開昭59−9749号公報に
記載される方法においては、ユーザにより指定された単
語を暫定的に格納する辞書を一般単語辞書とは別個にシ
ステム上に構成し、一般単語辞書の検索を行なう前に無
条件にその暫定単語辞書の検索をラストインファストア
ウト等の検索規則で行なうことにより、見出し長の長短
により無駄な変換を行なう可能性を少なくできる、とし
ている。しかしながら、この方法においては、修正した
結果の単語を暫定辞書に記憶するに際し、当該入力かな
列と最長一致する単語が何であったかとは無関係に記憶
するため、本来一般単語辞書の検索により得られた単語
を出力すればよいところを、暫定辞書の単語を検索し優
先的に出力するため、誤った出力を生じるという欠点が
ある。例えば、「しんきしゅ」という入力に対して、1
回目の変換結果が「新規・種」であったところを、操作
者の操作により、「新・機種」と修正したものとする。
このときこの従来方法においては「しん=新」なる対応
が暫定辞書に登録される。そして「しんきしゅ」という
入力があった場合に、暫定辞書の検索結果を優先的に処
理することより「新・機種」という漢字表記が出力され
る。しかし、この登録処理に引き続いて、「しんだいし
ゃ」という入力があった場合、この方法においては、暫
定辞書の検索結果を優先的に処理するために、「新・台
車」という漢字出力が出力されてしまうという欠点があ
る。
On the other hand, when the kana-kanji conversion output for a certain input kana string is incorrect (not desired by the user), a method is devised that can easily correct the incorrect conversion result by dividing the input kana string itself. Has been done. further,
Some of these types implement the above-described word selection learning function. That is, in the method described in Japanese Patent Laid-Open No. 59-9749, a dictionary for temporarily storing words designated by the user is constructed on the system separately from the general word dictionary, and the general word dictionary is searched. By unconditionally performing a search of the provisional word dictionary by using a search rule such as last in fast out before performing, it is possible to reduce the possibility of unnecessary conversion due to the length of the heading. However, in this method, when the corrected word is stored in the provisional dictionary, it is stored regardless of what word is the longest match with the input kana string, so it was originally obtained by searching the general word dictionary. Where words should be output, the words in the provisional dictionary are searched for and output is given priority, which has the disadvantage of producing incorrect output. For example, for an input of "Shinkishu", 1
It is assumed that the place where the conversion result for the second time is "new / type" is corrected to "new / model" by the operation of the operator.
At this time, in this conventional method, the correspondence "shin = new" is registered in the provisional dictionary. When the user inputs "Shinkyu", the Kanji notation "new model" is output by preferentially processing the search results of the temporary dictionary. However, if there is an input of "Shindaisha" following this registration process, in this method, the Kanji output of "new dolly" is output in order to process the search results of the temporary dictionary with priority. There is a drawback that it will be done.

発明の目的 本発明は従来のかな漢字変換装置の有していた上述の欠
点に鑑み、装置の出力漢字列を操作者が再変換のための
操作によって別の漢字例に修正したとき、それ以降に再
び同じ読み列が入力された場合には操作者が選択した単
語の漢字出力を優先的に行なうことを目的としている。
さらにこのとき操作者が選択した単語の読み列を先頭部
分に含む別の読み列が入力された場合には上記優先処理
を行なわないことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned drawbacks of the conventional kana-kanji conversion device, and when the operator corrects the output kanji string into another kanji example by an operation for re-conversion, When the same reading string is input again, it is intended to preferentially output the kanji of the word selected by the operator.
Further, at this time, when another reading string including the reading string of the word selected by the operator at the head portion is input, the above-described priority process is not performed.

発明の構成 本発明によるかな漢字変換装置は上記目的を達成するた
め、入力されたかな列を記憶するかな列記憶部と、日本
語の単語を記憶する単語辞書と、操作者の再変換のため
の操作によって前記かな列記憶部に記憶されるかな列の
先頭から始まる部分列を指定する前方かな列指定手段
と、前記かな列記憶部に記憶されるかな列又は前記部分
かな列の先頭から最長一致する読みを有する最長一致単
語を前記単語辞書において検索する単語検索手段と、入
力されたかな列に対して前記単語検索手段が検索した前
記最長一致単語の読み情報を記憶する最大最長一致単語
一時記憶部と、前記最大最長一致単語の読み情報と操作
者の再変換の操作により指定された部分かな列に対して
前記単語検索手段が検索した前記最長一致単語のうち操
作者が選択決定したものである選択決定単語からなる単
語学習情報を記憶する単語学習情報記憶部と、前記単語
学習情報を前記単語学習情報記憶部に登録する単語学習
情報登録部と、指定されたかな列を前記単語学習情報記
憶部において検索し、該当する単語学習情報を取り出す
単語学習情報検索部を有し、入力されたかな列を漢字列
に変換する際、前記単語検索手段は前記単語辞書におい
て最大一致単語を検索し、前記単語学習情報検索部はこ
の最大一致単語と同じ読み情報を有する単語学習情報を
前記単語学習情報記憶部において検索し、もし検索が成
功すれば検索された単号学習情報に含まれる選択決定単
語の漢字表記を前記最大一致単語の漢字表記よりも優先
的に出力し、一方前記検索が不成功であれば前記最大一
致単語の漢字表記を優先的に出力することを特徴とする
ものである。
In order to achieve the above-mentioned object, the kana-kanji conversion device according to the present invention has a kana string storage unit that stores an input kana string, a word dictionary that stores Japanese words, and an operator re-conversion device. A forward kana row designating means for designating a partial row starting from the beginning of the kana row stored in the kana row storage section by operation, and a longest match from the beginning of the kana row or the partial kana row stored in the kana row storage section Word searching means for searching a longest matching word having a reading in the word dictionary, and maximum longest matching word temporary storage for storing reading information of the longest matching word searched by the word searching means for an inputted kana string. Part, and the reading information of the maximum longest matching word and the partial kana string designated by the operator's reconversion operation, the operator selects one of the longest matching words searched by the word searching means. A word learning information storage unit that stores word learning information composed of selection-determined words that have been selected, a word learning information registration unit that registers the word learning information in the word learning information storage unit, and a designated kana string Has a word learning information retrieval unit that retrieves the corresponding word learning information from the word learning information storage unit, and converts the input kana string into a kanji string, the word searching means is the maximum in the word dictionary. The word learning information search unit searches for a matching word, and the word learning information search unit searches the word learning information storage unit for the word learning information having the same reading information as the maximum matching word, and if the search is successful, the searched single number learning information. Output the Kanji notation of the selected decision word prior to the Kanji notation of the maximum matching word, while giving priority to the Kanji notation of the maximum matching word if the search is unsuccessful. It is characterized in that output.

実施例の説明 第1図は本発明の一実施例におけるかな漢字変換装置の
ブロック図である。同図において1はかな入力部で、た
とえば日本工業規格JiSC−6233で規定されるカナ鍵盤、
あるいはローマ字かな変換装置又は単音節認識装置又は
他のかな文字列記憶装置である。2はかな列記憶部でか
な入力部1から入力されたかな列Kとそのかな数Lを記
憶している。そして後述する単語検索部に出力されるの
はかな列Kの先頭に始まりかな数がL以下の系列であ
る。以下ではこれを部分かな列Mといいそのかな数をN
と記す。初期状態においてはN=Lである。ここで、以
下の説明においては簡単のためにかな入力部1から入力
されたかな列は清音(あ,か,め等)も濁音・半濁音
(が,ば,ぱ等)も、拗音(きゃ,じゃ等)もすべて一
単位としてコード化されてかな列記憶部2に格納されて
いるものとする。このようなコード化規則の一例を第2
図に示す。かな列記憶部2の内容は後述する入力かな列
表示部において表示される。
Description of Embodiments FIG. 1 is a block diagram of a kana-kanji conversion device in one embodiment of the present invention. In the figure, 1 is a kana input section, for example, a Kana keyboard specified in Japanese Industrial Standard JiSC-6233,
Alternatively, it is a Romaji-kana conversion device, a monosyllabic recognition device, or another kana character string storage device. The kana row K and the number L of kana input from the kana input unit 1 are stored in the kana row storage unit 2. Then, a sequence in which the number of kana starts at the head of the kana sequence K and is equal to or less than L is output to the word search unit described later. In the following, this is called a partial kana sequence M and the number of kana is N
Is written. In the initial state, N = L. Here, in the following description, for the sake of simplicity, the kana sequence input from the kana input unit 1 is not limited to a clean sound (a, ka, mel, etc.), a dakuon / semi-voiced sound (ga, baba, pat, etc.) , Etc. are all coded as one unit and stored in the kana sequence storage unit 2. The second example of such an encoding rule
Shown in the figure. The contents of the kana row storage unit 2 are displayed on the input kana row display unit described later.

3は単語辞書で、日本語の単語の読み情報と漢字表記情
報と品詞情報とが組となって多数記憶されている。ここ
で単語の読み情報とは当該の単語をどう発音するかを示
すものである。例えば「授業」という単語は「じゅ」
「ぎょ」「う」という読み情報を持つものとする。この
読み情報のコード化の規則はかな列記憶部2の説明にお
いて行なったのと同様、清音も濁音・半濁音も拗音もそ
れぞれ1単位としてコード化されているものとする。ま
た単語の漢字表記情報とは当該の単語をどう書き表わす
かを示すものである。これは例えば日本工業規格JiS
C−6226に定める漢字コードによってコード化される。
また当該単語を通常ひらがなで書き表わす場合もこれを
漢字表記情報と呼ぶものとする。
Reference numeral 3 denotes a word dictionary, which stores a large number of pairs of Japanese word reading information, kanji writing information, and part-of-speech information. Here, the word reading information indicates how to pronounce the word. For example, the word "class" is "ju".
It is assumed that it has the reading information "Gyo" and "U". It is assumed that the rules for coding the reading information are coded as one unit for each of the pure sound, the dull sound, the semi-voiced sound, and the jumble sound, as in the case of the description of the kana string storage unit 2. The kanji notation information of a word indicates how to write the word. This is, for example, Japanese Industrial Standard JiS
It is encoded by the Kanji code defined in C-6226.
Also, when the word is usually written in Hiragana, this is also referred to as Kanji notation information.

4は単語検索部で、かな列記憶部2に記憶されているか
な列のうちの部分かな列の先頭からのかな列と最も長く
一致する読み情報をもつ単語を単語辞書3中で検索し、
上記検索された単語の読み情報Vと漢字表記情報Wの組
を後述する最長一致単語一時記憶部に転送する。なお、
本実施例においては単語検索部4は操作者の指示(例え
ば「変換キー」(図示せず)の押下)により起動するも
のとする。
Reference numeral 4 denotes a word search unit, which searches the word dictionary 3 for a word having reading information that has the longest match with a kana string from the beginning of a partial kana string stored in the kana string storage unit 2.
The set of the reading information V and the Chinese character notation information W of the retrieved word is transferred to the longest matching word temporary storage unit described later. In addition,
In this embodiment, the word search unit 4 is activated by an operator's instruction (for example, pressing a "conversion key" (not shown)).

5は最長一致単語一時記憶部で、単語検索部4で検索さ
れた1つの単語の読み情報Vと漢字表記情報Wの組を一
時的に記憶する。なお同音語についての処理説明は割愛
する。
Reference numeral 5 denotes a longest matching word temporary storage unit that temporarily stores a set of the reading information V and the Kanji notation information W of one word searched by the word searching unit 4. The description of the processing for the same phoneme is omitted.

6はかな列前部分取出起動部で、起動信号を発生する1
つのキー(例えば「修正キー」(図示せず))として実
現され、本キーの押下により後述するかな列前部分取出
部に対して起動信号を送出する。本キーの押下は操作者
があるかな列を変換した結果の漢字表記が所望するので
はない場合、再びかな漢字変換するという意図に対応し
ている。7はかな列前部分取出部で、かな列前部分取出
起動部6からの起動信号をうけるとかな列記憶部2に格
納されているかな列のうちの先頭から始まる部分かな列
を次のように指定してこれを単語検索部4に対して送出
する。すなわち、かな列記憶部2に記憶されている部分
かな列のかな数Nの値を、現在の値より少ない正数に設
定する。本実施例においてはN=N−1と設定するもの
とする。同時にかな列前部分取出部は後述する入力かな
列表示部を起動する。またかな列前部分取出部7は、単
語検索部4に対し部分かな列を送出する際にかな列の前
部分を取り出した旨の信号を後述するかな列前部分取出
記憶部に対して送出する。8はかな列前部分取出記憶部
で、一つの部分かな列取出フラグRを有し、この部分か
な列取出フラグRには、かな列前部分取出部7が単語検
索部4に対して前部分かな列を送出した旨の信号を送出
した場合には論理“1"が、それ以外の場合には論理“0"
が記憶されている。つまりR=0は現在入力したかな列
に対してかな漢字変換を行う状態であることに対応し、
R=1は入力されたかな列に対して再変換を行う状態で
あることに対応している。9は最大最長一致単語記憶部
で最大最長一致読み列レジスタUをもち、単語検索部4
が送出し最長一致単語一時記憶部5に格納されている最
長一致単語Pの読み列Vとかな列前部分取出記憶部8に
記憶されている情報Rとを読み取り、内部にある最長一
致読み列レジスタUの記憶状態を次のように設定する。
すなわち、 Rが“0"のときUにVの値を格納し、 Rが“1"のときUの値を以前のまま保持する。
6 Hana row front part take-out activation unit, which generates an activation signal 1
This key is realized as one key (for example, a "correction key" (not shown)), and when this key is pressed, a start signal is sent to the Kana row front partial take-out section described later. The depression of this key corresponds to the intention of converting the kana-kanji again when the operator does not desire the kanji notation resulting from the conversion of the kana string. Reference numeral 7 denotes a kana row front partial take-out section, which receives a start signal from the kana row front partial take-out activation section 6 and selects a partial kana row starting from the beginning among the kana rows stored in the kana row storage section 2 as follows. And sends it to the word search unit 4. That is, the value of the kana number N of the partial kana row stored in the kana row storage unit 2 is set to a positive number smaller than the current value. In this embodiment, N = N-1 is set. At the same time, the kana row front part extraction section activates an input kana row display section described later. Further, the kana string front partial extraction unit 7 sends a signal indicating that the front part of the kana string is taken out to the word search unit 4 to the word search unit 4 to the kana string front partial extraction storage unit described later. . 8 is a kana string front part extraction storage unit, which has one partial kana string extraction flag R. In this partial kana string extraction flag R, the kana string front part extraction part 7 is a front part to the word search part 4. Logical "1" when a signal indicating that the kana string has been transmitted is transmitted, and logical "0" otherwise.
Is remembered. In other words, R = 0 corresponds to the state where Kana-Kanji conversion is performed on the currently input Kana string,
R = 1 corresponds to a state in which re-conversion is performed on the input kana sequence. Reference numeral 9 denotes a maximum / longest match word storage unit having a maximum / longest match reading string register U, and a word search unit 4
Read out the read string V of the longest matching word P stored in the temporary longest matching word temporary storage unit 5 and the information R stored in the Kana string front part extraction storage unit 8 and the internal longest matching reading string The storage state of the register U is set as follows.
That is, when R is "0", the value of V is stored in U, and when R is "1", the value of U is retained as before.

つまり、かな列前部分取出部7が起動されていない状態
では最大最長一致読み列レジスタUの内容を最長一致単
語Pの読み列に更新し、かな列前部分取出部7が起動さ
れている状態では上記更新を行なわないのである。以上
のようにして最大最長一致単語一時記憶部には操作者が
かな入力部から入力したかな列と最も長く一致した単語
の読み列が一時記憶される。
That is, in the state where the kana-row front partial extraction unit 7 is not activated, the contents of the maximum longest matching reading sequence register U are updated to the reading sequence of the longest matching word P, and the kana-row front partial extraction unit 7 is activated. Then, the above update is not performed. As described above, the maximum longest-matching word temporary storage unit temporarily stores the reading string of the word that has the longest match with the kana string input from the kana input unit by the operator.

10は単語学習情報登録部で、後述する単語決定部からの
起動信号を受けたとき、最大最長一致単語一時記憶部9
に格納されている最大最長一致単語の読み列Uと、その
時点で最長一致単語一時記憶部5に記憶されている最長
一致単語(これを選択決定単語という)の読み列Vとそ
の漢字表記情報Wとの組(U,V,W)を後述する単語学習
情報記憶部に対して転送する。
Reference numeral 10 denotes a word learning information registration unit which, when receiving a start signal from a word determination unit to be described later, has a maximum longest matching word temporary storage unit 9
The maximum longest matching word reading string U stored in, the longest matching word reading string V currently stored in the longest matching word temporary storage unit 5 (this is referred to as a selected decision word), and its Kanji writing information. A set (U, V, W) with W is transferred to the word learning information storage unit described later.

11は単語学習情報記憶部で、単語学習情報登録部10より
通知される単語学習情報(U,V,W)を記憶する。さらに
この情報は後述する単語学習情報検索部により参照され
る。
A word learning information storage unit 11 stores the word learning information (U, V, W) notified from the word learning information registration unit 10. Further, this information is referred to by the word learning information search unit described later.

12は単語学習情報検索部で、最長一致単語一時記憶部5
に格納されている最長一致単語の読み列Vと一致する読
み列を単語学習情報記憶部11の最大最長一致読み列Uの
中で検索する。この検索が成功し、最大一致読み列とし
てU0が見つかった場合にはこの読み列U0に対応する選択
決定単語読みV0とその漢字表記情報W0を後述する漢字出
力部に対して送出する。一方、上記検索が不成功に終っ
た場合には、最長一致単語一時記憶部5に記憶されてい
る単語の読み列Vとその漢字表記情報Wとを後述する漢
字出力部に対して送出する。
Reference numeral 12 is a word learning information search unit, which is a longest matching word temporary storage unit 5
The reading string that matches the reading string V of the longest matching word stored in is searched for in the maximum longest matching reading string U of the word learning information storage unit 11. This search is successful, sent to the kanji output unit to be described later V 0 and the Chinese characters information W 0 read selection decision word corresponding to the read column U 0 in the case where U 0 is found as the maximum matching read column To do. On the other hand, when the above search is unsuccessful, the reading sequence V of the words stored in the longest matching word temporary storage unit 5 and the Kanji writing information W thereof are sent to the Kanji output unit described later.

13は漢字出力部で、かな列記憶部2に記憶されているか
な列のうち、単語学習情報検索部12により通知される単
語の読み列の部分はこの単語の漢字表記情報を出力し、
上記以外のかな列はその漢字表記(漢字コードのひらが
な部)を出力する。この出力形態は例えばCRT画面上の
表示であってもよい。
A kanji output unit 13 outputs kanji notation information of the word in the kana string stored in the kana string storage unit 2 for the word reading string portion notified by the word learning information search unit 12.
The kana columns other than the above output the kanji notation (the hiragana part of the kanji code). This output form may be a display on a CRT screen, for example.

14は単語決定部で、1つのファンクションキーで実現さ
れ、このキーの押下によって単語学習情報登録部10が起
動される。またかな列一時記憶部2の内容がクリアされ
る。本キーは操作者が漢字出力部13に表示中の単語が所
望のものであることを確認したときに押下されるもので
ある。
Reference numeral 14 is a word determination unit, which is realized by one function key, and the word learning information registration unit 10 is activated by pressing this key. The contents of the kana row temporary storage unit 2 are cleared. This key is pressed when the operator confirms that the word displayed on the Kanji output unit 13 is the desired word.

15は入力かな列表示部で、かな列記憶部2に記憶される
かな列を表示すると共に、部分かな列を他と区別して表
示する。
An input kana row display unit 15 displays the kana row stored in the kana row storage unit 2 and displays the partial kana row separately from the others.

上記のように構成された装置において、以下かな漢字変
換を行なう際の動作について第3図に示すフローチャー
トを用いて説明する。ここで各処理に続く処理番号が明
示されていない場合はイロハ順で次の処理番号の処理に
進む。
In the apparatus configured as described above, the operation for performing the following Kana-Kanji conversion will be described with reference to the flowchart shown in FIG. If the process number following each process is not specified here, the process proceeds to the process of the next process number in the order of Iroha.

〔通常の入力〕[Normal input]

(イ)(かな列入力・記憶)入力待ち状態においてかな
入力部1よりかな列Kを入力する。入力されたかな列は
かな列記憶部2に追加格納される。部分かな列のかな数
を表わす内部レジスタNには記憶されているかな列のか
な数Lが設定される。さらにかな列前部分取出記憶部14
の部分かな列取出フラグRは論理“0"(すなわち変換モ
ード)にセットされる。また入力かな列表示部14はかな
列記憶部2に記憶されているかな列を表示する。この時
点ではすべてのかな列は部分かな列であるため、すべて
のかな列は部分かな列表示となり、例えばハッチングが
かけられた表示となる。この後入力待ちとなる。
(B) (Kana row input / storage) In the input waiting state, the kana row K is input from the kana input unit 1. The input kana sequence is additionally stored in the kana sequence storage unit 2. The number Kana of kana columns stored is set in the internal register N which represents the number of kana of partial kana columns. Further kana row front extraction storage unit 14
The partial kana string extraction flag R is set to logic "0" (that is, conversion mode). In addition, the input kana row display unit 14 displays the kana row stored in the kana row storage unit 2. At this point in time, all kana rows are partial kana rows, so all kana rows are displayed as partial kana rows, for example, hatched display. After this, input is awaited.

(ロ)(単語検索)操作者の「変換キー」(図示せず)
の押下に対応して単語検索部4はかな列記憶部2に記憶
されているかな列のうちの部分かな列Mの先頭からのか
な列と最も長く一致する読み情報をもつ単語Pを単語辞
書3中で検索し、上記検索された単語Pの読み情報Vと
漢字表記情報Wの組を最長一致単語一時記憶部5に転送
する。
(B) (Word search) Operator's "conversion key" (not shown)
In response to the depression of, the word search unit 4 searches the word dictionary for the word P having the longest reading information that matches the kana string from the beginning of the partial kana string M among the kana strings stored in the kana string storage unit 2. 3, and the set of the reading information V and the Chinese character notation information W of the searched word P is transferred to the longest matching word temporary storage unit 5.

(ハ)(最大最長一致単語更新)最大最長一致単語一時
記憶部9は、最長一致単語一時記憶部5に格納されてい
る最長一致単語Pの読み情報Vとかな列前部分取出記憶
部8に記憶されている情報Rとを読み取り、内部にある
最大最長一致読み列レジスタUの記憶状態を次のように
設定する。すなわち Rが“0"のときUにVの値を設定し、 Rが“1"のときUの値を以前のまま保持する。
(C) (Updating maximum longest matching word) The maximum longest matching word temporary storage unit 9 stores the reading information V of the longest matching word P stored in the longest matching word temporary storage unit 5 and the kana row front part extraction storage unit 8. The stored information R is read, and the storage state of the maximum longest longest coincidence read sequence register U is set as follows. That is, when R is "0", the value of V is set in U, and when R is "1", the value of U is retained as it was.

(ニ)(学習情報検索)単語学習情報検索部12は最長一
致単語一時記憶部5に格納されている最長一致単語の読
み列Vを単語学習情報記憶部11の最長一致読み列Uの中
で検索する。この検索が成功し、最長一致読み列として
U0がみつかった場合にはこの読み列U0に対応する選択決
定単語読み列V0とその漢字表記情報W0を漢字出力部13に
対して送出する。一方、上記検索が不成功に終った場合
は最長一致単語一時記憶部5に記憶されている単語の読
み列Vとその漢字表記情報Wとを漢字出力部に対して送
出する。
(D) (Learning information search) The word learning information searching unit 12 sets the reading string V of the longest matching word stored in the longest matching word temporary storage unit 5 in the longest matching reading string U of the word learning information storage unit 11. Search for. This search succeeds and is the longest match reading string
It sends the column V 0 and the Chinese characters information W 0 read selection decision word corresponding to the read column U 0 against kanji output unit 13 when the U 0 found. On the other hand, when the above search is unsuccessful, the reading sequence V of the words stored in the longest matching word temporary storage unit 5 and the Kanji writing information W thereof are sent to the Kanji output unit.

(ホ)(漢字表記出力)漢字出力部13はかな列記憶部2
に記憶されているかな列のうち、単語学習情報検索部12
により通知される単語の読み列の部分はこの単語の漢字
表記情報を出力し、上記以外のかな列はその漢字表記
(ひらがな)を出力する。この後入力待ち状態となる。
(E) (Kanji notation output) Kanji output unit 13 Kana row storage unit 2
Of the kana strings stored in, the word learning information retrieval unit 12
The part of the reading column of the word notified by is output the kanji notation information of this word, and the kana string other than the above outputs the kanji notation (hiragana). After this, the system waits for input.

〔かな列前部分取出し〕[Kana row front part removal]

(ヘ)(かな列前部分取出し)入力待ち状態においてか
な列前部分取出し起動部6を起動すると、かな列前部分
取出部7が起動される。そしてかな列前部分取出部7は
かな列記憶部2に記憶されている部分かな列のかな数N
の値をN−1と設定する。さらにかな列前部分取出部7
はかな列前部分取出記憶部8の部分かな列取出フラグR
の値を論理“1"(すなわち再変換モード)に設定する。
この時入力かな列表示部14はかな列記憶部2に記憶され
ているかな列と、その部分かな列を表示する。この後入
力待ちとなる。
(F) (Kana row front partial take-out) When the kana row front partial take-out activation section 6 is activated in the input waiting state, the kana row front partial take-out section 7 is activated. Then, the kana row front part extraction unit 7 determines the number N of kana rows of the partial kana row stored in the kana row storage unit 2.
Is set to N-1. Kana row front part extraction part 7
Partial kana row extraction flag R of partial row front extraction storage unit 8
Set the value of to a logical "1" (ie reconversion mode).
At this time, the input kana row display unit 14 displays the kana row stored in the kana row storage unit 2 and the partial kana row. After this, input is awaited.

〔単語決定〕[Word decision]

(ト)(単語決定)入力待ち状態において、単語決定部
14であるファンクションキーが押下される。
(G) (Word decision) While waiting for input, the word decision unit
The function key 14 is pressed.

(チ)(単語学習情報登録)このとき単語学習登録部10
は最大最長一致単語一時記憶部9に格納されている最大
最長一致単語の読み列Uと、最長一致単語一時記憶部5
に記憶されている最長一致単語の読み列Vとその漢字表
記情報Wとの組(U,V,W)を単語学習情報記憶部11に記
憶する。
(H) (Word learning information registration) At this time, the word learning registration unit 10
Is the reading sequence U of the maximum longest matching word stored in the maximum longest matching word temporary storage unit 9, and the longest matching word temporary storage unit 5
The word learning information storage unit 11 stores a set (U, V, W) of the reading string V of the longest matching word and its kanji notation information W stored in.

さらに単語決定部14はかな列一時記憶部2に対してクリ
ア信号を送出する。この後入力待ち状態となる。
Further, the word determination unit 14 sends a clear signal to the kana string temporary storage unit 2. After this, the system waits for input.

以上のように構成された本実施例のかな漢字変換装置の
動作の一具体例を次に説明する。
A specific example of the operation of the kana-kanji conversion device of the present embodiment configured as above will be described below.

いま、オペレータが「走らない」という日本語文を作成
する場合を想定する。そのためにオペレータはかな入力
部より上記日本語文の読みをかなで入力する。「ハ」
「シ」「ラ」「ナ」「イ」というかなを順次入力しその
後「変換キー」を押した場合の本かな漢字変換装置は次
のように動作する。動作中の本かな漢字変換装置の各部
の状態を第4図に示す。
Now, assume that the operator creates a Japanese sentence "does not run". Therefore, the operator inputs the Japanese sentence reading with a kana from the kana input section. "C"
The book kana-kanji conversion device operates when the kana such as “shi”, “la”, “na”, and “i” are sequentially input and then the “conversion key” is pressed, as follows. FIG. 4 shows the state of each part of the book-kana-kanji conversion device in operation.

第4図において、I列は入力されたかなおよび制御キー
を示している。K列はかな列記憶部2のかな列の記憶状
態である。またこれは入力かな列表示部14のかな列表示
状態でもある。L列はかな列記憶部2のかな数,M列は同
部の部分かな列の記憶状態である。またこれは入力かな
列表示部14の部分かな列表示状態でもある。N列は同部
の部分かな列のかな数,R列はかな列前部分取出記憶部8
の部分かな列取出フラグ,U列は最大最長一致単語の読み
情報,V列は最長一致単語一時記憶部5の最長一致単語P
の読み情報V,W列は同部の最長一致単語Pの漢字出力情
報W,V0列は単語学習情報検索部12が単語学習情報記憶部
11を検索したときの検索結果の選択決定単語の読み列,W
0列は同選択決定単語の漢字表記情報,O列は漢字出力部
の出力漢字表記情報である。またI列において「変」は
変換キー,「前」は前部分取り出しキー,「決」は決定
キーの入力をそれぞれ表わす。
In FIG. 4, the column I shows the input kana and the control key. Column K is the storage state of the kana column of the kana column storage unit 2. This is also the kana column display state of the input kana column display unit 14. The L column is the number of kana in the kana column storage unit 2, and the M column is the storage state of the partial kana column of the same unit. This is also the partial kana column display state of the input kana column display unit 14. N row is the number of kana of the partial kana row of the same part, R row is the front row partial extraction storage section 8
Partial kana string extraction flag, U column is reading information of the maximum longest matching word, and V column is the longest matching word P in the longest matching word temporary storage unit 5.
The reading information V, W columns are the kanji output information W, V 0 of the longest matching word P in the same part, and the word learning information retrieval unit 12 is the word learning information storage unit for the W, V 0 columns.
Selection of search results when 11 is searched Determined word reading sequence, W
Column 0 is the kanji notation information of the same selection decision word, and column O is the output kanji notation information of the kanji output section. Further, in column I, "change" represents input of a conversion key, "previous" represents input of a front partial extraction key, and "decision" represents input of a determination key.

以下の具体例の各説明に続くかっこ内はその説明に対応
する第4図内の箇所を示すものである。
The parentheses following each description of the following specific examples show the places in FIG. 4 corresponding to the description.

(0)まず初期状態においてかな列記憶部2の記憶内容
はクリアされ、かな列前部分取出記憶部8のレジスタR
に論理“0"がセットされる。
(0) First, in the initial state, the stored contents of the kana-row storage unit 2 are cleared, and the register R of the Kana-row front extraction storage unit 8 is
Is set to logic "0".

(1)まずオペレータが「ハ」というかなを入力したと
きかな列記憶部2にはかな列K「ハ」が記憶される。ま
た部分かな列Mも「ハ」となる(第4図第1行K列,M
列)。同様に「シ」「ラ」「ナ」「イ」というかなを入
力する。そして「変換」キーを押す。(第4図第6行I
列) (2)単語検索部4は単語情報記憶部3中でかな列「ハ
シラナイ」を読み列として有する単語を検索する。単語
情報記憶部3の記憶状態が第5図に示すようなものであ
ると、最長一致単語Pとして読み列「ハシラ」、漢字表
記情報「柱」である単語が検索される。(第4図第6行
V列,W列) (3)最大最長一致単語一時記憶部9は、かな列前部分
取出記憶部8のレジスタRの値が“0"であるので最大最
長一致読み列レジスタUの値を「ハシラ」とする(第6
図第1行U列)。
(1) First, when the operator inputs a kana "ha", the kana column K "ha" is stored in the kana column storage unit 2. In addition, the partial kana row M also becomes “C” (FIG. 4, row 1, column K, M).
Column). Similarly, input kana such as "shi""la""na""i". Then press the "Convert" key. (Fig. 4, line 6 I
(Column) (2) The word search unit 4 searches the word information storage unit 3 for a word having the kana string “Hashiranai” as a reading string. If the storage state of the word information storage unit 3 is as shown in FIG. 5, the longest matching word P is searched for the reading string “Hashira” and the kanji notation information “pillar”. (FIG. 4, row 6, column V, column W) (3) The maximum longest matching word temporary storage unit 9 is the maximum longest matching reading because the value of the register R of the Kana string front partial extraction storage unit 8 is “0”. Let the value of the column register U be "Hashira" (6th
(1st row, U column).

(4)単語学習情報検索部12は最長一致単語一時記憶部
5に格納されている読み列「ハシラ」を単語学習情報記
憶部11の最長一致読み列の中で検索する。第6図aは単
語学習情報記憶部11の記憶状態の一例を示したものであ
る。本例においては第U列の中で「ハシラ」が検索され
ないので、単語学習情報検索部12は最長一致単語一時記
憶部5に記憶されている単語の読み列「ハシラ」とその
漢字表記情報「柱」を漢字出力部13に対して出力する
(第4図第6行V0列,W0列)。
(4) The word learning information retrieval unit 12 retrieves the reading string “Hashira” stored in the longest matching word temporary storage unit 5 in the longest matching reading string of the word learning information storage unit 11. FIG. 6a shows an example of the storage state of the word learning information storage unit 11. In this example, since "Hashira" is not searched in the U-th column, the word learning information search unit 12 causes the word reading string "Hashira" stored in the longest matching word temporary storage unit 5 and its Kanji notation information ""Pole" is output to the Kanji output unit 13 (FIG. 4, line 6, column V 0, column W 0 ).

(5)漢字出力部13は上記漢字表記情報「柱」を出力す
る。そして残りの部分をひらがなで出力する。(第4図
第6行O列) (6)この状態で漢字出力部13の出力状態(O列)は
「柱ない」でありオペレータが所望するものとは異な
る。そこでオペレータはかな列前部分取出起動部6であ
るファンクションキーを押下する。(第4図第7行I
列) (7)この時、かな列前部分取出部7は部分かな列のか
な数の値を現在の値より1少ない4に設定する(第4図
第7行N列)。そして入力かな列表示部14は部分かな列
を表示する(第4図第7行M列)。
(5) The Chinese character output unit 13 outputs the Chinese character notation information “pillar”. Then, the remaining part is output in hiragana. (FIG. 4, row 6, column O) (6) In this state, the output state (column O) of the Kanji output unit 13 is “no pillar”, which is different from what the operator desires. Then, the operator presses the function key which is the front extraction section 6 of the kana row. (Fig. 4, line 7 I
(Column) (7) At this time, the kana row front partial extraction unit 7 sets the value of the number of kana of the partial kana row to 4, which is one less than the current value (FIG. 4, row 7, column N). Then, the input kana column display unit 14 displays the partial kana column (row 7, column M in FIG. 4).

(8)この後かな列前部分取出部7はかな列前部分取出
記憶部8の部分かな列取出フラグRの値を論理“1"に設
定する(第4図第7行R列)。この後入力待ちとなる。
(8) After this, the kana-row front partial take-out unit 7 sets the value of the partial kana-row take-out flag R of the kana-row front partial take-out storage unit 8 to logical "1" (FIG. 4, row 7, column R). After this, input is awaited.

(9)ここで操作者が「変換キー」を押す。この後本装
置は第3図(ロ)〜(ホ)の処理を行なう。ここで第3
図(ハ)の処理において、上記Rの値が“1"であるので
最大最長一致単語読み列Uは現在の値「ハシラ」のまま
保持される(第4図第8行U列)。
(9) Here, the operator presses the "conversion key". After this, the present apparatus performs the processing shown in FIGS. The third here
In the process of FIG. 6C, since the value of R is "1", the maximum longest matching word reading string U is held as the current value "Hashira" (FIG. 4, row 8, column U).

この処理終了後の本装置の内部状態は第4図第8行に示
すものとなる。
The internal state of the apparatus after this processing is as shown in FIG. 4, line 8.

(10)この時点での漢字出力状態は「柱ない」でありオ
ペレータが所望するものではない。そこでオペレータは
さらにかな列前部分取出ファンクションキーを押下す
る。
(10) The kanji output state at this point is “no pillar”, which is not what the operator desires. Then, the operator further presses the front row partial extraction function key.

(11)この時かな列前部分取出部7は部分かな列のかな
数Nの値を現在の値4より1少ない値すなわち3に設定
する(第4図第9行M列N列)。そして本装置は入力待
ちとなる。
(11) At this time, the kana row front partial extraction unit 7 sets the value of the kana number N of the partial kana row to one less than the current value 4, that is, 3 (FIG. 4, row 9, column M, column N). Then, this device waits for input.

(12)この後操作者は「変換キー」を押す。本装置は第
3図の(ロ)〜(ホ)の処理を行なう。この処理終了後
の本装置の内部状態は第4図第10行に示すものとなる。
(12) After this, the operator presses the "conversion key". This apparatus performs the processes (b) to (e) in FIG. The internal state of the device after this process is shown in FIG. 4, line 10.

(13)この状態での漢字出力状態は「柱ない」でありオ
ペレータが所望するものではないので、オペレータはさ
らにかな列前部分取出ファンクションキーを押下する。
(13) Since the kanji output state in this state is “no pillar” and is not what the operator desires, the operator further presses the kana row front part extraction function key.

(14)この時Nの値は2であり、部分かな列は「ハシ」
となる。そして本装置は入力待ちとなる。この後操作者
は「変換キー」を押す。この後本装置は第3図(ロ)〜
(ホ)の処理を行なう。ここで特に注意すべきことは第
3図(ハ)の処理において前述のRの値が“1"であるの
で、この場合の最長一致単語の読みが「ハシ」であるに
もかかわらず最大最長一致単語読み列は現在の値「ハシ
ラ」のまま保持されることである。
(14) At this time, the value of N is 2, and the partial kana row is "Hashi"
Becomes Then, this device waits for input. After this, the operator presses the "conversion key". After this, this device is shown in FIG.
Perform the processing of (e). It should be noted here that the value of R is "1" in the process of FIG. 3C, so that the longest matching word in this case has the maximum longest even though the reading of the longest matching word is "Hashi". The matching word reading string is to be retained as the current value "Hashira".

(15)この処理の終了後本装置の内部状態は第4図第12
行に示すものとなる。
(15) After the completion of this process, the internal state of this device is
It becomes what is shown in the line.

(16)この時点での漢字出力状態は「走らない」であり
オペレータが所望するものである。そこでオペレータは
単語決定部14である単語決定ファンクションキーを押下
する。
(16) The kanji output state at this point is "not running", which is what the operator desires. Then, the operator presses the word determination function key which is the word determination unit 14.

(17)この時単語学習登録部10は最大最長一致単語の読
み列U「ハシラ」と現時点での最長一致単語(選択決定
単語)の読み列V「ハシ」とその漢字表記情報W「走」
の組(「ハシラ」,「ハシ」「走」)を単語学習情報記
憶部11に記憶する。この処理の終了した時点で単語学習
情報記憶部11の記憶状態は第6図bのようになる。
(17) At this time, the word learning registration unit 10 reads the maximum longest matching word reading string U "Hashira" and the current longest matching word (selected decision word) reading string V "Hashi" and its Kanji notation information W "Run".
The group (“Hashira”, “Hashi”, “Run”) is stored in the word learning information storage unit 11. When this process ends, the storage state of the word learning information storage unit 11 becomes as shown in FIG. 6b.

さらに単語決定部14はかな列一時記憶部2に対してクリ
ア信号を送出する(第4図第13行)。次に、この後オペ
レータは再度「走らない」という漢字列を得るために
「ハ」「シ」「ラ」「ナ」「イ」というかなを順次入力
しその後「変換キー」を押した場合の本かな漢字変換装
置の動作について説明する。
Further, the word determination unit 14 sends a clear signal to the kana string temporary storage unit 2 (line 13 in FIG. 4). Then, after this, the operator again inputs the kana such as "ha", "shi", "la", "na", "i" to obtain the kanji string "does not run", and then presses the "conversion key". The operation of the book kana-kanji conversion device will be described.

(18)オペレータが「ハ」というかなを入力した時かな
列記憶部2にはかな列K「ハ」が記憶される。また部分
かな列Mも「ハ」となる。(第4図第14行K列,M列)。
この後入力待ちとなる。
(18) When the operator inputs a kana "ha", the kana row storage unit 2 stores the kana row K "ha". In addition, the partial kana row M also becomes “C”. (FIG. 4, row 14, column K, column M).
After this, input is awaited.

(19)さらにオペレータが「シ」「ラ」「ナ」「イ」を
入力した時も前述と同様に動作する。この処理終了時点
での本装置の内部状態はそれぞれ第4図第15,16,17,18
行に示すものとなる。この後入力待ちとなる。
(19) Further, when the operator inputs "shi", "ra", "na", and "a", the same operation as described above is performed. The internal states of this device at the end of this process are shown in FIGS.
It becomes what is shown in the line. After this, input is awaited.

(20)操作者が「変換キー」を押すと、単語検索部4は
単語情報記憶部3中で部分かな列「ハシラナイ」と読み
列が最長一致する単語を検索する。このとき最長一致単
語Pとして読み列が「ハシラ」で漢字表記情報が「柱」
である単語が検索される(第4図第19行V列,W列)。
(20) When the operator presses the “conversion key”, the word search unit 4 searches the word information storage unit 3 for a word whose reading string has the longest match with the partial kana string “Hashiranai”. At this time, as the longest matching word P, the reading string is “Hashira” and the kanji notation information is “pillar”.
Is searched (row 19, column V, column W in FIG. 4).

(21)最大最長一致単語一時記憶部9は、かな列前部分
取出記憶部8のレジスタRの値が“0"であるので最大最
長一致読み列レジスタUの値を「ハシラ」とする(第4
図第19行U列)。
(21) The maximum-longest matching word temporary storage unit 9 sets the value of the maximum-longest matching reading sequence register U to "Hashira" because the value of the register R of the Kana sequence front part extraction storage unit 8 is "0". Four
(Fig. 19, line U).

(22)単語学習情報検索部12は最長一致単語一時記憶部
5に格納されている読み列「ハシラ」を単語学習情報記
憶部11の最長一致読み列の中で検索する。第6図bに示
す単語学習情報記憶部11の記憶状態においては第U列の
第3行に「ハシラ」が検出される。このとき単語学習情
報検索部12は第3行のV0列「ハシ」とその漢字表記W
0「走」を漢字出力部13に対して出力する。
(22) The word learning information retrieval unit 12 retrieves the reading string “Hashira” stored in the longest matching word temporary storage unit 5 in the longest matching reading string in the word learning information storage unit 11. In the storage state of the word learning information storage unit 11 shown in FIG. 6b, "Hashira" is detected in the third row of the U-th column. At this time, the word-learning information retrieval unit 12 displays the V 0 column “hashi” in the third row and its kanji notation W
0 “Run” is output to the Kanji output unit 13.

(23)漢字出力部13は、かな列記憶部2より現在の部分
かな列が「ハシラナイ」であることを読み取り、さらに
単語学習情報検索部12から送出されたかな列V0「ハシ」
とその漢字表記W0「走」を読み取って、これらの情報よ
り漢字表記情報「走らない」を出力する(第4図第19行
K列)。
(23) The kanji output unit 13 reads from the kana string storage unit 2 that the current partial kana string is “Hashiranai”, and the kana string V 0 “Hashi” sent from the word learning information retrieval unit 12 is read.
And the Kanji notation W 0 “Run” is read, and the Kanji notation information “Run not” is output from these information (FIG. 4, row 19, column K).

上記のように操作者の所望する漢字表記「走らない」が
得られたので操作者は「決定キー」を押す。
As described above, since the Chinese character notation "do not run" desired by the operator is obtained, the operator presses the "OK" key.

以上のように本実施例によれば、オペレータが「走らな
い」という漢字表記を所望するとき、まずオペレータが
「ハ」「シ」「ラ」「ナ」「イ」というかなを入力し、
変換キーを押した後の漢字出力表記は「柱ない」とな
る。これに続いて、かな列前部分取出ファンクションキ
ーと変換キーを3回ずつ押下すると漢字出力表記は「走
らない」となる。ここで単語決定キーを押下すると、最
大最長一致単語の読み列「ハシラ」と、単語決定キーの
押下された時点での最長一致単語の読み列「ハシ」とそ
の漢字表記情報「走」との組が学習単語情報記憶部に記
憶される。そして、この後に「ハ」「シ」「ラ」「ナ」
「イ」というかなを入力し、変換キーを押した場合にお
いては、上記学習単語情報記憶部に記憶されている上述
の組の状態が呼び出され、この場合にかな列前部分取出
キーを押下しなくとも漢字出力表記は「走らない」とな
るのである。また、上述の操作に続き「梯」という漢字
表記を得るために「ハ」「シ」「ゴ」というかな列を入
力した場合には、最大最長一致単語が「ハシゴ」とな
り、学習単語情報記憶部には「ハシゴ」を読み情報とす
る単語が記憶されていないので「梯」が漢字出され、
「走ご」のような漢字出力が優先的に出力されることが
ない。
As described above, according to the present embodiment, when the operator desires the kanji notation "does not run", the operator first inputs the kana such as "ha""shi""la""na""i",
The kanji output notation after pressing the conversion key will be “no pillar”. Following this, if the function key for extracting the front part of the kana row and the conversion key are pressed three times each, the kanji output notation will be "not run". When the word determination key is pressed here, the reading sequence "Hashira" of the maximum longest matching word and the reading sequence "Hashi" of the longest matching word at the time when the word determination key is pressed and its Kanji notation information "Run" are displayed. The set is stored in the learning word information storage unit. And after this, "H", "Si", "La", "Na"
When the kana "i" is input and the conversion key is pressed, the above-mentioned set state stored in the learning word information storage section is called, and in this case, the kana row front part extraction key is pressed. If not, the kanji output notation will be "do not run." In addition, following the above operation, if you input the kana string "ha""shi""go" to get the kanji notation "kake", the maximum longest matching word becomes "hashigo", and the learning word information storage The section does not store words that read "hashigo" as information, so "kashi" is written in kanji,
Kanji output such as "Hashigo" is not output preferentially.

なお本発明においてはかなを入力しこの後変換キーを押
すことによりかな列を漢字列に変換する場合を説明した
が本発明はこれに限定されるものではない。例えばかな
入力部からかなを1文字入力されるごとに自動的にかな
列を漢字列に変換するものであってよい。
In the present invention, the case where the kana string is converted into the kanji string by inputting the kana and then pressing the conversion key has been described, but the present invention is not limited to this. For example, a kana string may be automatically converted into a kanji string each time a kana character is input from the kana input section.

また本実施例においてはかな列一時記憶部に記憶されて
いるかな列の先頭から1度だけ単語の検索を行ない、そ
の後の日本語の文法的処理は行なっていない。しかし、
本発明はこのような構成に限定されるものではなく、単
語検索の結果得られた単語の候補に対して文法的な接続
処理を行ない日本語として妥当な単語列を出力するよう
にした他の構成要素を深してもよい。
Further, in this embodiment, the word is searched only once from the beginning of the kana string stored in the kana string temporary storage unit, and the subsequent grammatical processing of Japanese is not performed. But,
The present invention is not limited to such a configuration, and a grammatical connection process is performed on word candidates obtained as a result of word search, and another word string appropriate for Japanese is output. The components may be deepened.

また本実施例においては「走」と「橋」と「端」のよう
な同一の読みを有する狭義の同音語について言及しなか
ったが、これらの同音語に対する単語学習の記憶や登録
や検索についての従来技術が適用できることは言うまで
もない。
Further, in the present embodiment, although the homonyms in the narrow sense having the same readings such as “run”, “bridge”, and “end” are not mentioned, the word learning memory, registration and search for these homonyms are not described. It goes without saying that the conventional technology of (1) can be applied.

発明の効果 本発明のかな漢字変換装置は、操作者の再変換のための
操作によってかな列記憶部に記憶されるかな列の先頭か
らの部分かな列を指定する前方かな列指定手段とかな列
記憶部に記憶しているかな列の先頭から最長一致する読
みを有する最長一致単語を検索する単語検索手段と、前
記最長一致単語を記憶する最長一致単語一時記憶部と、
入力されたかな列および前記操作者の修正操作により作
成されるそれぞれの部分かな列に対して前記単語検索装
置が検索した前記最長一致単語のうち読み長さが最大と
なる単語の読み情報を記憶する最大最長一致記憶部と、
前記最大最長一致単語の読み情報と前記最長一致単語の
うち操作者が決定したものの読み情報と漢字表記などの
情報からなる単語学習情報を記憶,記憶および検索する
各部を備えることにより、本装置の漢字出力結果が操作
者の所望するものでないとき、操作者が入力かな列の部
分指定を行なって再度漢字出力結果を表出し、さらに操
作者が表示中の単語の漢字出力表記が所望のものである
旨を通知した場合には当該単語の学習情報を単語学習情
報記憶部に登録し、また単語検索手段によって得られた
最長一致単語は前記単語学習情報記憶部において検索
し、該当するものがあれば当該単語に付属して記憶され
ている第2の単語を優先的に処理する。従って一度単語
学習情報を登録した後は、同じかな列が入力された場合
には前回操作者が選択した単語の漢字表記を優先的に出
力するものであり、さらに、前回操作者が選択した単語
の読み列を先頭部分に含む別の読み列が入力された場合
には上記優先処理を行なわないものであり、操作者の所
望する変換結果を出力する可能性を高くすることがで
き、その実用的な効果は大きい。
EFFECTS OF THE INVENTION The kana-kanji conversion device of the present invention includes a front kana row designating means for designating a partial kana row from the beginning of a kana row stored in the kana row storage section by an operation for re-converting by an operator, and a kana row storage. A word search means for searching for the longest matching word having the longest matching reading from the beginning of the kana string stored in the section; and a longest matching word temporary storage section for storing the longest matching word,
The reading information of the word having the maximum reading length among the longest matching words searched by the word search device for the input kana string and each partial kana string created by the correction operation of the operator is stored. Maximum longest match storage section
By providing each unit for storing, storing and retrieving the reading information of the longest longest matching word, the reading information of the longest matching word determined by the operator, and the word learning information including information such as Kanji notation, When the Kanji output result is not what the operator desires, the operator specifies the input kana string part to display the Kanji output result again, and the operator does not want the Kanji output notation of the displayed word. If there is a notification, the learning information of the word is registered in the word learning information storage unit, and the longest matching word obtained by the word search means is searched in the word learning information storage unit, and the corresponding one is found. For example, the second word stored in association with the word is preferentially processed. Therefore, once the word learning information has been registered, if the same kana string is entered, the Kanji notation of the word previously selected by the operator is output preferentially. When another reading string including the reading string at the beginning is input, the above priority process is not performed, and it is possible to increase the possibility of outputting the conversion result desired by the operator. Effect is large.

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

第1図は本発明のかな漢字装置の一実施例の構成を示す
ブロック図、第2図は同実施例における読みのコード化
規則の一例を示す図、第3図は同実施例の動作を説明す
るフロー図、第4図は同実施例の各構成部の一具体例に
おける状態を示す図、第5図は同実施例における単語記
憶部の記憶状態の一例を示す図、第6図は同実施例にお
ける単語学習情報記憶部の記憶状態の一例を示す図であ
る。 2……かな列記憶部、4……単語検索部、5……最長一
致単語一時記憶部、7……かな列前部分。
FIG. 1 is a block diagram showing a configuration of an embodiment of a kana-kanji device of the present invention, FIG. 2 is a diagram showing an example of a reading coding rule in the same embodiment, and FIG. 3 is a description of an operation of the embodiment. FIG. 4 is a diagram showing a state in one specific example of each component of the embodiment, FIG. 5 is a diagram showing an example of a storage state of the word storage unit in the embodiment, and FIG. 6 is the same. It is a figure which shows an example of the memory | storage state of the word learning information storage part in an Example. 2 ... Kana string storage section, 4 ... Word search section, 5 ... Longest matching word temporary storage section, 7 ... Kana row front section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力されたかな列を記憶するかな列記憶部
と、日本語の単語の読み情報と漢字表記情報の対を記憶
する単語辞書と、操作者の再変換のための操作によって
前記かな列記憶部に記憶されるかな列の先頭から始まる
部分列を指定する前方かな列指定手段と、前記かな列記
憶部に記憶されるかな列又は前記部分かな列の先頭から
最長一致する読みを有する最長一致単語を前記単語辞書
において検索する単語検索手段と、入力されたかな列に
対して前記単語検索手段が検索した前記最長一致単語の
読み情報を記憶する最大最長一致単語一時記憶部と、前
記最大最長一致単語の読み情報と操作者の再変換の操作
により指定された部分かな列に対して前記単語検索手段
が検索した前記最長一致単語のうち操作者が選択決定し
たものである選択決定単語の読み情報と漢字表記情報の
対からなる単語学習情報を記憶する単語学習情報記憶部
と、前記単語学習情報を前記単語学習情報記憶部に登録
する単語学習情報登録部と、指定されたかな列を前記単
語学習情報記憶部において検索し該当する単語学習情報
を取り出す単語学習情報検索部を有し、入力されたかな
列を漢字列に変換する際、前記単語検索手段は前記単語
辞書において最大一致単語を検索し、前記単語学習情報
検索部はこの最大一致単語と同じ読み情報を有する単語
学習情報を前記単語学習情報記憶部において検索し、も
し検索が成功すれば検索された単語習情報に含まれる選
択決定単語の漢字表記を前記最大一致単語の漢字表記よ
りも優先的に出力し、一方前記検索が不成功であれば前
記最大一致単語の漢字表記を優先的に出力することを特
徴とするかな漢字変換装置。
1. A kana string storage unit for storing an input kana string, a word dictionary for storing pairs of Japanese word reading information and kanji writing information, and an operator's operation for reconversion. A forward kana row designating means for designating a partial row starting from the beginning of the kana row stored in the kana row storage section, and a longest matching reading from the beginning of the kana row or the partial kana row stored in the kana row storage section. A word searching means for searching the longest matching word in the word dictionary, and a maximum longest matching word temporary storage section for storing reading information of the longest matching word searched by the word searching means for an inputted kana string; A selection which is selected and determined by the operator from among the longest matching words searched by the word search means for the partial kana string designated by the reading information of the maximum longest matching word and the operator's reconversion operation. A word learning information storage unit that stores word learning information composed of a pair of constant word reading information and Kanji notation information, a word learning information registration unit that registers the word learning information in the word learning information storage unit, and The kana string has a word learning information search part for retrieving the corresponding word learning information by searching the word learning information storage part, and when converting the input kana string into a kanji string, the word searching means uses the word dictionary. The maximum matching word is searched, and the word learning information search unit searches the word learning information storage unit for word learning information having the same reading information as the maximum matching word, and if the search is successful, the searched word learning information is searched. Output the Kanji notation of the selected decision word prior to the Kanji notation of the maximum matching word, while giving priority to the Kanji notation of the maximum matching word if the search is unsuccessful. Kana-Kanji conversion device and outputs.
JP59139879A 1984-07-05 1984-07-05 Kana-Kanji converter Expired - Lifetime JPH0766379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59139879A JPH0766379B2 (en) 1984-07-05 1984-07-05 Kana-Kanji converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59139879A JPH0766379B2 (en) 1984-07-05 1984-07-05 Kana-Kanji converter

Publications (2)

Publication Number Publication Date
JPS6118067A JPS6118067A (en) 1986-01-25
JPH0766379B2 true JPH0766379B2 (en) 1995-07-19

Family

ID=15255693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59139879A Expired - Lifetime JPH0766379B2 (en) 1984-07-05 1984-07-05 Kana-Kanji converter

Country Status (1)

Country Link
JP (1) JPH0766379B2 (en)

Also Published As

Publication number Publication date
JPS6118067A (en) 1986-01-25

Similar Documents

Publication Publication Date Title
JP3364976B2 (en) Chinese learning device
JP2595934B2 (en) Kana-Kanji conversion processor
JPH0766379B2 (en) Kana-Kanji converter
JPS58123129A (en) Converting device of japanese syllabary to chinese character
US6327560B1 (en) Chinese character conversion apparatus with no need to input tone symbols
JPH1063651A (en) Chinese language input device
JPS5818730A (en) Character processing device
JPS6024621A (en) Preparing device of sentence written in japanese language
JP2738386B2 (en) Kana-Kanji conversion device
JP2702443B2 (en) Japanese input device
JPH10154141A (en) Kana-to-kanji (japanese syllabary-to-chinese character) conversion device
JP2634596B2 (en) Kana-Kanji conversion device
JP3048793B2 (en) Character converter
JPH0778795B2 (en) Character processor
JPS60251461A (en) "kana"/"kanji" converter
JPS63214872A (en) Kana/kanji conversion system
JPH06208560A (en) Ambiguous kanji converting device
JPH0414380B2 (en)
JPS61282966A (en) Kana/kanji conversion system
JPH0687235B2 (en) Character processing device with user dictionary
JPH07141349A (en) Kana/kanji converter
JPH0128977B2 (en)
JPH0573540A (en) Kana/kanji conversion device
JPH03229359A (en) Japanese sentence correcting device
JPH028956A (en) Document processor