JP2802369B2 - Kana-Kanji conversion device - Google Patents

Kana-Kanji conversion device

Info

Publication number
JP2802369B2
JP2802369B2 JP63293945A JP29394588A JP2802369B2 JP 2802369 B2 JP2802369 B2 JP 2802369B2 JP 63293945 A JP63293945 A JP 63293945A JP 29394588 A JP29394588 A JP 29394588A JP 2802369 B2 JP2802369 B2 JP 2802369B2
Authority
JP
Japan
Prior art keywords
conversion
kana
character string
notation
kanji
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP63293945A
Other languages
Japanese (ja)
Other versions
JPH02139662A (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.)
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 JP63293945A priority Critical patent/JP2802369B2/en
Publication of JPH02139662A publication Critical patent/JPH02139662A/en
Application granted granted Critical
Publication of JP2802369B2 publication Critical patent/JP2802369B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は、主として日本語ワードプロセッサのよう
な文書処理装置に用いられ、入力されたかな文字列を漢
字かな交じり文や片かな平がな交じり文に変換するかな
漢字変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial application field The present invention is mainly used for a document processing device such as a Japanese word processor, and converts an input kana character string into a kanji kana mixed sentence or a katakana hiragana. The present invention relates to a kana-kanji conversion device for converting kana to kanji.

(ロ)従来の技術 上述したような日本語ワードプロセッサのかな漢字変
換処理においては、従来は、キーボードからかな文字列
を入力して、かな漢字変換を指示した場合、その入力さ
れたかな文字列は、辞書に記憶されている漢字又は漢字
かな交じり表記の単語に順次変換されるようになってお
り、表記の選択については、使用者が変換の指示を継続
して行うことにより、所望の表記の単語をキーボードか
ら選択するようにしている。
(B) Conventional technology In the kana-kanji conversion process of the Japanese word processor described above, conventionally, when a kana character string is input from a keyboard and a kana-kanji conversion is instructed, the input kana character string is converted into a dictionary. Are sequentially converted to words in kanji or kanji kana mixed notation stored in, and for the selection of notation, the user can continue to instruct the conversion to change the word of the desired notation. You choose from the keyboard.

また、片かな変換処理においては、第1の方法とし
て、入力された各かな文字を片かな文字に1対1に対応
させてそのまま片かな文字に変換するようにしたもの
や、第2の方法として、入力されたかな文字列を片かな
部分と平がな部分とに分け、平がな部分を付属語辞書に
よって検定することにより、片かな部分と平がな部分と
の適正配分を決定するようにしたものや(特開昭61−12
0276号公報参照)、第3の方法として、入力されたかな
文字列を辞書によって漢字と同じように片かな文字列に
変換するようにしたもの(特開昭60−160469号公報、特
開昭63−49965号公報、いずれも参照)が見られる。
In the one-sided kana conversion process, the first method is to convert each input kana character to a one-to-one correspondence with the one-sided kana character and directly convert it to the one-sided kana character, or the second method As a result, the input kana character string is divided into one-sided kana and hiragana parts, and the hiragana part is tested by using an attached word dictionary to determine an appropriate distribution between the one-sided kana part and the hiragana part. And Japanese Patent Application Laid-Open No. 61-12
Japanese Patent Application Laid-Open No. 60-160469, Japanese Patent Application Laid-Open No. 60-160469, and Japanese Patent Application Laid-Open No. 63-49965, all of which are incorporated herein by reference).

(ハ)発明が解決しようとする課題 しかしながら、上述のようなかな漢字変換処理におい
ては、 所望の単語が表示されるまで何回も変換を指示しな
ければならず、変換指示の回数がいたずらに多い。
(C) Problems to be Solved by the Invention However, in the above-described kana-kanji conversion processing, conversion must be instructed many times until a desired word is displayed, and the number of conversion instructions is unnecessarily large. .

所望の単語に近いものが表示されても、さらに変換
を指示すると、全然別の単語に変換されていまうことが
ある。
Even if a word close to the desired word is displayed, if a further conversion instruction is given, the word may be completely converted into another word.

所望の単語が辞書に無いことが最後まではっきりわ
からない、等の問題がある。
There is a problem that it is not clear until the end that the desired word is not in the dictionary.

また、片かな変換処理の第1の方法においては、入力
されたかな文字列の構成要素を解析しないで単に片かな
文字列に変換してしまうために、付属語(助詞、助動詞
等)も片かな文字に変換してしまという問題がある。
Further, in the first method of the kana conversion processing, since the components of the input kana character string are simply converted into the kana character string without being analyzed, the attached words (particles, auxiliary verbs, etc.) There is a problem of converting to kana characters.

これは例えば、「鯨が」という表現を例にとると、
[くじらが」と入力した場合には(片かな入力、あるい
は、平がな入力後片かなに一括変換)、「クジラガ」と
変換されてしまい、本来の「クジラが」に変換すること
はできない。これを修正するためには、1文字づつの修
正を行うか、あるいは、「くじらが」を「くじら」と
「が」に分けて入力する方法が考えられるが、操作の手
間がかかりすぎる。
For example, taking the expression "whale" as an example,
If you input [Whales] (one-sided kana input, or batch conversion to one-sided kana after input), it will be converted to "whales" and cannot be converted to the original "whales" . In order to correct this, there is a method of correcting one character at a time, or a method of inputting "whale" separately into "whale" and "ga", but the operation is too time-consuming.

さらに、第2の方法においては、片かな部分と平がな
部分との適正配分を付属語辞書によって決定するまでに
時間がかかるという問題がある。
Furthermore, in the second method, there is a problem that it takes a long time to determine an appropriate distribution between the one-sided part and the flat part by the attached word dictionary.

そして、第3の方法においては、先程の「鯨が」を例
にとると、辞書に“鯨”と“クジラ”の両方を登録する
ようにしておけば、変換指示によって容易に「クジラ
が」と変換することができるが、この場合には、一語に
要する辞書メモリの容量が多くなり、限られた容量内で
は多くの単語を登録できないという問題がある。
In the third method, taking "whale" as an example, if both "whale" and "whale" are registered in the dictionary, "whale" can be easily entered by the conversion instruction. However, in this case, the capacity of the dictionary memory required for one word increases, and there is a problem that many words cannot be registered within the limited capacity.

また、別の例を挙げれば、例えば「しんかんかくは」
という文字列が入力された場合には、最後の文字の
「は」が付属語なのか接尾語なのかはっきりしないた
め、どこまで片かなに変換してよいのかわからないとい
う問題もある。これは、漢字に変換する場合であれば、
「は」が付属語のときは「新感覚は」、接尾語のときは
「新感覚派」であり、片かな変換の場合には、それぞれ
「シンカンカクは」、あるいは「シンカンカク派」と変
換しなければならないが、このような付属語と接尾語の
判定ができない。
Another example is "Shinkankaku"
Is input, it is not clear whether the last character "ha" is an adjunct or a suffix, so there is also a problem that it is difficult to know how far the conversion can be made. This is for converting to kanji.
When "ha" is an adjunct, it is "new sense", and when it is a suffix, it is "new sense", and in the case of one-sided conversion, it is converted to "shinkankaku" or "shinkankaku", respectively. It must be possible, but cannot determine such adjuncts and suffixes.

この発明は、このような事情を考慮してなされたもの
で、かな漢字変換処理においては、単語を1つの読みに
対して複数の同音同義語表記の単語に変換するようにし
て単語の選択に階層性を持たせ、また、片かな変換処理
においては、単語とそれに続く付属語との構成要素を考
慮して、単語のみを片かな文字に変換するようにしたか
な漢字変換装置を提供するものである。
The present invention has been made in view of such circumstances, and in the kana-kanji conversion process, a word is converted into a plurality of words with the same phonetic synonym notation for one reading, so that the word selection is performed hierarchically. And a kana-kanji conversion device that converts only words into katakana characters in the katakana conversion process in consideration of the components of the word and the attached words that follow. .

(ニ)課題を解決するための手段 本発明は、入力手段から入力されたかな文字列を記憶
する記憶手段と、第1変換指示手段と、第2変換指示手
段と、第1変換指示手段の指示に基づき、記憶手段に記
憶されたかな文字列を解析して語幹、接辞、付属語に分
割し、その解析結果に基づいて記憶手段に記憶されたか
な文字列を同音で異表記関係にある漢字かな交じり表記
の候補文字列に順次変換出力すると共に、その変換出力
毎に語幹、接辞、付属語の各表記データ数と読みデータ
数とを得る同音語変換手段と、同音語変換手段によって
順次変換出力される候補文字列の内の特定の候補文字列
に対して第2変換指示手段の指示がなされると、その特
定の候補文字列の語幹の部分を前記記憶手段に記録され
たかな文字列と前記語幹、接辞、付属語の各読みデータ
数を用いて片かなに換えて表記する片かな変換手段と、
記憶手段に記憶された文字列と、同音語変換手段から出
力される候補文字列と、片かな変換手段から出力される
語幹部分が片かな表記の候補文字列とを、前記語幹、接
辞、付属語の各表記データ数と読みデータ数を用いて互
いに置き換えて表示する表示手段とを備えてなるかな漢
字変換装置である。
(D) Means for Solving the Problems The present invention provides a storage means for storing a kana character string input from an input means, a first conversion instruction means, a second conversion instruction means, and a first conversion instruction means. Based on the instruction, the kana character string stored in the storage means is analyzed and divided into stems, affixes, and adjuncts. Based on the analysis result, the kana character strings stored in the storage means have the same sound and have a different notation relationship. A homophone conversion unit that sequentially converts and outputs candidate character strings of kanji kana mixed notation and obtains the number of notation data and the number of reading data of each of the stem, affix, and attached words for each conversion output, and sequentially by the homophone conversion unit When an instruction of the second conversion instructing unit is given to a specific candidate character string among the candidate character strings to be converted and output, the stem portion of the specific candidate character string is converted to a kana character recorded in the storage unit. Column and the stem, affix, One-sided kana conversion means for converting to one-sided kana using each reading data number,
The character string stored in the storage means, the candidate character string output from the homophone conversion means, and the candidate character string in which the stem part output from the kana conversion means is a kana notation, are combined with the stem, affix, A kana-kanji conversion device comprising: display means for replacing and displaying each word using the number of written data and the number of read data.

また、本発明は、前記同音語変換手段により変換出力
される文字列には、平がな表記/片かな表記/送りがな
省略表記/当て字/異体字のいずれかが含まれることを
特徴とするかな漢字変換装置である。
Further, the present invention is characterized in that the character string converted and output by the homophone conversion means includes any one of the following: hiragana, katakana, abbreviation, abbreviation, and variant. It is a conversion device.

なお、この発明における同音同義語表示の単語とは、
一つの語に対して複数の表記が存在することから「出力
のゆらぎ」とも呼ばれ、読みと意味が同じで表記が異な
る単語を意味する。
In the present invention, the word of the same word synonym display is:
Since there are multiple notations for one word, it is also called “output fluctuation” and means words that have the same pronunciation and meaning but different notations.

すなわち、第2図にその一例を示すように、一つの単
語に対して、平がな/片かな/通常の漢字表記/通常の
漢字表記とは送りがなの違うもの/当て字/異体字、へ
の各変換を意味する。
That is, as shown in FIG. 2, for example, for one word, Hiragana / Katakana / Normal Kanji notation / What is different from normal Kanji notation / Guide / Various character Means each transformation.

(ホ)作用 本発明によれば、かな漢字変換において、所望の単語
の語幹部分に相当する文字列だけを、同音同義で異表記
関係にある文字列に順次変換出売力することができる。
また、単語の選択に階層性を持たせることができ、所望
の単語を効率よく選択することが可能となり、単語をグ
ループ化することによって、平がなから片かなを作りだ
したり、あるいは通常の基本漢字から送りがなの違うも
のや異体字を含むものを選択的かつ容易に作り出すこと
ができる。
(E) Function According to the present invention, in kana-kanji conversion, only a character string corresponding to a stem portion of a desired word can be sequentially converted into a character string having the same synonym and a different notation relationship, and the sales force can be increased.
In addition, it is possible to give a hierarchy to the selection of words, and it is possible to select desired words efficiently. It is possible to selectively and easily create kanji that contain different characters or characters that have different characters.

従って、片かな語を辞書に登録しておくよりも辞書メ
モリの容量をはるかに節約することが可能となり、さら
に、付属語の情報が解析されているので、単なる従来の
片かな変換よりも使用者の要望に近い片かな表記を容易
に得ることができる。
Therefore, it is possible to save much more dictionary memory capacity than registering katakana words in the dictionary, and since the information of the attached words is analyzed, it can be used more than mere conventional katakana conversion It is possible to easily obtain a one-sided notation close to the request of the person.

(ヘ)実施例 以下、図面に示す実施例に基づいてこの発明を詳述す
る。なお、これによってこの発明が限定されるものでは
ない。
(F) Embodiment Hereinafter, the present invention will be described in detail based on an embodiment shown in the drawings. Note that the present invention is not limited to this.

第1図はこの発明の一実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention.

この図において、1は入力手段としてのキーボードで
ある。キーボード1は、かなキー、アルファベットキー
等の文書入力のための各種のキーと、かな漢字変換を指
示するための変換キー、及び、後述する同音同義語変換
と仮かな変換のための副変換キーとを備えており、かな
文字列の情報や各種の指示情報を制御部2に入力する
(変換キー、及び副変換キーは図示しない)。
In this figure, reference numeral 1 denotes a keyboard as input means. The keyboard 1 includes various keys for inputting a document such as a kana key and an alphabet key, a conversion key for instructing a kana-kanji conversion, and a sub-conversion key for a homophone synonym conversion and a provisional kana conversion described later. And inputs the information of the kana character string and various kinds of instruction information to the control unit 2 (a conversion key and a sub-conversion key are not shown).

制御部2はCPU、ROM、RAM、I/Oポートからなるマイク
ロコンピュータから構成され、ROMに書き込まれている
制御プログラムに従いデータ処理を行う。
The control unit 2 includes a microcomputer including a CPU, a ROM, a RAM, and an I / O port, and performs data processing according to a control program written in the ROM.

以下、このデータ処理機能を有する仮想的回路ブロッ
クを想定して説明する。
Hereinafter, description will be made assuming a virtual circuit block having this data processing function.

3はキーボード1から入力されたかな文字列を記憶す
るRAMからなる記憶手段である。
Reference numeral 3 denotes a storage unit including a RAM for storing a kana character string input from the keyboard 1.

4はかな漢字変換手段であり、かな漢字変換用の単語
辞書を備えている。
Reference numeral 4 denotes kana-kanji conversion means, which includes a word dictionary for kana-kanji conversion.

かな漢字変換手段4は、キーボード1の変換キーが押
し下げられた場合には、まず、記憶手段3に記憶されて
いるかな文字列を解析する。この解析は、単語辞書や文
法などの言語的な情報、単語の出現頻度などの確率的な
情報を利用して、通常用いられる公知のかな漢字変換ア
ルゴリズムに基づいて行われ、かな漢字変化手段4は、
この解析により、記憶手段3に記憶されているかな文字
列を、接頭語・語幹・接尾語等からなる単語として変換
可能なかな文字列と、助詞・助動詞等からなる付属語と
してのかな文字列とに分割する。
When the conversion key of the keyboard 1 is depressed, the kana-kanji conversion means 4 first analyzes the kana character string stored in the storage means 3. This analysis is performed based on linguistic information such as a word dictionary and grammar, and probabilistic information such as the frequency of appearance of words, based on a known kana-kanji conversion algorithm that is generally used.
By this analysis, a kana character string that can be converted as a word composed of a prefix, a stem, a suffix, and the like, and a kana character string as an adjunct composed of a particle, an auxiliary verb, etc. And split into

そして、単語として変換可能なかな文字列を漢字又は
漢字かな交じり表記の単語に変換する。
Then, the kana character string that can be converted as a word is converted into a word in kanji or kanji kana mixed notation.

5は同音同義語変換手段であり、キーボード1の変換
キーに続い副変換キーが押し下げられた場合には、かな
漢字変換手段4によって分割された、単語として変換可
能なかな文字列を、かな漢字変換手段4によって変換さ
れた単語と同じ読みでかつ同じ意味の複数種類の同音同
義語表記の単語に変換する。
Reference numeral 5 denotes a homonym synonym conversion means. When a sub-conversion key is pressed after the conversion key of the keyboard 1, a kana character string which can be converted as a word and divided by the kana-kanji conversion means 4 is converted into a kana-kanji conversion means. 4 is converted into a plurality of homonymous words with the same pronunciation and the same meaning as the word converted in step 4.

ここで同音同義語表記の単語とは、一つの語に対して
複数の表記が存在することから「出力のゆらぎ」とも呼
ばれ、読みと意味が同じで表記が異なる単語のことであ
る。
Here, the word in the homonymous notation is also called “output fluctuation” because a plurality of notations exist for one word, and is a word having the same pronunciation and meaning but different notation.

第2図に示したものは、同音同義語変換の内容の一例
を示す説明図であり、図に示すように、同音同義語変換
においては、平がな/片かな/通常の漢字表記/通常の
漢字表記とは送りがなの違うもの/当て字/異体字、か
つ一単語のグループとされ、これらのグループ単位で変
換が行われる。
FIG. 2 is an explanatory diagram showing an example of the contents of homonymous synonym conversion. As shown in FIG. 2, in the homonymous synonym conversion, Hiragana / Kana / Normal Kanji notation / Normal Is different from the kanji notation, and is a group of one word / applied character / variant character and one word, and conversion is performed in units of these groups.

6は片かな変換手段であり、キーボード1からかな文
字列が入力された後、変換キーが押し下げられないで直
接副変化キーが押し下げされた場合には、かな漢字変換
手段4によて解析された、単語として変換可能な文字列
を、その各かな文字に1対1に対応する片かな文字列に
変換する。
Reference numeral 6 denotes one-sided kana conversion means. When a sub-change key is directly depressed without a depressed conversion key after a kana character string is input from the keyboard 1, the kana-kanji conversion means 4 analyzes the data. Then, the character string that can be converted as a word is converted into a single-character string corresponding to each kana character on a one-to-one basis.

この変換は、記憶手段3に記憶されているかな文字列
が、かな漢字変換手段4によて既に漢字または漢字かな
交じりの単語に変換されている場合には、副変換キーの
押し下げにより、その単語を一旦平がな文字列に変換
し、その後、その各平がな文字に1対1に対応する片か
な文字列に変換する。
This conversion is performed when the kana character string stored in the storage unit 3 has already been converted to a kanji or a kanji-kana mixed word by the kana-kanji conversion unit 4 by depressing the sub-conversion key. Is once converted to a hiragana character string, and then converted to a katakana character string corresponding to each hiragana character on a one-to-one basis.

7はCRTディスプレイあるいはLC(液晶)ディスプレ
イ等からなる表示部であり、キーボード1から入力され
て記憶手段3に記憶されている内容や、かな漢字変換手
段4、同音同義語変換手段5及び片かな変換手段6によ
って変換された内容を表示する。
Reference numeral 7 denotes a display unit composed of a CRT display or an LC (liquid crystal) display, etc., which is input from the keyboard 1 and stored in the storage unit 3, a kana-kanji conversion unit 4, a homonymous synonym conversion unit 5, and a kana conversion. The contents converted by the means 6 are displayed.

第3図及び第4図は片かな変換手段6の片かな変換に
おける解析過程を説明する図である。
FIG. 3 and FIG. 4 are diagrams for explaining the analysis process in the one-sided kana conversion means 6.

前述した、かな漢字変換手段4による変換において
は、選択する単語、すなわち、表記文字列候補以外に、
構成要素が考慮されてかな漢字変換が行われている。例
えば「しんかんかくは」という文字列がキーボード1か
ら入力されて記憶手段3に記憶され、それが、かな漢字
変換手段4によって「新感覚は」という漢字交じり句の
候補として変換されるとした場合には、第3図に示すよ
うな情報が入手される。
In the conversion by the kana-kanji conversion means 4 described above, in addition to the word to be selected, that is, the notation character string candidate,
Kana-Kanji conversion is performed in consideration of the constituent elements. For example, if a character string "Shinkankaku" is input from the keyboard 1 and stored in the storage means 3, and the character string is converted by the Kana-Kanji conversion means 4 as a candidate for a kanji mixed phrase "New sensation is" Is obtained as shown in FIG.

これは、漢字への変換候補が「新感覚は」という表記
である場合には、表記データ(文字)数は、接頭語とし
ては「新」の1文字、語幹としては「感覚」の2文字、
接尾語はなく、付属語としては「は」の1文字、である
ということを示し、さらに読みは「しんかんかくは」で
あるので、読みデータ(文字)数は、接頭語としては
「しん」の2文字、語幹としては「かんかく」の4文
字、接尾語はなく、付属語として「は」の1文字である
ということを示している。
This is because if the conversion candidate to kanji is the notation “new sensation”, the number of notation data (characters) is one character of “new” as a prefix and two characters of “sense” as a stem. ,
There is no suffix, indicating that the attached word is one character of "ha", and the reading is "shinkankaku", so the number of read data (characters) is "shin" as the prefix. , The stem has four characters "kankaku", no suffix, and one character "ha" as an auxiliary word.

このような情報を入手した後、キーボード1の副変換
キーが1回押し下げられた場合には、「新感覚は」と変
換された表記文字列を、平がなで表した「しんかんかく
は」という入力文字列に一旦変換し、第3図に示したよ
うな情報はそのまま保持しておく。
When the sub-conversion key of the keyboard 1 is depressed once after obtaining such information, the character string converted as "new feeling" is displayed in hiragana as "shinkankakuha". Is temporarily converted to an input character string, and the information as shown in FIG. 3 is held as it is.

そして、キーボード1の副変換キーがさらにもう1回
押し下げられた場合には、例えば、第3図に示したよう
な情報の内、語幹のみを片かなにするようにあらかじめ
設定しておいた場合には、表記データの語幹部分、つま
り、表記文字列の最初から2番目と3番目を抜いて、読
みデータの語幹部分、つまり読みデータの3番目から6
番目を片かなに換えて表記を行う。結果的には「新カン
カクは」が得られる。
Then, when the sub-conversion key of the keyboard 1 is depressed one more time, for example, in a case where the information shown in FIG. Is extracted from the beginning of the notation data, that is, the second and third characters from the beginning of the notation character string.
The notation is changed by replacing the number with a one-sided kana. As a result, "New Kankaku wa" is obtained.

また、接頭語も接尾語も片かなにするようにあらかじ
め設定しておいた場合には、付属語のみを残して片かな
に変換し、「シンカンカクは」が得られる。
If the prefix and the suffix are set in advance so as to be one-sided, kana is converted to one-sided kana, leaving only the attached word.

また、例えば、かな漢字変換手段4による変換によっ
て「新感覚派」という表記が候補となる場合には、第4
図に示すような情報を入手する。
Further, for example, when the notation “new sense group” is a candidate by conversion by the kana-kanji conversion means 4, the fourth
Obtain information as shown in the figure.

これは、漢字への変換候補が「新感覚派」という表記
である場合には、表記データ(文字)数は、接頭語とし
ては「新」の1文字、語幹としては「感覚」の2文字、
接尾語としては「派」の1文字、付属語はない、という
ことを示し、さらに読みは「しんかんかくは」であるの
で、読みデータ(文字)数は、接頭語としては「しん」
の2文字、語幹としては「かんかく」の4文字、接尾語
としては「は」の1文字、付属語はない、ということを
示している。
This is because if the conversion candidate to kanji is the notation “Shinkansen”, the number of notation data (characters) is one character of “new” as a prefix and two characters of “sense” as a stem. ,
This indicates that the suffix is one letter of “fact” and that there is no attached word, and that the reading is “shinkankaku”, the number of reading data (characters) is “shin” as the prefix.
, Four characters "kankaku" as a stem, one character "ha" as a suffix, and no attached words.

このような情報を入手した後、副変換キーが押し下げ
られた場合には、前述と同様に、表記文字列を全て入力
文字列である平がなに変換し、それに続いて副変換キー
がさらに押し下げられた場合には、前述のようにして、
「新カンカク派」、又は「シンカンカク派」を得る。
When the sub-conversion key is depressed after obtaining such information, all of the notation character strings are converted into the input character string, hiragana, and the sub-conversion key is When depressed, as described above,
Get "New Kankaku School" or "Shin Kankaku School".

このような構成における動作を、以下、第5図に示す
フローチャートに基づいて説明する。
The operation in such a configuration will be described below with reference to the flowchart shown in FIG.

まず、キーボード1からかな文字列が入力され、それ
が記憶手段3に記憶されている状態において(ステップ
201)、キーボード1の変換キーが押し下げられると
(ステップ202)、かな漢字変換手段4により、カウン
ターメモリN1によって変換キーの押し下げ回数がカウン
トされ(ステップ203)、確率的な頻度情報である、公
知の学習テーブルが検索されて(ステップ204)、学習
候補の有無が判定される(ステップ205)。
First, in a state where a kana character string is inputted from the keyboard 1 and it is stored in the storage means 3 (step
201), when the conversion key on the keyboard 1 is depressed (step 202), the kana-kanji conversion unit 4, the number depressed conversion key by counter memory N 1 is counted (step 203), a stochastic frequency information, known Is searched (step 204), and the presence or absence of a learning candidate is determined (step 205).

そして、学習候補がある場合には学習候補が出力され
(ステップ206)、学習候補がない場合には辞書検索が
行われて(ステップ207)、カウンターメモリN1に記憶
されている表示順位の候補が出力され(ステップ20
8)、ステップ202に戻る。
Then, the output learning candidate when there is a learning candidate (step 206), the dictionary search is performed when there is no learning candidate (step 207), the display order that is stored in the counter memory N 1 candidate Is output (step 20
8) Return to step 202.

また、副変換キーが押し下げられると(ステップ20
9)、同音同義語変換手段5、及び片かな変換手段6に
より、副変換キーの押し下げ回数がカウンターメモリN2
によってカウントされ(ステップ210)、そのカウント
数が1である場合には(ステップ211)、入力文字列に
対する平がな変換処理が行われて(ステップ212)、平
がな文字列候補が表示部7に出力され(ステップ21
3)、カウント数が2である場合には(ステップ214)、
片かな変換が行われて(ステップ215)、片かな候補が
表示部7に出力され(ステップ216)、それぞれステッ
プ202に戻る。そして次は、変換キーの押し下げ回数で
あるカウンターメモリN1のカウント数が0であるのかど
うかが判定され(ステップ217)、0である場合、つま
り、変換キーが1回も押し下げられていない場合には、
副変換キーの押し下げ回数が1回とみなされるように、
カウンターメモリN2のカウント数が1とされて(ステッ
プ218)、ステップ211に戻る。
When the sub-conversion key is depressed (step 20)
9), the number of times the sub-conversion key is pressed is reduced by the countermeasure N 2
(Step 210), and when the count is 1 (step 211), a flat conversion process is performed on the input character string (step 212), and a flat character string candidate is displayed on the display unit. 7 (Step 21)
3) If the count is 2 (step 214),
One-sided kana conversion is performed (step 215), and one-sided kana candidates are output to the display unit 7 (step 216), and the process returns to step 202, respectively. And next, whether the number of counted counter memory N 1 is the number depressed conversion key is 0 is determined (step 217), if it is 0, that is, when the conversion key is not also depressed once In
Assuming that the number of times the sub-conversion key is pressed is one,
Counts the counter memory N 2 is 1 (step 218), returns to step 211.

そして、カウンターメモリN2のカウント数が0でない
場合、つまり、変換キーが何回か押し下げられて、かな
漢字変換が行われている場合であって、かつ、カウンタ
ーメモリN2のカウント数が3の場合には(ステップ21
9)、送りがな変換処理が行われて(ステップ220)、第
2図に示したような送りがな変換候補が表示部7に出力
され(ステップ221)、カウンターメモリN2のカウント
数が4の場合には(ステップ222)、当て字変換処理が
行われて(ステップ223)、同じく第2図に示したよう
な当て字変換候補が表示部7に出力され(ステップ22
4)、さらに、カウンターメモリN2のカウント数が5の
場合には(ステップ225)、異体字変換処理が行われて
(ステップ226)、同じく第2図に示したような異体字
候補が出力されて(ステップ227)、それぞれステップ2
02に戻る。
When the number of count counter memory N 2 is not 0, that is, conversion key is pressed down several times, even when the kana-kanji conversion is being performed, and the number of counts counter memory N 2 is 3 If (Step 21
9), fed by the conversion process is performed (step 220), fed by the conversion candidate as shown in Figure 2 is outputted to the display section 7 (step 221), when the number of count counter memory N 2 is 4 (Step 222), a guess letter conversion process is performed (step 223), and guess letter conversion candidates as shown in FIG. 2 are output to the display unit 7 (step 22).
4), further, the counter when the number of count memory N 2 is 5 (step 225), the variant character conversion process is performed (step 226), also variant forms candidates as shown in Figure 2 the output Being done (step 227), each step 2
Return to 02.

そして、カウンターメモリN2のカウント数が6になっ
た場合(副変換キーが6回押し下げられた場合)には、
カウンターメモリN2のカウント数が1とされ(ステップ
228)、ステップ211に戻って再度平がな候補が表示部7
に出力される。
When the number of count counter memory N 2 becomes 6 (if the sub conversion key is pressed 6 times), the
Counts the counter memory N 2 is set to 1 (step
228), the process returns to step 211, and a flat candidate is displayed again on the display unit 7.
Is output to

そして、副変換キーの押し下げが終了し、例えば、次
の文字列を入力するためのキーのような、変換候補を確
定するためのキーが押し下げられた場合には(ステップ
229)、表示部7に表示されている表示候補データが学
習テーブルに登録され(ステップ230)、その表示候補
データが文章メモリ(図示せず)に記憶される(ステッ
プ231)。
Then, when the depression of the sub-conversion key is completed and, for example, a key for confirming a conversion candidate such as a key for inputting the next character string is depressed (step
229) The display candidate data displayed on the display unit 7 is registered in the learning table (step 230), and the display candidate data is stored in the text memory (not shown) (step 231).

また、ステップ229において、変換候補を確定するた
めのキー操作が行われない場合には、ステップ202に戻
って、再度各キーの押し下げ操作が判定される。
Also, in step 229, if the key operation for confirming the conversion candidate is not performed, the process returns to step 202, and the pressing operation of each key is determined again.

このようにして、単語として変換可能なかな文字列
は、第2図に示したような、平がな/片かな/通常の漢
字表記/通常の漢字表記とは送りがなの違うもの/当て
字/異体字として、同じ読みで同じ意味の表記の単語に
順次変換される。
In this manner, the kana character string that can be converted as a word is, as shown in FIG. 2, Hiragana / Kana / Normal Kanji notation / Feedback different from normal Kanji notation / Guide / Variant The characters are sequentially converted into words having the same reading and the same meaning.

従って、変換キーによって所望の単語に近いものが表
示された場合には、副変換キーにより、その単語の同音
同義語を順次表示させて、単語を階層的に選択するよう
にすれば、所望の単語を効率良く選択することができ
る。
Therefore, when a word close to a desired word is displayed by the conversion key, the same sound synonym of the word is sequentially displayed by the sub-conversion key, and the word is selected hierarchically. Words can be selected efficiently.

また、片かな変換においては、単語に変換されるべき
平がな文字列が、その各平がな文字列に1対1に対応す
る片かな文字列に変換され、付属語は平がなのまま保持
されるので、片かな語を辞書に登録しておくよりも辞書
メモリの容量を節約することができ、使用者の要望に近
い片かな表記を容易に得ることができる。尚、上記本発
明の実施例では、「語幹部分の片仮名変換」のための変
換キーを、無変換キー(副変換キー)に割り当てて説明
している関係上、1回目の変換指示で片仮名表記の候補
が表示され、2回目の変換指示で語幹部分が片仮名表記
の候補が表示されるようになっている。
In the katakana conversion, a flat character string to be converted to a word is converted into a katakana character string corresponding to each of the hiragana character strings on a one-to-one basis, and the adjunct word remains unchanged. Since it is retained, the capacity of the dictionary memory can be saved as compared with the case where the katakana words are registered in the dictionary, and the katakana notation close to the user's request can be easily obtained. In the above-described embodiment of the present invention, the conversion key for "conversion of the katakana of the stem portion" is assigned to the non-conversion key (subconversion key). Is displayed, and a candidate whose stem portion is written in katakana is displayed by the second conversion instruction.

しかし、1回の変換指示で片仮名表記の候補が表示さ
れるのは、あくまでも、実施例として無変換キーを利用
したためによるものであり、当然ながら、別途専用キー
を設けれることにより、語幹部分が片仮名表記である候
補が即座に表示されることになることは自明なことであ
る。
However, the katakana candidate is displayed by one conversion instruction only because the non-conversion key is used as an example. Naturally, by providing a dedicated key separately, the stem part is not changed. It is self-evident that katakana candidates will be displayed immediately.

(ト)発明の効果 この発明によれば、かな漢字変換においては、同音同
義語変換を行って、単語の選択に階層性を持たせること
により、所望の単語を効率よく選択することが可能とな
り、また、単語をグループ化することによって、平がな
から片かな作り出したり、あるいは、通常の基本漢字か
ら送りがなの違うのもや異体字を含むものを作り出した
りすることができるので、それぞれ独立に辞書に記憶さ
せておくよりも、辞書メモリの容量を節約することが可
能となる。
(G) Effect of the Invention According to the present invention, in the kana-kanji conversion, the same sound synonym conversion is performed, and the selection of words is given a hierarchy, so that a desired word can be selected efficiently. In addition, by grouping words, it is possible to create hiragana or kanji, or to create items that have different sending characters or variant characters from ordinary basic kanji, so that each dictionary can be created independently. , It is possible to save the capacity of the dictionary memory.

また、片かな変換においては、単語と付属語の情報が
解析されているので、単に片かな文字列に変換するより
も、使用者の要望に近い片かな表記を容易に得ることが
可能となる。
In addition, in the katakana conversion, since the information of words and attached words is analyzed, it is possible to easily obtain katakana notation that is closer to the user's request than simply converting to a katakana character string. .

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同音同義語変換の内容の一例を示す説明図、第
3図及び第4図は片かな変換の解析過程を説明する図、
第5図は実施例の動作を示すフローチャートである。 1……キーボード、2……制御部、3……記憶手段、 4……かな漢字変換手段、5……同音同義語変換手段、 6……片かな変換手段、7……表示部。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention,
FIG. 2 is an explanatory diagram showing an example of the contents of the same-sound synonym conversion, and FIGS. 3 and 4 are diagrams illustrating an analysis process of the one-sided kana conversion.
FIG. 5 is a flowchart showing the operation of the embodiment. 1 ... keyboard, 2 ... control unit, 3 ... storage means, 4 ... kana-kanji conversion means, 5 ... homonym synonym conversion means, 6 ... one-side kana conversion means, 7 ... display unit.

フロントページの続き (56)参考文献 特開 昭61−233862(JP,A) 特開 昭63−2627(JP,A) 特開 昭59−57324(JP,A)Continuation of the front page (56) References JP-A-61-233862 (JP, A) JP-A-63-2627 (JP, A) JP-A-59-57324 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力手段から入力されたかな文字列を記憶
する記憶手段と、 第1変換指示手段と、 第2変換指示手段と、 第1変換指示手段の指示に基づき、記憶手段に記憶され
たかな文字列を解析して語幹、接辞、付属語に分割し、
その解析結果に基づいて記憶手段に記憶されたかな文字
列を同音で異表記関係にある漢字かな交じり表記の候補
文字列に順次変換出力すると共に、その変換出力毎に語
幹、接辞、付属語の各表記データ数と読みデータ数とを
得る同音語変換手段と、 同音語変換手段によって順次変換出力される候補文字列
の内の特定の候補文字列に対して第2変換指示手段の指
示がなされると、その特定の候補文字列の語幹の部分を
前記記憶手段に記憶されたかな文字列と前記語幹、接
辞、付属語の各読みデータ数を用いて片かなに換えて表
記する片かな変換手段と、 記憶手段に記載された文字列と、同音語変換手段から出
力される候補文字列と、片かな変換手段から出力される
語幹部分が片かな表記の候補文字列とを、前記語幹、接
辞、付属語の各表記データ数と読みデータ数を用いて互
いに置き換えて表示する表示手段とを備えてなるかな漢
字変換装置。
A first conversion instruction unit, a second conversion instruction unit, and a first conversion instruction unit. Analyze the character string and split it into stems, affixes, and adjuncts.
Based on the result of the analysis, the kana character string stored in the storage means is sequentially converted and output to a candidate character string of kanji kana mixed notation having the same sound and a different notation relation, and a stem, an affix, and an adjunct word are added for each conversion output. A homophone conversion means for obtaining each of the number of written data and the number of read data, and an instruction of the second conversion instructing means for a specific candidate character string among candidate character strings sequentially converted and output by the homophone conversion means. Then, using the kana character string stored in the storage means and the number of reading data of each of the stem, affix, and attached word, the kana conversion is performed to convert the stem portion of the specific candidate character string into the kana character. Means, a character string described in the storage means, a candidate character string output from the homophone conversion means, and a candidate character string in which the stem part output from the kana conversion means is kana, the said stem, Notation data for affixes and attached words Kana-kanji conversion apparatus comprising a display means for displaying interchangeably with the number of data reading and data number.
【請求項2】前記同音語変換手段により変換出力される
文字列には、平がな表記/片かな表記/送りがな省略表
記/当て字/異体字のいずれかが含まれることを特徴と
する請求項1記載のかな漢字変換装置。
2. The character string converted and output by the homophone conversion means includes any one of a plain notation, a one-sided kana notation, an abbreviation notation, an abbreviation, and a variant character. The kana-kanji conversion device according to 1.
JP63293945A 1988-11-21 1988-11-21 Kana-Kanji conversion device Expired - Fee Related JP2802369B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63293945A JP2802369B2 (en) 1988-11-21 1988-11-21 Kana-Kanji conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63293945A JP2802369B2 (en) 1988-11-21 1988-11-21 Kana-Kanji conversion device

Publications (2)

Publication Number Publication Date
JPH02139662A JPH02139662A (en) 1990-05-29
JP2802369B2 true JP2802369B2 (en) 1998-09-24

Family

ID=17801208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63293945A Expired - Fee Related JP2802369B2 (en) 1988-11-21 1988-11-21 Kana-Kanji conversion device

Country Status (1)

Country Link
JP (1) JP2802369B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5957324A (en) * 1982-06-14 1984-04-02 Ricoh Co Ltd Data conversion processing system
JPS61233862A (en) * 1985-04-08 1986-10-18 Nec Corp Kana-kanji converter
JPH065530B2 (en) * 1987-04-21 1994-01-19 松下電器産業株式会社 Kana-Kanji converter

Also Published As

Publication number Publication date
JPH02139662A (en) 1990-05-29

Similar Documents

Publication Publication Date Title
EP0370774B1 (en) Machine translation system
US4953088A (en) Sentence translator with processing stage indicator
JPH07114558A (en) Chinese character conversion correcting process system
JP2802369B2 (en) Kana-Kanji conversion device
JPH0578058B2 (en)
JP2003178087A (en) Retrieval device and method for electronic foreign language dictionary
JPS60254367A (en) Sentence analyzer
JP3285149B2 (en) Foreign language electronic dictionary search method and apparatus
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JP3058423B2 (en) Document processing device
JPH081639B2 (en) Word processor
JPS5899828A (en) "kana" (japanese syllabary) - chinese character converting processor
JPH08272780A (en) Processor and method for chinese input processing, and processor and method for language processing
JPH0350668A (en) Character processor
JPS5814238A (en) Kana(japanese syllabary)-kanji(chinese character) converting system
JPH07210571A (en) Device and method for word retrieval processing
JPH06119379A (en) System and method for machine translation provided with reading kana @(3754/24)japanese syllabary) attaching function
JPH0414168A (en) Word processor
JPS6278673A (en) Kana/kanji (chinese character) converter
JPH0610804B2 (en) Kana-Kanji converter
JPH0773174A (en) Processing system of japanese language
JPS59186030A (en) Kana-kanji conversion processing device
JPH07121542A (en) Machine translation system
JP2001167093A (en) Method and device for generating and retrieving electronic foreign language dictionary
JPH0991278A (en) Document preparation device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees