JPS6246029B2 - - Google Patents

Info

Publication number
JPS6246029B2
JPS6246029B2 JP57211089A JP21108982A JPS6246029B2 JP S6246029 B2 JPS6246029 B2 JP S6246029B2 JP 57211089 A JP57211089 A JP 57211089A JP 21108982 A JP21108982 A JP 21108982A JP S6246029 B2 JPS6246029 B2 JP S6246029B2
Authority
JP
Japan
Prior art keywords
kana
kanji
characters
storage means
abbreviated
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
Application number
JP57211089A
Other languages
Japanese (ja)
Other versions
JPS59100941A (en
Inventor
Keiju Yasuda
Hiroichi Yoshida
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP57211089A priority Critical patent/JPS59100941A/en
Publication of JPS59100941A publication Critical patent/JPS59100941A/en
Publication of JPS6246029B2 publication Critical patent/JPS6246029B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/018Input/output arrangements for oriental characters

Description

【発明の詳細な説明】 <技術分野> この発明は仮名漢字変換装置に関し、特に短縮
された仮名文字または仮名文の入力に応答して対
応の漢字または漢字まじり文に変換する機能を有
するような仮名漢字変換装置に関する。
[Detailed Description of the Invention] <Technical Field> The present invention relates to a kana-kanji conversion device, and particularly to a kana-kanji conversion device having a function of converting shortened kana characters or kana sentences into corresponding kanji or sentences mixed with kanji in response to an input of kana characters. Regarding a kana-kanji conversion device.

<従来技術> 最近、文書の処理能率を向上する目的で、日本
語文書処理装置(日本語ワードプロセツサ)が実
用化されている。この日本語文書処理装置は、仮
名キーボードなどの入力装置によつて仮名文を入
力し、仮名漢字変換辞書を検索して対応の漢字も
しくは漢字まじり文を出力するものである。この
ような装置において、文書作成にあたつては、1
つの文章の中に同一の漢字もしくは漢字まじり文
が多数出現することがある。
<Prior Art> Recently, Japanese document processing devices (Japanese word processors) have been put into practical use for the purpose of improving document processing efficiency. This Japanese document processing device inputs a kana sentence using an input device such as a kana keyboard, searches a kana-kanji conversion dictionary, and outputs the corresponding kanji or a sentence mixed with kanji. In such a device, when creating a document, 1.
The same kanji or sentences containing kanji may appear many times in one sentence.

従来では、同一の漢字の有無に関係なく、その
都度仮名文を入力する必要があるので、同一の漢
字を何回か入力する場合であつてもその音の仮名
文字数だけ入力しなければならず、操作が複雑と
なる問題点があつた。このような問題点を解決す
る1つの方法として、オペレータがよく出現する
文字または文章を特定のキーワードを付けて予め
登録しておき、その文字または文章が出現するご
とに特定のキーワードのみを入力することによつ
てその文字または文章を登録する方法が考えられ
ている。しかし、この方法でも、多く出現する文
字または文章を予め予想しておきそれを登録する
必要があり、オペレータがキーワードに対する登
録した文章などを覚えておく必要があつた。この
ため、従来知られている仮名漢字変換装置は、オ
ペレータに複雑な操作が要求されるか、またはオ
ペレータが特定のキーワードを付けた文字または
文章を登録しかつそれを覚えておいてキーワード
のみを入力する必要があるので、操作が複雑とな
り、迅速な入力を行なえないという問題点があつ
た。さらに、オペレータが特定のキーワードを付
けて登録した文字または文章を覚えておく必要が
あるので、キーワードを誤つて入力すると全く意
味の異なる文字または文章が登録されることにな
り、誤入力の原因となる。したがつて、キーワー
ドを用いて登録される文字または文章の数がオペ
レータの記憶できる範囲に限られ、必然的に少な
い数にならざるを得ない。
Previously, it was necessary to input a kana sentence each time, regardless of whether the same kanji existed or not, so even if you input the same kanji several times, you had to input the number of kana characters for that sound. However, there was a problem that the operation was complicated. One way to solve these problems is for the operator to register frequently occurring characters or sentences in advance with specific keywords, and then input only the specific keyword each time that character or sentence appears. In some cases, methods of registering the characters or sentences have been considered. However, even with this method, it is necessary to predict in advance the characters or sentences that will appear frequently and register them, and it is necessary for the operator to remember the registered sentences for the keywords. For this reason, conventional kana-kanji conversion devices either require the operator to perform complicated operations, or the operator registers characters or sentences with specific keywords and then memorizes them to convert only the keywords. Since input is required, the operation becomes complicated and there is a problem that prompt input cannot be performed. Furthermore, since the operator has to remember the characters or sentences registered with a specific keyword, if the keyword is entered incorrectly, characters or sentences with completely different meanings will be registered, which may cause input errors. Become. Therefore, the number of characters or sentences that can be registered using keywords is limited to the range that the operator can memorize, and the number must necessarily be small.

<目的> それゆえ、この発明の目的は、オペレータの操
作が容易となり、迅速な登録が行なえ、操作性を
向上できるような、仮名漢字変換装置を提供する
ことである。
<Purpose> Therefore, an object of the present invention is to provide a kana-kanji conversion device that facilitates operator operation, allows quick registration, and improves operability.

<要約> この発明は、要約すれば、或る漢字もしくは漢
字まじり文が読み仮名で入力されたとき、読み仮
名の短縮された或る文字数でその読み仮名に相当
する漢字もしくは漢字まじり文を自動的に登録し
ておく。そして、漢字または漢字まじり文の読み
仮名で入力されたとき、前回と同じ短縮された仮
名文が登録されているものにあるか否かを検索し
て、同一の短縮された仮名文からそれに対応する
漢字もしくは漢字まじり文を読出して登録するよ
うにしたものである。
<Summary> In summary, when a certain kanji or a sentence mixed with kanji is input as a reading kana, the kanji or a sentence mixed with kanji corresponding to the reading kana is automatically generated using a certain number of characters shortened from the reading kana. Please register accordingly. When a kanji or kanji-mixed pronunciation is entered, the system searches to see if the same abbreviated kana sentence as the previous one is registered, and responds to it from the same abbreviated kana sentence. This system reads out kanji or sentences containing kanji and registers them.

以下に、図面を参照してこの発明の具体的な実
施例について説明する。
Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.

<実施例> 第1図はこの発明の一実施例の仮名漢字変換装
置のブロツク図である。構成において、この実施
例の仮名漢字変換装置は、仮名文字入力手段の一
例の仮名キーボード1を含む、この仮名キーボー
ド1は、仮名キーが50音順に配列される。仮名キ
ーボード1の操作によつて入力されたキー信号
は、符号化回路3に与えられる。符号化回路3に
は、さらにフアンクシヨンキーボード2からのキ
ー信号が入力される。このフアンクシヨンキーボ
ード2は、編集制御キーを含む。編集制御キーに
は、仮名文字を漢字もしくは漢字まじり文に変換
指令するための変換キー、漢字変換する必要のな
いことを指令するための無変換キー、および前候
補キーを含む。符号化回路3は、仮名キーボード
1およびフアンクシヨンキーボード2のキー信号
を符号化し、仮名文字データ(仮名文字コード)
を入力バツフア4に一時記憶させるとともに、フ
アンクシヨンキーボード2に含まれる各キーのコ
ード化信号を中央処理装置(以下CUP)5へ直
接与える。CPU5は、後述の第2図に示す動作
プログラムを実行することによつて演算処理手段
として働くものであつて、仮名漢字変換機能、書
込機能および読出機能を含む。CPU5には、
CRTデイスプレイ6および印字装置(プリン
タ)7が接続される。CRTデイスプレイ6は、
仮名入力された仮名文、および変換された漢字も
しくは漢字まじり文(以下これらを総称して漢字
まじり文という)を表示するのに用いられる。プ
リンタ7は仮名または漢字まじり文を印刷するの
に用いられる。
<Embodiment> FIG. 1 is a block diagram of a kana-kanji conversion device according to an embodiment of the present invention. In structure, the kana-kanji conversion device of this embodiment includes a kana keyboard 1, which is an example of a kana character input means.The kana keyboard 1 has kana keys arranged in the order of the 50 syllabary. Key signals input by operating the kana keyboard 1 are given to the encoding circuit 3. Key signals from the function keyboard 2 are further input to the encoding circuit 3 . This function keyboard 2 includes editing control keys. The editing control keys include a conversion key for instructing conversion of kana characters into kanji or a sentence mixed with kanji, a no-conversion key for instructing that there is no need to convert kanji, and a previous candidate key. The encoding circuit 3 encodes the key signals of the kana keyboard 1 and the function keyboard 2, and converts them into kana character data (kana character code).
is temporarily stored in an input buffer 4, and the coded signals of each key included in the function keyboard 2 are directly provided to a central processing unit (hereinafter referred to as CUP) 5. The CPU 5 functions as an arithmetic processing means by executing an operation program shown in FIG. 2, which will be described later, and includes a kana-kanji conversion function, a writing function, and a reading function. CPU5 has
A CRT display 6 and a printing device (printer) 7 are connected. CRT display 6 is
It is used to display kana sentences inputted in kana, and converted kanji or sentences mixed with kanji (hereinafter collectively referred to as sentences mixed with kanji). The printer 7 is used to print sentences mixed with kana or kanji.

さらに、CPU5には、仮名漢字変換処理部8
文書バツフア11および第1の記憶手段の一例の
仮名漢字変換辞書部12が接続される。仮名漢字
変換処理部8には、第2の記憶手段の一例の短縮
メモリ13が接続される。
Furthermore, the CPU 5 includes a kana-kanji conversion processing unit 8.
A document buffer 11 and a kana-kanji conversion dictionary section 12, which is an example of a first storage means, are connected. A shortening memory 13, which is an example of a second storage means, is connected to the kana-kanji conversion processing section 8.

次に、これらの構成をより具体的に説明する
と、仮名漢字変換処理部8は、CPU5と協働し
て仮名漢字変換手段として働くものであつて、出
力バツフア8a、短縮データ設定バツフア8bお
よびレジスタ領域8cを含む。出力バツフア8a
は、出力すべきデータを記憶するものであつて、
たとえばCRTデイスプレイ6の一画面(1フレ
ーム)で表示される仮名文、漢字または漢字まじ
り文などのデータが記憶される。短縮データ設定
バツフア8bは、後述する短縮メモリ13へ新た
に登録する短縮仮名文字(以下見出し語という)
とそれを漢字まじり文に変換するための短縮仮名
漢字変換データ(以下変換データという)などを
記憶する。レジスタ領域8cは、50音の各音に対
応する複数の記憶エリア(レジスタ)を含み、そ
れぞれのレジスタで同音の見出し語(たとえば仮
名で1文字)を持つ変換データの数を記憶するの
に用いられる。また、仮名漢字変換処理部8は、
これ以外に仮名漢字変換のための複数のバツフア
領域を含んでいるが、本願発明に直接関係しない
のでその説明を省略する。
Next, to explain these configurations in more detail, the kana-kanji conversion processing section 8 works as a kana-kanji conversion means in cooperation with the CPU 5, and includes an output buffer 8a, abbreviated data setting buffer 8b, and a register. Including area 8c. Output buffer 8a
is for storing data to be output, and
For example, data such as kana sentences, kanji, or kanji-mixed sentences displayed on one screen (one frame) of the CRT display 6 is stored. The abbreviated data setting buffer 8b allows abbreviated kana characters (hereinafter referred to as headwords) to be newly registered in the abbreviated memory 13, which will be described later.
and shortened kana-kanji conversion data (hereinafter referred to as conversion data) for converting it into a sentence mixed with kanji. The register area 8c includes a plurality of storage areas (registers) corresponding to each of the 50 sounds, and each register is used to store the number of converted data having the same sound headword (for example, one character in kana). It will be done. In addition, the kana-kanji conversion processing unit 8
In addition to this, it includes a plurality of buffer areas for kana-kanji conversion, but since they are not directly related to the present invention, their explanation will be omitted.

文書バツフア11は、仮名入力されかつ仮名漢
字変換処理部8によつて変換された漢字まじり文
を文書データとして記憶するものである。
The document buffer 11 stores, as document data, a sentence mixed with kanji that is input in kana and converted by the kana-kanji conversion processing unit 8.

仮名漢字変換辞書部12は、たとえば読出専用
メモリ(ROM)などからなり、単語辞書を記憶
する記憶領域、活用語尾表を記憶する記憶領域、
および付属語表を記憶する記憶領域などを含む。
この単語辞書記憶領域には、50音順の仮名見出し
部と、仮名見出し部に対応する漢字表記部と、品
詞データなどとが記憶される。漢字表記部には、
語幹部および変化しない部分(以下これらを総称
して語幹部と言う)が記憶される。
The kana-kanji conversion dictionary section 12 includes, for example, a read-only memory (ROM), and includes a storage area for storing a word dictionary, a storage area for storing a conjugation ending list,
It also includes a storage area for storing adjunct word tables.
This word dictionary storage area stores kana headers arranged in alphabetical order, kanji notation parts corresponding to the kana headers, part-of-speech data, and the like. In the kanji notation section,
Word stems and portions that do not change (hereinafter collectively referred to as word stems) are stored.

短縮メモリ13は、複数の記憶エリアを含む
RAMなどが用いられる。短縮メモリ13には、
入力された文章の変換単位(たとえば文節単位)
で変換された漢字まじり文が読み仮名(すなわち
仮名入力文)の先頭文字を見出し語として記憶さ
れ、またその文章の使用頻度(文章中に何回同じ
文節単位の漢字まじり文等が使用されたかを表わ
す回数)データも記憶される。すなわち、短縮メ
モリは、複数の見出し語を記憶する領域と、各見
出し語の記憶領域に対応して見出し語に対応する
漢字まじり文を記憶する領域を含み、更に各漢字
まじり文ごとの使用頻度を記憶する領域を含む。
The shortened memory 13 includes multiple storage areas.
RAM etc. are used. In the shortened memory 13,
Conversion unit of input sentence (for example, phrase unit)
The converted kanji-mixed sentences are memorized using the first character of the reading kana (i.e., the kana input sentence) as a headword, and the frequency of use of the sentence (how many times the same clause-based kanji-mixed sentences, etc. are used in the sentence) is stored. (number of times representing the number of times) data is also stored. In other words, the shortened memory includes an area for storing a plurality of headwords, an area for storing kanji-mixed sentences corresponding to the headword corresponding to a storage area for each headword, and a storage area for storing the usage frequency of each kanji-mixed sentence. Contains an area for storing.

次に、仮名漢字変換処理部8によつて行なわれ
る仮名漢字変換処理を簡単に説明する。入力され
た仮名文が仮名文字の上位より順次単語辞書で検
索され、単語辞書で検索された語幹に対する品詞
データが読出される。この品詞データに基づい
て、活用語尾表および付属語表が検索されて仮名
文と一致する漢字まじり文が読出されて出力バツ
フア8aで記憶される。
Next, the kana-kanji conversion process performed by the kana-kanji conversion processing section 8 will be briefly explained. The input kana sentence is searched in the word dictionary in order from the top of the kana characters, and part-of-speech data for the word stems searched in the word dictionary are read out. Based on this part-of-speech data, the conjugated word table and adjunct word table are searched, and sentences containing kanji that match the kana sentence are read out and stored in the output buffer 8a.

第2図はこの発明の一実施例の仮名漢字変換装
置の具体的な動作を説明するためのフローチヤー
トである。次に、第1図および第2図を参照し
て、この実施例の具体的な動作を説明する。
FIG. 2 is a flowchart for explaining the specific operation of the kana-kanji conversion device according to one embodiment of the present invention. Next, the specific operation of this embodiment will be explained with reference to FIGS. 1 and 2.

CPU5は、ステツプ1において仮名文字入力
があつたか否かを判断している。もし、オペレー
タが仮名キーボード1を操作することなく、また
フアンクシヨンキーボード2に含まれる変換キー
および無変換キーを操作していない場合は、ステ
ツプ1において仮名文字の入力でないことが判断
され、ステツプ2において変換キーでないことが
判断され、ステツプ3において無変換キーでない
ことが判断されて、ステツプ4において他の処理
が行なわれる。
The CPU 5 determines in step 1 whether or not a kana character has been input. If the operator does not operate the kana keyboard 1 and does not operate the conversion key and non-conversion key included in the function keyboard 2, it is determined that no kana characters are being input in step 1, and step 1 is executed. In step 2, it is determined that the key is not a conversion key, in step 3, it is determined that it is not a non-conversion key, and in step 4, other processing is performed.

一方、オペレータは、仮名漢字変換によつて或
る文章を入力する場合、仮名キーボード1を操作
して文節単位ごとに仮名文で入力する。このと
き、仮名文字が1字入力されるごとに、ステツプ
1においてそれが判断されて、ステツプ5へ進
む。ステツプ5において、入力された仮名文字が
符号化回路3によつて符号化されて、入力バツフ
ア4に記憶される。そして、仮名文字入力のある
ごとに、ステツプ1および5の動作が繰返され
る。したがつて、入力バツフア4には、1つの文
節の仮名文が記憶されることになる。オペレータ
は、1つの文節を入力すると、その文節の仮名文
が漢字変換する必要のあるかないかによつて、フ
アンクシヨンキーボード2に含まれる変換キーま
たは無変換キーを押圧する。
On the other hand, when the operator inputs a certain sentence through kana-kanji conversion, the operator operates the kana keyboard 1 to input a kana sentence for each clause. At this time, each time a kana character is input, it is determined in step 1 and the process proceeds to step 5. In step 5, the input kana characters are encoded by the encoding circuit 3 and stored in the input buffer 4. The operations of steps 1 and 5 are repeated each time a kana character is input. Therefore, the input buffer 4 stores a kana sentence of one clause. When the operator inputs a phrase, he presses a conversion key or a non-conversion key included in the function keyboard 2, depending on whether or not the kana sentence of the phrase needs to be converted into kanji.

今、変換キーが押圧された場合を想定すると、
ステツプ2においてそれが判断されて、ステツプ
6へ進む。ステツプ6において、入力バツフア4
に記憶されている入力文字数が短縮仮名文字とし
て定められた一定数(たとえば1字)か否かが判
断される。もし、今回入力された1文節の仮名文
がこれまでに入力したものと同じでなければ、短
縮して入力できないので、1文字以上入力される
はずである。そこで、仮名文字数が1文字以上で
あることが判断されると、ステツプ7へ進む。ス
テツプ7において、入力バツフア4に記憶されて
いる1文節の仮名文のうち上位から順に単語辞書
を検索して同じ読み仮名の漢字まじり文が読出さ
れる。ステツプ8において、読出された漢字まじ
り文(語幹部)に対応する単語辞書中のアドレス
値が仮名漢字変換処理部8に含まれる内部バツフ
ア(図示せず)に一時記憶される。ステツプ9に
おいて、読出された漢字まじり文(語幹部、活用
語尾、付属語)が出力バツフア8aに記憶され
る。出力バツフア8aに記憶されている文字が
CRTデイスプレイ6で表示される。
Now, assuming that the conversion key is pressed,
This is determined in step 2 and the process proceeds to step 6. In step 6, the input buffer 4
It is determined whether the number of input characters stored in is a certain number (for example, one character) determined as abbreviated kana characters. If the kana sentence of one clause input this time is not the same as the one input previously, it cannot be abbreviated and input, so one or more characters should be input. Therefore, if it is determined that the number of kana characters is one or more, the process proceeds to step 7. In step 7, the word dictionary is searched in order from the top of the kana sentences of one clause stored in the input buffer 4, and sentences with the same reading kana mixed with kanji are read out. In step 8, the address value in the word dictionary corresponding to the read kanji-mixed sentence (word stem) is temporarily stored in an internal buffer (not shown) included in the kana-kanji conversion processing section 8. In step 9, the read sentence containing kanji (word base, conjugated ending, adjunct word) is stored in the output buffer 8a. The characters stored in the output buffer 8a are
Displayed on CRT display 6.

続いて、オペレータは、CRTデイスプレイ6
に表示されている漢字まじり文が目的の字体であ
るかどうかを判断し、異なる字体いわゆる同音語
であれば、再び変換キーを押圧して次の候補の漢
字まじり文を読出指令する。これに応じて、ステ
ツプ10でキー入力がされたものが変換キーであ
ることが判断されて、ステツプ7へ戻る。これに
よつて、ステツプ7〜9の動作が繰返されて、次
候補の漢字まじり文等が読出されて、出力バツフ
ア8aに記憶されかつCRTデイスプレイ6で表
示される。
Next, the operator displays the CRT display 6.
It is determined whether the kanji-mixed sentence displayed in is the desired font, and if it is a different font, so-called a homophone, the conversion key is pressed again to command the reading of the next candidate kanji-mixed sentence. In response to this, it is determined that the key input in step 10 is a conversion key, and the process returns to step 7. As a result, the operations of steps 7 to 9 are repeated, and the next candidate sentence containing kanji is read out, stored in the output buffer 8a, and displayed on the CRT display 6.

所望の漢字まじり文が読出されると、オペレー
タは変換キー以外のキー(たとえば次の仮名文を
入力するために操作される仮名文字キー)を押圧
する。これに応じて、ステツプ10において変換
キー以外のキーが操作されたことが判断されて、
ステツプ11へ進む。ステツプ11において、出
力バツフア8aの内容が文書メモリ11へ転送さ
れて、これまでに入力された文章の直後の記憶領
域へ書込まれる。ステツプ12において、出力バ
ツフア8aの内容が短縮データ設定バツフア8b
へ転送されて、短縮データ(すなわち見出し語お
よびその見出し語に対応する変換データ)の作成
処理が行なわれる。
When the desired kanji-mixed sentence is read out, the operator presses a key other than the conversion key (for example, a kana character key operated to input the next kana sentence). In response to this, it is determined in step 10 that a key other than the conversion key has been operated, and
Proceed to step 11. In step 11, the contents of the output buffer 8a are transferred to the document memory 11 and written into the storage area immediately following the text input so far. In step 12, the contents of the output buffer 8a are changed to the shortened data setting buffer 8b.
The shortened data (ie, the headword and the conversion data corresponding to the headword) is created.

ここで、短縮データの作成処理(ステツプ1
2)の詳細を説明する。短縮データ設定バツフア
8bは、第3図に示すように、エリアb1〜b4
を含む。エリアb1には、区切りコードが書込ま
れる。エリアb2には頻度データ(初期では0)
が書込まれる。エリアb3には、入力バツフア4
に記憶されている仮名文の先頭の1文字が見出し
語として書込まれるさらに、エリアb4には、単
語辞書から読出された見出し語に対応する語幹部
の各文字コード(または辞書に記憶する語幹部の
アドレスデータでもよい)が書込まれる。この場
合、短縮データとして語幹部のみを記憶する理由
は、活用形によつて変化するので、その都度訂正
が必要となり、変化しない語句のみを登録する方
がよいからである。
Here, the shortened data creation process (step 1)
2) will be explained in detail. The shortened data setting buffer 8b has areas b1 to b4 as shown in FIG.
including. A delimiter code is written in area b1. Area b2 has frequency data (0 at the beginning)
is written. In area b3, input buffer 4
The first character of the kana sentence stored in is written as a headword.Furthermore, in area b4, each character code of the word base corresponding to the headword read from the word dictionary (or the word stored in the dictionary) is written. address data of executives) is written. In this case, the reason why only the word base is stored as shortened data is that since it changes depending on the conjugation, correction is required each time, and it is better to register only words that do not change.

続いて、ステツプ13において、レジスタ領域
8cに含まれる今回入力された見出し語と同音の
レジスタの値に1が加算されて、見出し語に対応
する漢字まじり文に変換するための短縮データの
数が1だけ加算される。この結果、短縮メモリ1
3に記憶されているすべての音の短縮データ数が
レジスタ領域8cに含まれる各音に対応する見出
し語ごとのレジスタで記憶されることになる。続
いて、ステツプ14において、レジスタ領域8c
に含まれる各レジスタのうち今回入力された音に
対応するレジスタに記憶されている短縮データの
数が所定数(n)に達したか否かが判断される。
もし、所定数以下であることが判断されると、ス
テツプ15へ進む。ステツプ15において、短縮
メモリ13の記憶容量が残つているか否かが判断
される。短縮メモリ13の記憶容量に残量のある
こと(すなわち満杯でないこと)が判断される
と、ステツプ16へ進む。ステツプ16におい
て、短縮メモリ13の記憶内容が下位のアドレス
へ1つずつシフトされて、先頭のアドレスへ短縮
データ設定バツフア8bにストアされている短縮
データが書込まれる。その後、ステツプ1へ戻
る。
Next, in step 13, 1 is added to the value of the register that has the same sound as the currently input headword contained in the register area 8c, and the number of shortened data to be converted into a sentence containing kanji corresponding to the headword is determined. Only 1 is added. As a result, the shortened memory 1
The number of abbreviated data of all the sounds stored in 3 is stored in the register for each entry word corresponding to each sound included in the register area 8c. Subsequently, in step 14, register area 8c
It is determined whether the number of abbreviated data stored in the register corresponding to the currently input sound among the registers included in the sound has reached a predetermined number (n).
If it is determined that the number is less than the predetermined number, the process advances to step 15. In step 15, it is determined whether or not the shortening memory 13 has any remaining storage capacity. When it is determined that the shortening memory 13 has a remaining storage capacity (that is, it is not full), the process advances to step 16. In step 16, the stored contents of the shortening memory 13 are shifted one by one to lower addresses, and the shortened data stored in the shortened data setting buffer 8b is written to the first address. After that, return to step 1.

このようにして、これまでに入力されたことの
ない文節が入力されると、その文節の先頭の文字
を見出し語としてその文節の短縮データが短縮メ
モリ13に書込まれることになる。以上の動作
が、新しい1つの文節を入力するごとに行なわれ
る。
In this way, when a phrase that has never been input before is input, the abbreviated data for that phrase is written into the abbreviation memory 13 using the first character of the phrase as a headword. The above operations are performed every time a new phrase is input.

尚短縮データを短縮メモリ13に書き込む前
に、同音の見出し語内に同一の文節があるか否か
をチエツクし、すでに書き込まれた文節が入力さ
れた場合には、この文節の再度の書き込みは行わ
ず、頻度データのみを+1とする。
Before writing the abbreviation data to the abbreviation memory 13, it is checked whether or not there is an identical phrase within the headword with the same sound. If a phrase that has already been written is input, this phrase cannot be written again. No, only the frequency data is set to +1.

また前記ステツプ14において同音の見出し語
の短縮データ数が所定数(n)に達した場合の動
作を説明する。同音の見出し語の短縮データ数が
所定数に達すると、ステツプ14でそれが判断さ
れて、ステツプ17へ進む。ステツプ17におい
て、短縮メモリ13内を検索して同音の見出し語
中の最も使用頻度が少ない短縮データを読み出
す。ステツプ18において、この読み出された短
縮データが複数あるか否かが判断され、もし複雑
でないこと(すなわち単数であること)が判断さ
れると、ステツプ19へ進む。ステツプ19にお
いて、この短縮データが削除される。そしてステ
ツプ21において、同音の見出し語の数を記憶し
ているレジスタの内容が1だけ減算される。ステ
ツプ22において、短縮メモリ13の記憶内容が
順次シフトされて、削除されたエリアをつめる。
その後、ステツプ15へ戻る。
Further, the operation when the number of abbreviated data of homophone entry words reaches a predetermined number (n) in step 14 will be explained. When the number of abbreviated data of homophone entry words reaches a predetermined number, it is determined in step 14 and the process proceeds to step 17. In step 17, the abbreviation memory 13 is searched to read out abbreviated data that is least frequently used among the same-sounding headwords. In step 18, it is determined whether there is a plurality of read shortened data, and if it is determined that they are not complex (that is, they are singular), the process advances to step 19. In step 19, this shortened data is deleted. Then, in step 21, the contents of the register storing the number of homophone headwords are subtracted by 1. In step 22, the contents of the compaction memory 13 are sequentially shifted to fill in the deleted areas.
After that, the process returns to step 15.

なお、ステツプ18において、最も使用頻度の
低い同音の見出し語の短縮データが複数あること
が判断されると、ステツプ20へ進む。ステツプ
20において、選択された使用頻度の少ない複数
の同音語の短縮データのうち、短縮メモリ13へ
登録したのが最も古いもの、換言すれば最も大き
な番地に記憶されている短縮データが削除された
後、ステツプ21へ進む。これは、同じ漢字まじり
文等が比較的近い文章内に多く出現するという経
験則に基づく。
If it is determined in step 18 that there is a plurality of abbreviated data for the least frequently used homophone headword, the process proceeds to step 20. In step 20, among the selected abbreviated data of a plurality of infrequently used homophones, the oldest one registered in the abbreviation memory 13, in other words, the abbreviated data stored at the largest address is deleted. After that, proceed to step 21. This is based on the empirical rule that sentences containing the same kanji characters often appear in relatively close sentences.

上述の動作説明を要約すれば、この実施例で
は、次のことが特徴となる。すなわち、短縮メモ
リ13に登録される同音の見出し語の短縮データ
の数が所定数(n)以下に限られる。もし、同音
の見出し語の短縮データの数が所定数を越える
と、この短縮データのうち最も使用頻度の低いも
のが削除される。また、使用頻度の少ない同音の
見出し語の短縮データが複数存在する場合は、最
も古く登録されたもの(すなわち下位番地に記憶
されているもの)が削除される。さらに、同音の
見出し語が所定数以下であつても、短縮メモリ1
3の記憶容量が一杯になると、同様の処理が行な
われる。
To summarize the above operation description, this embodiment has the following features. That is, the number of abbreviated data of homophone headwords registered in the abbreviation memory 13 is limited to a predetermined number (n) or less. If the number of shortened data items for headwords with the same sound exceeds a predetermined number, the least frequently used shortened data item is deleted. Furthermore, if there are a plurality of abbreviated data for the same sound headword that is used less frequently, the oldest registered one (that is, the one stored at the lowest address) is deleted. Furthermore, even if the number of homophone entry words is less than a predetermined number, the shortening memory 1
When the storage capacity of 3 becomes full, similar processing is performed.

次に、短縮メモリ13の登録データを利用し
て、見出し語に相当する仮名(たとえば1文字)
を入力して、短縮入力によつて仮名漢字変換する
場合の動作を説明する。
Next, using the registered data in the shortening memory 13, write a kana (for example, one character) corresponding to the headword.
We will explain the operation when inputting , and converting kana to kanji using abbreviated input.

オペレータは、仮名キーボード1を操作して、
1文字の仮名を入力した後、変換キーを押圧す
る。この場合の動作は、上述のステツプ1,5お
よび2の動作と同様である。そして、ステツプ6
において、入力バツフア4に記憶されている仮名
文字が1字であることが判断されると、ステツプ
23へ進む。ステツプ23において、今回入力さ
れた1文字の仮名を見出し語として、短縮メモリ
13に記憶されている同音の短縮データを検索し
て全て読み出す。ステツプ24において、今読出
された短縮データが複数あるか否かが判断され
る。もし、同音の短縮データが複数登録されてい
れば、ステツプ25において短縮メモリ13の上
位のアドレスに記憶されている短縮データが選択
される。換言すれば、今回入力された仮名文字の
見出し語と同じ仮名であつて最も新しく入力され
たものの短縮データが選択される。その後、ステ
ツプ26へ進む。一方、ステツプ24において、
短縮データが単数であることが判断されると、直
接ステツプ26へ進む。ステツプ26において、
選択された短縮データの漢字まじり文(変換文)
のコードデータが出力バツフア8bへ転送され
て、CRTデイスプレイ6で表示される。
The operator operates the kana keyboard 1 to
After entering one character of kana, press the conversion key. The operations in this case are similar to those in steps 1, 5 and 2 described above. And step 6
If it is determined that the number of kana characters stored in the input buffer 4 is one character, the process proceeds to step 23. In step 23, using the one-character kana input this time as a headword, the abbreviation data stored in the abbreviation memory 13 with the same sound is searched and all are read out. In step 24, it is determined whether there is a plurality of shortened data items that have just been read out. If a plurality of abbreviated data with the same sound are registered, in step 25, the abbreviated data stored in the upper address of the abbreviation memory 13 is selected. In other words, the abbreviated data of the most recently input kana that is the same as the headword of the currently input kana character is selected. Thereafter, the process proceeds to step 26. On the other hand, in step 24,
If it is determined that the shortened data is singular, the process directly proceeds to step 26. In step 26,
Kanji-mixed sentences (converted sentences) of the selected shortened data
The code data is transferred to the output buffer 8b and displayed on the CRT display 6.

そして、オペレータは表示された漢字まじり文
を確認して、所望の漢字まじり文であることを確
認すると、変換キーおよび前候補キー以外のキ
ー、たとえば次の仮名文字入力キーが操作され
る。これに応答して、ステツプ27において、変
換キーでないことが判断され、ステツプ28にお
いて前候補キーでないことが判断されて、ステツ
プ29へ進む。ステツプ29において、今回短縮
メモリ13から読出された短縮データに対応する
使用頻度の記憶エリアの値に1が加算される。そ
してステツプ30において、出力バツフア8bに
記憶されている短縮処理で変換された漢字まじり
文等のデータが文書メモリ11へ転送して書込ま
れる。
Then, the operator checks the displayed sentence mixed with kanji and confirms that it is the desired sentence mixed with kanji, and then operates a key other than the conversion key and the previous candidate key, for example, the next kana character input key. In response, it is determined in step 27 that the key is not a conversion key, and in step 28 it is determined that it is not a previous candidate key, and the process advances to step 29. In step 29, 1 is added to the value of the usage frequency storage area corresponding to the shortened data read out from the shortened memory 13 this time. Then, in step 30, data such as a sentence mixed with kanji characters converted by the shortening process stored in the output buffer 8b is transferred to the document memory 11 and written therein.

一方、ステツプ26において出力バツフア8a
の内容がCRTデイスプレイ6に表示されたと
き、オペレータが所望の漢字まじり文でないこと
を確認すると、再度変換キーを押圧する。これに
応じて、ステツプ27において変換キーの操作さ
れたことが判断されて、ステツプ24へ戻る。そ
して、ステツプ24〜27の動作が繰返されて、
同じ同音の見出し語であつて、ステツプ24で読
み出された短縮データの次の上位番地に記憶され
ている短縮データが選択されて、その短縮データ
に対応する漢字まじり文が出力バツフア8aに書
込まれる。そして、オペレータが所望の漢字まじ
り文であることを確認して変換キーまたは前候補
キー以外のキーを押圧するまで、繰返される。
On the other hand, in step 26, the output buffer 8a
When the content of is displayed on the CRT display 6, when the operator confirms that it is not the desired sentence mixed with kanji, he presses the conversion key again. In response, it is determined in step 27 that the conversion key has been operated, and the process returns to step 24. Then, the operations of steps 24 to 27 are repeated,
The abbreviated data that has the same homophone entry word and is stored at the next higher address after the abbreviated data read in step 24 is selected, and the sentence containing kanji corresponding to the abbreviated data is written to the output buffer 8a. be included. The process is repeated until the operator confirms that the desired kanji-mixed sentence is obtained and presses a key other than the conversion key or the previous candidate key.

ところで、仮名漢字変換装置の使用の仕方によ
つては、1文字の通常の変換を行なう場合もあり
得る。その場合は、前候補キーという一般の変換
を意味するキーが操作される。この前候補キーが
操作されると、ステツプ28においてそれが判断
されて、ステツプ7へ戻り、前述の通常の変換
(短縮変換以外の処理による変換)が行なわれ
る。
By the way, depending on how the kana-kanji conversion device is used, it may be possible to perform normal conversion of one character. In that case, a key that means general conversion, called a previous candidate key, is operated. If the previous candidate key is operated, it is determined in step 28, and the process returns to step 7, where the above-mentioned normal conversion (conversion by processing other than shortening conversion) is performed.

なお、無変換キーが操作された場合は、入力さ
れた仮名文を漢字まじり文に変換する必要がない
ので、ステツプ3においてそれが判断されて、ス
テツプ31へ進む。ステツプ31において、入力
バツフア4の内容が出力バツフア8aへ直接転送
された後、ステツプ11へ進む。
Note that if the no-conversion key is operated, there is no need to convert the input kana sentence into a sentence mixed with kanji, so this is determined in step 3 and the process proceeds to step 31. In step 31, the contents of the input buffer 4 are directly transferred to the output buffer 8a, and then the process proceeds to step 11.

<効果> 以上のように、この発明によれば、通常の漢字
または漢字まじり文への変換の際に仮名入力され
た仮名文の先頭から一定文字数(たとえば1文
字)を見出し語として、変換された漢字まじり文
(語幹部)を自動的に登録しておき、所定文字数
の仮名文で見出し語が入力されたとき対応の漢字
まじり文を読出するようにしているので、仮名文
字の入力操作を簡略化できるとともに、迅速な入
力を行なえ、操作性を大幅に向上できるなどの特
有の効果が奏される。
<Effects> As described above, according to the present invention, a certain number of characters (for example, one character) from the beginning of a kana sentence input as kana are used as headwords when converting into normal kanji or a sentence containing kanji. The system automatically registers kanji-mixed sentences (word stems), and when a headword is entered as a kana sentence with a predetermined number of characters, the corresponding kanji-mixed sentence is read out, making it easier to input kana characters. It has unique effects such as being able to simplify, quickly input, and greatly improve operability.

また、オペレータがキーワードを記憶しておき
かつキーワードに対応する変換された漢字まじり
文を登録しておくことによつて入力する方法に比
べて、オペレータの勘違いによる誤入力を防止で
き、自動的に短縮して変換できる漢字まじり文の
数を大幅に増やすことができる効果もある。
In addition, compared to a method in which the operator memorizes keywords and registers the converted kanji-mixed sentences corresponding to the keywords, input errors due to operator misunderstandings can be prevented, and input can be automatically performed. It also has the effect of greatly increasing the number of sentences containing kanji that can be shortened and converted.

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

第1図はこの発明の一実施例の仮名漢字変換装
置のブロツク図である。第2図はこの発明の動作
を説明するためのフローチヤートである。第3図
はこの発明の動作を説明するための短縮データ設
定バツフア8bの記憶領域を図解的に示した図で
ある。 図において、1は仮名キーボード、2はフアン
クシヨンキーボード、3は符号化回路、4は入力
バツフア、5はCPU、6はCRTデイスプレイ、
7はプリンタ、8は仮名漢字変換処理部、11は
文書バツフア、12は仮名漢字変換辞書部、13
は短縮メモリを示す。
FIG. 1 is a block diagram of a kana-kanji conversion device according to an embodiment of the present invention. FIG. 2 is a flowchart for explaining the operation of the present invention. FIG. 3 is a diagram schematically showing the storage area of the shortened data setting buffer 8b for explaining the operation of the present invention. In the figure, 1 is a kana keyboard, 2 is a function keyboard, 3 is an encoding circuit, 4 is an input buffer, 5 is a CPU, 6 is a CRT display,
7 is a printer, 8 is a kana-kanji conversion processing unit, 11 is a document buffer, 12 is a kana-kanji conversion dictionary unit, 13
indicates shortened memory.

Claims (1)

【特許請求の範囲】 1 仮名文字を入力するための仮名文字入力手段
と、仮名文字または仮名文字列を漢字もしくは漢
字まじり文に変換するための仮名漢字変換データ
とを記憶する第1の記憶手段と、 入力された仮名文字列に関して先頭より或る数
に短縮した仮名文字の見出し語と、この短縮仮名
文字に対応する漢字もしくは漢字まじり文に変換
するための短縮仮名漢字変換データとを記憶する
第2の記憶手段と、 前記仮名文字入力手段の操作によつて入力され
た仮名文字または仮名文字列を、前記第1の記憶
手段に記憶されている仮名漢字変換データに基づ
いて漢字もしくは漢字まじり文からなる変換候補
に変換する仮名漢字変換手段と、 前記第1の記憶手段で変換されるすべての仮名
文字または仮名文字列について、この変換候補の
確定時に、当該変換候補に対応する前記入力され
た仮名文字列に関して、先頭より或る数に短縮し
た仮名文字または仮名文字列でなる見出し語と、
仮名漢字変換された漢字もしくは漢字まじり文と
を前記第2の記憶手段へ自動的に書き込んで登録
する自動書込手段と、 前記仮名漢字変換する際に、入力された仮名文
字もしくは仮名文字列を見出し語として前記第2
の記憶手段の各記憶エリアを検索し、対応する漢
字もしくは漢字まじり文を読出す読出手段とを備
えたことを特徴とする仮名漢字変換装置。 2 前記短縮仮名文字の或る文字数は、一定数に
定められ、 前記読出手段は、前記仮名文字入力手段の操作
によつて一定数の仮名文字が入力されたことに応
答して、前記第2の記憶手段に記憶されている短
縮仮名文字を検索する手段を含む特許請求の範囲
第1項記載の仮名漢字変換装置。 3 前記第2の記憶手段に登録されている短縮仮
名文字に対応する漢字もしくは漢字まじり文は、
語幹部および変化しない部分でなる特許請求の範
囲第1項記載の仮名漢字変換装置。 4 前記読出手段は、前記仮名文字入力手段の操
作によつて入力された短縮仮名文字と同音のもの
が前記第2の記憶手段に記憶されているとき、最
も新しく使用された第2の記憶手段に登録されて
いる対応の漢字もしくは漢字まじり文を読出す手
段を含む特許請求の範囲第1項記載の仮名漢字変
換装置。 5 前記自動書込手段は、前記第2の記憶手段に
登録されている短縮仮名文字の数が所定数以上に
なつたとき、前記第2の記憶手段の中の使用頻度
の最も低い短縮仮名文字とそれに対応する変換さ
れた漢字もしくは漢字まじり文の登録を消去する
手段を含む特許請求の範囲第1項記載の仮名漢字
変換装置。 6 前記自動書込手段は、前記第2の記憶手段に
登録されている短縮仮名文字の数が所定数以上に
なつたとき、前記第2の記憶手段の中の使用頻度
が最も低く、且つ最も先に登録された短縮仮名文
字とそれに対応する変換された漢字もしくは漢字
まじり文の登録を消去する手段を含む特許請求の
範囲第1項記載の仮名漢字変換装置。
[Scope of Claims] 1. A first storage means for storing kana character input means for inputting kana characters and kana-kanji conversion data for converting kana characters or kana character strings into kanji or sentences mixed with kanji. and stores the entry word of the kana character that is shortened to a certain number from the beginning of the input kana character string, and the shortened kana-kanji conversion data for converting the shortened kana character into a corresponding kanji or a sentence containing kanji. a second storage means; converting a kana character or a kana character string input by operating the kana character input means into a kanji or a kanji-mixed character based on the kana-kanji conversion data stored in the first storage means; A kana-kanji conversion means for converting into a conversion candidate consisting of a sentence, and for all kana characters or kana character strings converted by the first storage means, when this conversion candidate is determined, the inputted character corresponding to the conversion candidate is Regarding kana character strings, headwords consisting of kana characters or kana character strings shortened to a certain number from the beginning,
automatic writing means for automatically writing and registering a kanji or a sentence mixed with kanji that has been converted into kana-kanji into the second storage means; As a headword, the second
1. A kana-kanji conversion device comprising: reading means for searching each storage area of the storage means and reading out a corresponding kanji or a sentence mixed with kanji. 2. The certain number of characters of the abbreviated kana characters is determined to be a constant number, and the reading means is configured to read the second kana characters in response to inputting a certain number of kana characters by operating the kana character input means. The kana-kanji conversion device according to claim 1, further comprising means for searching for abbreviated kana characters stored in the storage means. 3. The kanji or kanji-mixed sentences corresponding to the abbreviated kana characters registered in the second storage means are:
The kana-kanji conversion device according to claim 1, which comprises word stems and unchanged parts. 4. The readout means reads the most recently used second storage means when the second storage means stores the same sound as the abbreviated kana character input by operating the kana character input means. The kana-kanji conversion device according to claim 1, further comprising means for reading out corresponding kanji or kanji-mixed sentences registered in . 5. When the number of abbreviated kana characters registered in the second storage means exceeds a predetermined number, the automatic writing means writes the least frequently used abbreviated kana characters in the second storage means. The kana-kanji conversion device according to claim 1, further comprising means for deleting the registration of the converted kanji or the corresponding kanji-mixed sentence. 6. When the number of abbreviated kana characters registered in the second storage means exceeds a predetermined number, the automatic writing means writes the least frequently used and the most frequently used abbreviated kana characters in the second storage means. 2. The kana-kanji conversion device according to claim 1, further comprising means for deleting registration of previously registered abbreviated kana characters and corresponding converted kanji or sentences mixed with kanji.
JP57211089A 1982-11-30 1982-11-30 Kana (japanese syllabary)-kanji (chinese character) converter Granted JPS59100941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57211089A JPS59100941A (en) 1982-11-30 1982-11-30 Kana (japanese syllabary)-kanji (chinese character) converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57211089A JPS59100941A (en) 1982-11-30 1982-11-30 Kana (japanese syllabary)-kanji (chinese character) converter

Publications (2)

Publication Number Publication Date
JPS59100941A JPS59100941A (en) 1984-06-11
JPS6246029B2 true JPS6246029B2 (en) 1987-09-30

Family

ID=16600229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57211089A Granted JPS59100941A (en) 1982-11-30 1982-11-30 Kana (japanese syllabary)-kanji (chinese character) converter

Country Status (1)

Country Link
JP (1) JPS59100941A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0731674B2 (en) * 1986-01-28 1995-04-10 カシオ計算機株式会社 Kana-Kanji mutual conversion device
JPH0731675B2 (en) * 1986-01-28 1995-04-10 カシオ計算機株式会社 Kana-Kanji mutual conversion device
JPH102239A (en) * 1996-06-14 1998-01-06 Toyota Motor Corp Engine control device for hybrid type vehicle
US8364468B2 (en) * 2006-09-27 2013-01-29 Academia Sinica Typing candidate generating method for enhancing typing efficiency

Also Published As

Publication number Publication date
JPS59100941A (en) 1984-06-11

Similar Documents

Publication Publication Date Title
US5214583A (en) Machine language translation system which produces consistent translated words
JPS619753A (en) Automatic registering method of frequent phrase for document processor
JPH05303590A (en) Automatic translating device
US5063534A (en) Electronic translator capable of producing a sentence by using an entered word as a key word
JPS6246029B2 (en)
JPH0612548B2 (en) Document processor
JP2621999B2 (en) Document processing device
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JPS62119665A (en) Word processor
JP3273778B2 (en) Kana-kanji conversion device and kana-kanji conversion method
JP2837848B2 (en) Electronic dictionary
JPH0336660A (en) Document preparing device
JPH0442350A (en) Character processor
JPH0131229B2 (en)
JPS6198475A (en) Japanese sentence input device
JPS5998236A (en) Input device of japanese sentence
JPS5814689B2 (en) Kanji-mixed sentence input device that sequentially displays homonyms
JPS5924382A (en) Word form converting system of electronic interpreter
JPH06131329A (en) Japanese language character processor
JPH04133165A (en) Kana/kanji converter
JPH0447451A (en) Character processor
JPS60136863A (en) Shortening conversion system of &#34;kana (japanese syllabary)/kanji (chinese character)&#34; converter
JPH0628338A (en) Word processor
JPH08166953A (en) Machine translation system
JPH0695330B2 (en) Document creation device