JP2575650B2 - Kana-Kanji conversion device - Google Patents
Kana-Kanji conversion deviceInfo
- Publication number
- JP2575650B2 JP2575650B2 JP61110150A JP11015086A JP2575650B2 JP 2575650 B2 JP2575650 B2 JP 2575650B2 JP 61110150 A JP61110150 A JP 61110150A JP 11015086 A JP11015086 A JP 11015086A JP 2575650 B2 JP2575650 B2 JP 2575650B2
- Authority
- JP
- Japan
- Prior art keywords
- word
- kana
- character string
- compound word
- 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
Links
- 238000006243 chemical reaction Methods 0.000 title claims description 38
- 150000001875 compounds Chemical class 0.000 claims description 46
- 235000016496 Panda oleosa Nutrition 0.000 claims description 16
- 240000000220 Panda oleosa Species 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 4
- 230000015654 memory Effects 0.000 description 15
- 239000004973 liquid crystal related substance Substances 0.000 description 12
- 230000003936 working memory Effects 0.000 description 8
- 230000008901 benefit Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
Landscapes
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) この発明は複合語の漢字変換を効率よくできるかな漢
字変換装置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a kana-kanji conversion device capable of efficiently converting a compound word into kanji.
(従来の技術) 従来、入力したかな文字列を複合語にかな漢字変換す
る場合、かな漢字変換で変換できるように各単語に附随
して辞書メモリに記憶された品詞情報を参照することに
より行っている。この品詞情報には名詞、形容動詞等の
品詞間は接続できる等という情報が含まれており、この
品詞情報に基づいて入力されたかな文字列に対応する単
語が互いに接続できるか否かが判別され、その判別結果
に基づいて複合語に変換されるようになっている。(Conventional technology) Conventionally, when converting an input kana character string into a compound word, kana-kanji conversion is performed by referring to part-of-speech information stored in a dictionary memory accompanying each word so that the kana-kanji conversion can be performed. . This part-of-speech information includes information that parts of speech, such as nouns and adjectives, can be connected. Based on this part-of-speech information, it is determined whether words corresponding to the input kana character string can be connected to each other. Is converted into a compound word based on the result of the determination.
(発明が解決しようとする問題点) ところが、従来の品詞情報の場合、複合語の要素とな
る単語の範囲が広くなりすぎ、作業者が所望する表記以
外の同音異表記の変換候補が多くなり、正確な語を選択
するにはかなり煩わしいものとなっていた。(Problems to be Solved by the Invention) However, in the case of conventional part-of-speech information, the range of words that are elements of a compound word is too wide, and the number of conversion candidates for homonymic notation other than the notation desired by the operator increases. Choosing the correct word was rather cumbersome.
(目的) この発明は、上記問題点を解決するためになされたも
のであり、その目的は、より正確な接続の複合語を変換
候補とすることができるようにしてかな漢字変換作業の
労力を軽減することができ、しかも、簡単な構成で且つ
変換のための検索も単純にすることができるかな漢字変
換装置を提供することにある。(Purpose) The present invention has been made to solve the above problems, and has as its object to reduce the labor of Kana-Kanji conversion work by making it possible to use a compound word with a more accurate connection as a conversion candidate. Another object of the present invention is to provide a kana-kanji conversion device which can perform a conversion and can also simplify a search for conversion.
(問題点を解決するための手段) 上記目的を達成するため、本発明では、読みに対する
1つあるいは複数個の単語の漢字表記に、その漢字表記
による単語が複合語の要素となりうるか否かを示す複合
語可否情報と、その漢字表記による単語が1つあるいは
複数個の他の語と接続しうるか否かを示す品詞情報とを
付与し、これら複合語可否情報及び品詞情報を漢字表記
とともに格納する辞書記憶手段と、かな文字データを入
力する入力手段と、そのかな文字データの読みに対する
漢字表記を辞書記憶手段から検索する検索手段と、その
検索手段により検索された読みに対する単語が辞書記憶
手段に記憶した複合語可否情報に基づいて直前の文字と
の関連において複合語の要素となり得るか否かを判別す
る第1判別手段と、前記第1判別手段による複合語の要
素となり得ないとの判別結果を受けて、辞書記憶手段に
記憶した品詞情報に基づいて直前の文字と接続が可能か
否かを判別する第2判別手段と、前記第1判別手段によ
る複合語の要素となり得るとの判断結果を受けるか、あ
るいは第2判別手段による接続可能との判別結果を受け
て、その単語を候補文字列とする変換手段と、前記変換
手段により選出された候補文字列を表示する表示手段
と、前記第2判別手段による接続不可との判別結果を受
けて、検索手段の検索対象となるかな文字データの文字
数を減らす検索対象変更手段とを設けた。(Means for Solving the Problems) In order to achieve the above object, in the present invention, the kanji notation of one or a plurality of words for reading is determined whether or not the word by the kanji notation can be an element of a compound word. And the part-of-speech information indicating whether or not the word in kanji notation can be connected to one or more other words, and the compound-word information and part-of-speech information are stored together with the kanji notation. Dictionary storage means, input means for inputting kana character data, search means for retrieving kanji notation for the reading of the kana character data from the dictionary storage means, and dictionary storage means for storing words for the reading searched by the search means. A first discriminating means for discriminating whether or not it can be an element of a compound word in relation to the immediately preceding character based on the compound word propriety information stored in Second determining means for determining whether or not it is possible to connect to the immediately preceding character based on the part of speech information stored in the dictionary storage means in response to the determination result that it cannot be an element of the compound word, Receiving a result of determination that the word can be an element of a compound word by the means, or a result of determination that the word can be connected by the second determination means, and converting the word into a candidate character string; Display means for displaying the candidate character string, and a search target changing means for reducing the number of characters of kana character data to be searched by the search means in response to a result of the determination by the second determination means that connection is impossible.
(作用) 入力手段によりかな文字データが入力されると、検索
手段はそのかな文字データの読みに対する漢字表記を辞
書記憶手段から検索する。(Operation) When the kana character data is input by the input means, the search means searches the dictionary storage means for a kanji notation corresponding to the reading of the kana character data.
第1判別手段は、その検索手段により検索された読み
に対する単語が辞書記憶手段に記憶した複合語可否情報
に基づいて直前の文字との関連において複合語の要素と
なりうるか否かを判別し、その判別の結果、複合語の要
素となり得ると判別した場合、変換手段はその単語の漢
字表記を即座に候補文字列とし、表示手段はその候補文
字列を表示する。The first determination means determines whether or not the word corresponding to the reading searched by the search means can be an element of a compound word in relation to the immediately preceding character based on the compound word propriety information stored in the dictionary storage means. As a result of the determination, if it is determined that the word can be an element of a compound word, the conversion unit immediately sets the kanji representation of the word as a candidate character string, and the display unit displays the candidate character string.
一方、第1判別手段により検索手段により検索された
単語が複合語の要素となり得ないと判別されると、第2
判別手段によりその単語が辞書記憶手段に記憶した品詞
情報に基づいて直前の文字と接続が可能か否かを判別す
る。その判別の結果、直前の文字と接続可能と判別した
場合、変換手段はその単語の漢字表記を候補文字列と
し、表示手段はその候補文字列を表示する。On the other hand, if the first determining means determines that the word searched by the searching means cannot be an element of the compound word,
The determination means determines whether or not the word can be connected to the immediately preceding character based on the part of speech information stored in the dictionary storage means. As a result of the determination, if it is determined that the character can be connected to the immediately preceding character, the conversion unit sets the kanji representation of the word as a candidate character string, and the display unit displays the candidate character string.
又、第1判別手段により複合語の要素となり得ないと
判別され、かつ第2判別手段により直前の文字と接続不
可と判別された場合、検索対象変更手段は検索手段の検
索対象となるかな文字データの文字数を減らして検索対
象を変更する。If the first discriminating means determines that the character cannot be an element of a compound word and the second discriminating means determines that the character cannot be connected to the immediately preceding character, the search target changing means changes the kana character to be searched by the search means. Change the search target by reducing the number of characters in the data.
ここで、複合語可否情報に基づいて直前の文字との関
連において複合語の要素となり得るか否かの判別を行っ
た場合には、複合語の要素となる単語の範囲が絞られる
とともに、作業者が所望する表記の変換候補が一度に導
き出される可能性が高いため、即座に所望の表記が得ら
れる利点があるものの、複合語可否情報では上述のとお
り複合語の要素となる単語の範囲がかなり絞られること
から、所望の表記が得られない可能性も存在するという
欠点がある。一方、品詞情報のみで直前の文字との接続
の可否を判別した場合には、接続が可能な表記が確実に
得られるという利点があるものの、対象となる範囲が広
すぎるため所望の表記以外の変換候補が多くなって所望
の表記を選択するのが煩わしくかつ時間がかかるという
欠点がある。この発明は、上述のとおりまず最初に第1
判別手段にて複合語可否情報に基づいて複合語の要素と
なり得るか否かを判別し、その判別の結果複合語の要素
となり得ない場合にのみ第2判別手段にて品詞情報に基
づく接続の可否を判別するようにしたので、複合語可否
情報を用いることによる検索の迅速さ及び所望の表記が
一度に得られる可能性が高いことによる作業者の負担軽
減といった利点と、品詞情報を用いることによる所望の
表記が確実に得られるという利点とを共にいかすことが
できるとともに、両者の欠点を補うことができ、漢字変
換を迅速かつ確実に行ってかな漢字変換作業の労力を軽
減することができる。Here, when it is determined based on the compound word propriety information whether or not it can be a compound word element in relation to the immediately preceding character, the range of the compound word element is narrowed, and Since the conversion candidate of the notation desired by the user is likely to be derived at once, there is an advantage that the desired notation can be obtained immediately, but in the compound word availability information, the range of the words that are the elements of the compound word as described above is limited. There is a drawback that there is a possibility that a desired notation may not be obtained because of being narrowed down considerably. On the other hand, when it is determined whether or not the connection with the immediately preceding character is possible based on only the part of speech information, there is an advantage that a notation that can be connected is obtained reliably, but the target range is too wide. There is a disadvantage that the number of conversion candidates increases and it is cumbersome and time-consuming to select a desired notation. As described above, the present invention firstly
The discriminating means determines whether or not it can be an element of the compound word based on the compound word propriety information, and the second discriminating means determines whether or not the connection based on the part of speech information is possible only when the result of the discrimination indicates that the element cannot be a compound word The use of part-of-speech information is advantageous because the use of compound word propriety information has the advantage of speeding up retrieval and reducing the burden on the operator because it is highly likely that a desired notation can be obtained at one time. In addition to the advantage that the desired notation can be reliably obtained, the disadvantages of both can be compensated, and the kanji conversion can be performed quickly and surely, thereby reducing the labor of the kana-kanji conversion work.
(実施例) 以下、この発明を日本語ワードプロセッサのかな漢字
変換装置に具体化した一実施例を第1図〜第4図に従っ
て説明する。(Embodiment) An embodiment in which the present invention is embodied in a kana-kanji conversion apparatus of a Japanese word processor will be described below with reference to FIGS.
第2図において、ワードプロセッサ1の本体ケース2
の前側部には入力手段としてのキーボード3が設けら
れ、後側部にはプリンタ4が設けられている。キーボー
ド3には40桁を1行とする表示手段としての複数行の液
晶表示器5が設けられている。キーボード3上には各種
操作キーが配設されていて、ひらがな及びアルファベッ
トの各文字及び数字等を入力する文字キー6、変換キー
7、実行キー8、機能キー9、次候補キー10、液晶表示
器5に表示されるカーソルを移動操作するためのカーソ
ル移動キー11等の各種キーが配設されている。In FIG. 2, the main body case 2 of the word processor 1 is shown.
Is provided with a keyboard 3 as input means on the front side, and a printer 4 on the rear side. The keyboard 3 is provided with a liquid crystal display 5 having a plurality of rows as display means having 40 columns as one row. Various operation keys are arranged on the keyboard 3, and character keys 6, conversion keys 7, execution keys 8, function keys 9, next candidate keys 10, and a liquid crystal display for inputting each character and numeral of the hiragana and the alphabet. Various keys such as a cursor movement key 11 for moving a cursor displayed on the container 5 are provided.
変換キー7はかな漢字変換する際に操作されるキー
で、後記するCPU12に実行指令信号を出力する。実行キ
ー8はかな漢字変換により選出された候補文字列を確定
文字列にするときに使用される。次候補キー10は候補文
字列が液晶表示器5に表示されたとき、その表示された
候補文字列以外の他の候補文字列を選出して表示させた
いときに使用される。The conversion key 7 is operated when converting kana-kanji characters, and outputs an execution command signal to a CPU 12 described later. The execution key 8 is used to convert a candidate character string selected by kana-kanji conversion into a confirmed character string. The next candidate key 10 is used when a candidate character string is displayed on the liquid crystal display 5 to select and display another candidate character string other than the displayed candidate character string.
次に、このワードプロセッサ1の電気的構成を第1図
に示す電気ブロック回路図にて説明する。Next, an electric configuration of the word processor 1 will be described with reference to an electric block circuit diagram shown in FIG.
本体ケース2に内蔵された検索手段,第1判別手段,
第2判別手段,変換手段及び検索対象変更手段としての
中央処理装置(以下、CPUという)12には読出し専用メ
モリ(以下、ROMという)13、辞書記憶手段としての辞
書用メモリ14及び読出し及び書換可能なメモリ(RAM)
よりなる作業用メモリ15が接続されている。作業用メモ
リ15は文字キー6にて入力されてくる文字コードデータ
を一時記憶する入力バッファ部16と、候補文字列を一時
記憶する候補文字用バッファ部17等を備えている。CPU1
2はキーボードドライバ18を介して前記キーボード3に
接続され、表示コントローラ19を介して前記液晶表示器
5に接続されている。さらに、CPU12は印字ドライバ20
を介して前記プリンタ4に接続され、又、コードテーブ
ル21等の各種メモリと接続されている。Search means, first determining means,
A central processing unit (hereinafter, referred to as CPU) 12 as a second determination unit, a conversion unit, and a search target changing unit 12 has a read-only memory (hereinafter, referred to as a ROM) 13, a dictionary memory 14 as a dictionary storage unit, and reading and rewriting. Possible memory (RAM)
A working memory 15 is connected. The work memory 15 includes an input buffer unit 16 for temporarily storing character code data input by the character keys 6, a candidate character buffer unit 17 for temporarily storing candidate character strings, and the like. CPU1
2 is connected to the keyboard 3 via a keyboard driver 18 and to the liquid crystal display 5 via a display controller 19. Further, the CPU 12 is provided with a print driver 20.
The printer 4 is connected to the printer 4 via a computer, and is connected to various memories such as a code table 21.
ROM13にはこのワードプロセッサ1を各種動作させる
ための日本語ワードプロセッサ制御プログラム、キーボ
ード制御プログラム、印字装置制御プログラム、液晶表
示器制御プログラム等、各種の制御プログラムが記憶さ
れたプログラムメモリ23の他にキャラクタジェネレータ
24を有している。キャラクタジェネレータ24には各書体
毎のドットマトリックスで表示或いは印字される文字や
記号等の文字パターンデータが記憶されている。コード
テーブル21には文字や記号に対応する文字コードが格納
されている。The ROM 13 has a character generator in addition to a program memory 23 in which various control programs such as a Japanese word processor control program, a keyboard control program, a printing device control program, and a liquid crystal display control program for operating the word processor 1 are stored.
Has 24. The character generator 24 stores character pattern data such as characters and symbols displayed or printed in a dot matrix for each typeface. The code table 21 stores character codes corresponding to characters and symbols.
辞書用メモリ14には複数個のレコードRが格納されて
いる。1つのレコードRには先頭に読み情報aが格納さ
れており、その読み情報aの後にその読みに対応する1
つ或いは複数の単語の候補漢字表記bが格納されてい
る。そして、各漢字表記bの前には漢字表記bに対応す
る複合語可否情報c、及び品詞情報dが格納されてい
る。複合語可否情報cは対応する漢字表記bによる単語
が複合語の要素となりうるか否かを表わす情報であり、
又、品詞情報dは文法的接続の特性が付与されて、その
漢字表記bによる単語に対応する1つ或いは複数個の他
の語との接続の可否を決定するための情報である。前記
作業用メモリ15はCPU12が演算処理した結果を一時記憶
させておくものである。The dictionary memory 14 stores a plurality of records R. In one record R, the read information a is stored at the beginning, and after the read information a, the one corresponding to the read is stored.
One or more candidate kanji representations b of the word are stored. In addition, before each kanji notation b, compound word availability information c and part of speech information d corresponding to the kanji notation b are stored. The compound word availability information c is information indicating whether or not a word in the corresponding kanji notation b can be an element of a compound word,
The part-of-speech information d is information to which a grammatical connection characteristic is given and which determines whether or not connection with one or a plurality of other words corresponding to the word in the kanji notation b is possible. The working memory 15 temporarily stores the result of the arithmetic processing by the CPU 12.
次に、上記のように構成したワードプロセッサ1の作
用を第4図に示すフローチャートに従って説明する。Next, the operation of the word processor 1 configured as described above will be described with reference to the flowchart shown in FIG.
操作者が文書を入力すべくキーボード3上の文字キー
6を入力操作すると、CPU12はキーボード制御プログラ
ムに基づいて操作されたキーが何であるかを判断し、そ
の操作キーに対する入力信号をひらがな、カタカナ等の
文字データ、スペースデータ、改行データ等に変換して
作業用メモリ15の入力バッファ部16に順次記憶してい
く。When the operator performs an input operation on the character keys 6 on the keyboard 3 in order to input a document, the CPU 12 determines what the operated key is based on the keyboard control program, and outputs an input signal for the operation key to Hiragana or Katakana. And the like, and is sequentially stored in the input buffer section 16 of the working memory 15 after being converted into character data, space data, line feed data, and the like.
この時、CPU12は液晶表示器制御プログラムに基づい
て作業用メモリ15に順次記憶されていく文字データ等の
内、最新に入力された複数個の文字データを読出して液
晶表示器5に順次表示していく。又、この表示する時に
かな漢字変換される前のかな文字列(以下、未確定文字
列という)は反転表示される。At this time, the CPU 12 reads out a plurality of character data which are most recently inputted from among the character data and the like sequentially stored in the working memory 15 based on the liquid crystal display control program and sequentially displays them on the liquid crystal display 5. To go. In addition, the kana character string before the kana-kanji conversion at the time of this display (hereinafter, referred to as an undetermined character string) is highlighted.
反転表示された未確定文字列をかな漢字変換する場合
には、反転表示された未確定文字列にカーソルを位置さ
せた状態で変換キー7を操作する。すると、変換キー7
からの実行指令信号に応答してCPU12はカーソルアドレ
スに基づいて反転表示された未確定文字列の先頭にポイ
ンタを設定する(ステップ1、以下ステップをSで表わ
す)。To convert the highlighted undetermined character string to Kana-Kanji conversion, the user operates the conversion key 7 with the cursor positioned at the highlighted undetermined character string. Then, the conversion key 7
In response to the execution command signal from the CPU 12, the CPU 12 sets a pointer to the head of the undetermined character string displayed in reverse on the basis of the cursor address (Step 1, hereinafter, the steps are represented by S).
そして、CPU12はそのポインタから数えて作業用メモ
リ15に記憶した所定文字数Nの文字コードデータ(即
ち、「読み」)を変換対象文字列としてその文字列に対
応する単語の検索を辞書用メモリ14の各レコードRを参
照して行う(S2)。Then, the CPU 12 uses the character code data of a predetermined number N (that is, “reading”) stored in the working memory 15 counted from the pointer as a character string to be converted, and searches for a word corresponding to the character string in the dictionary memory 14. (S2).
そして、CPU12はS3で辞書用メモリ14に該当する単語
があるか否かを各レコードRの読み情報aに基づいて判
定する。S3においてCPU12が辞書用メモリ14からその変
換対象文字列に対応する単語を発見しない場合にはS4に
移行してポインタから数えて所定文字数Nから1文字数
減らした文字列にしてS2に戻る。すなわち、S3でCPU12
が辞書用メモリ14から所定文字数の変換対象文字列の読
みと同じ読みの単語が発見できない毎にS4において順次
所定文字数Nから1文字数ずつ減らして検索を行なうこ
とになる。又、S3で変換対象文字列に対応する単語を発
見した場合にはCPU12はS5に移行し、その発見した単語
がその単語に付与された複合語可否情報cに基づきその
単語の直前の単語との関連において複合語の要素となり
えるか否かを判別する。Then, in S3, the CPU 12 determines whether or not there is a corresponding word in the dictionary memory 14 based on the reading information a of each record R. If the CPU 12 does not find a word corresponding to the character string to be converted from the dictionary memory 14 in S3, the process proceeds to S4, where the character string is counted from the pointer and reduced by a predetermined number N from the predetermined number N, and the process returns to S2. That is, CPU12
Every time a word having the same reading as that of the conversion target character string having the predetermined number of characters cannot be found from the dictionary memory 14, a search is performed in S4 by sequentially reducing the number of predetermined characters N by one from the predetermined number of characters. Further, when a word corresponding to the character string to be converted is found in S3, the CPU 12 proceeds to S5, and the found word is compared with the word immediately before the word based on the compound word availability information c given to the word. It is determined whether or not it can be a compound word in the relation of.
CPU12は複合語の要素となりえると判定すると、その
発見された単語の漢字表記bを候補文字列とし、作業用
メモリ15の候補文字用バッファ部17に記憶する。そし
て、CPU12はS6でその候補文字列を液晶表示器制御プロ
グラムに基づいて液晶表示器5に表示するとともに辞書
用メモリ14検索のためのポインタを今検索された読みの
次の文字列の先頭に再設定し、S5で検索された漢字表記
bがかな文字列中の最後か否かを判別する。そして、S7
でCPU12がかな文字列中の最後であると判別した場合に
はかな漢字変換処理は終了し、かな文字列中の最後でな
いと判別すると、S2に戻る。When the CPU 12 determines that the word can be an element of a compound word, the kanji notation b of the found word is set as a candidate character string and stored in the candidate character buffer unit 17 of the working memory 15. Then, in S6, the CPU 12 displays the candidate character string on the liquid crystal display 5 based on the liquid crystal display control program, and sets a pointer for searching the dictionary memory 14 at the beginning of the character string next to the currently searched reading. It is reset, and it is determined whether or not the kanji notation b searched in S5 is the last in the kana character string. And S7
If the CPU 12 determines that the character is the last character in the kana character string, the kana-kanji conversion process ends. If the CPU 12 determines that the character is not the last character in the kana character string, the process returns to S2.
又、S5でCPU12は発見した単語が複合語の要素となり
えないと判定すると、次にCPU12はS8でその発見した単
語が直前に発見した単語と接続が可能か否かを漢字表記
bの品詞情報dに基づいて判別する。そして、接続が可
能であると判別すると、CPU12はS6に移行する。又、接
続が可能でないとCPU12が判別すると、CPU12はS4に移行
する。なお、未確定文字列の内の先頭の変換対象文字列
に対しては品詞情報dに基づいて「文の先頭」となりえ
ると判別された単語が選出される。Also, in S5, the CPU 12 determines that the found word cannot be an element of the compound word, and then in S8, the CPU 12 determines whether or not the found word can be connected to the last found word in the kanji b part of speech. The determination is made based on the information d. If it is determined that the connection is possible, the CPU 12 proceeds to S6. If the CPU 12 determines that the connection is not possible, the CPU 12 proceeds to S4. Note that a word determined to be a “head of a sentence” based on the part-of-speech information d is selected for the leading conversion target character string in the undetermined character strings.
さらにCPU12はS1〜S8の処理を繰返し行って、同一の
未確定文字列に対応する他の候補文字列を検索し、最初
に検索された候補文字列と共に、作業用メモリ15の候補
文字用バッファ部17に記憶する。そして、次候補キー10
が押し下げ操作されると、次候補キー10からの入力信号
に基づいてCPU12は次の候補文字列を候補文字用バッフ
ァ部17から読出して、先の候補文字列に代えて液晶表示
器5に表示する。Further, the CPU 12 repeats the processing of S1 to S8 to search for another candidate character string corresponding to the same undetermined character string, and along with the first searched candidate character string, a candidate character buffer in the working memory 15. The information is stored in the unit 17. And the next candidate key 10
Is operated, the CPU 12 reads the next candidate character string from the candidate character buffer unit 17 based on the input signal from the next candidate key 10 and displays it on the liquid crystal display 5 instead of the previous candidate character string. I do.
そして、前記のように候補文字列が液晶表示器5に表
示された後、その候補文字列にカーソルを位置させた状
態で操作者が実行キー8を操作すると、実行キー8の確
定信号に基づいてCPU12は作業用メモリ15の候補文字用
バッファ部17に記憶したその候補文字列を確定文字列と
して確定処理する。即ち、入力バッファ部16に記憶され
た未確定文字列の内、確定文字列に対応するかな文字列
を確定文字列に書換えて変換対象から除く。Then, after the candidate character string is displayed on the liquid crystal display 5 as described above, when the operator operates the execution key 8 in a state where the cursor is positioned at the candidate character string, based on the decision signal of the execution key 8, Then, the CPU 12 determines the candidate character string stored in the candidate character buffer unit 17 of the working memory 15 as a fixed character string. That is, of the undetermined character strings stored in the input buffer unit 16, the kana character string corresponding to the determined character string is rewritten into the determined character string and is excluded from the conversion target.
なお、この発明は前記実施例に限定されるものではな
く、この発明の趣旨から逸脱しない範囲で任意に変更す
ることも可能である。Note that the present invention is not limited to the above-described embodiment, and can be arbitrarily changed without departing from the spirit of the present invention.
(発明の効果) 以上詳述したように、この発明では、辞書記憶手段に
格納した漢字表記毎に複合語可否情報及び品詞情報を付
与しこれらを一括して記憶した。従って、構成が簡単で
あり、しかも、複合語可否情報に基づく直前の文字と複
合語の要素となり得るか否かの判別及び品詞情報に基づ
く直前の文字と接続が可能か否かの判別を行うに際し、
1つの単語に係る情報を膨大な情報の中から何度も取り
出す必要がなくなり、かな漢字変換のための時間を短縮
することができる。(Effects of the Invention) As described in detail above, in the present invention, compound word availability information and part of speech information are provided for each kanji notation stored in the dictionary storage means, and these are collectively stored. Therefore, the structure is simple, and it is determined whether or not the preceding character can be an element of the compound and the preceding character based on the compound word availability information, and whether or not the preceding character can be connected based on the part of speech information. On the occasion,
It is not necessary to take out information related to one word from a huge amount of information many times, and it is possible to reduce the time for kana-kanji conversion.
又、読みに対する単語が直前の文字との関連において
複合語の要素となり得る場合には、その単語を即座に候
補文字列とするので、候補文字列の選出が迅速に行われ
るとともに、所望の表記が一度に得られる可能性が高
い。更に、複合語の要素となり得ない場合には、品詞情
報から接続可能な文字を候補文字列とするようにしたこ
とにより、複合語の要素とならない文字も候補文字列と
することができて、複合語可否情報では候補文字列を選
出できない場合の補完的な機能を果たしてかな漢字変換
の確実性を向上させている。従って、このように複合語
可否情報に係る判別を先に立って即座に候補文字列を選
出し、複合語可否情報に係る判別では不完全な部分をそ
の後に行われる品詞情報に係る判別で補うようにしたこ
とにより、漢字変換を迅速かつ確実に行ってかな漢字変
換作業の労力を軽減することができる。If the word for the reading can be an element of a compound word in relation to the immediately preceding character, the word is immediately used as a candidate character string, so that the candidate character string can be quickly selected and the desired notation is obtained. Is likely to be obtained at once. Furthermore, in the case where a compound word cannot be an element, a character that can be connected from the part-of-speech information is used as a candidate character string, so that a character that is not an element of a compound word can be used as a candidate character string. The compound word availability information performs a complementary function when a candidate character string cannot be selected, thereby improving the certainty of kana-kanji conversion. Therefore, a candidate character string is immediately selected prior to the determination regarding the compound word availability information, and the incomplete portion in the determination regarding the compound word availability information is supplemented by the determination regarding the part of speech information performed thereafter. By doing so, the kanji conversion can be performed quickly and reliably, and the labor of the kana-kanji conversion work can be reduced.
第1図はこの発明の一実施例の電気ブロック回路図、第
2図は同じく日本語ワードプロセッサの平面図、第3図
は辞書用メモリのレコードの説明図、第4図はフローチ
ャートである。 1はかな漢字変換装置としてのワードプロセッサ、3は
入力手段としてのキーボード、5は表示手段としての液
晶表示器、12は検索手段,第1判別手段,第2判別手
段,変換手段及び検索対象変更手段としてのCPU、14は
辞書記憶手段としての辞書用メモリである。FIG. 1 is an electric block circuit diagram of one embodiment of the present invention, FIG. 2 is a plan view of a Japanese word processor, FIG. 3 is an explanatory diagram of records in a dictionary memory, and FIG. 4 is a flowchart. 1 is a word processor as a kana-kanji conversion device, 3 is a keyboard as an input means, 5 is a liquid crystal display as a display means, 12 is a search means, a first determination means, a second determination means, a conversion means, and a search target changing means. CPU 14 is a dictionary memory as dictionary storage means.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 国分 芳宏 東京都新宿区下宮比町15番地 飯田橋ハ イタウン827 株式会社言語工学研究所 内 (56)参考文献 特開 昭56−38665(JP,A) ────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Yoshihiro Kokubu 15 Shimomiyabi-cho, Shinjuku-ku, Tokyo 827 Iidabashi High-Town 827 Language Engineering Laboratory Co., Ltd. (56) References JP-A-56-38665 (JP, A)
Claims (1)
漢字表記に、その漢字表記による単語が複合語の要素と
なりうるか否かを示す複合語可否情報と、その漢字表記
による単語が1つあるいは複数個の他の語と接続しうる
か否かを示す品詞情報とを付与し、これら複合語可否情
報及び品詞情報を漢字表記とともに格納する辞書記憶手
段と、 かな文字データを入力する入力手段と、 そのかな文字データの読みに対する漢字表記を辞書記憶
手段から検索する検索手段と、 その検索手段により検索された読みに対する単語が辞書
記憶手段に記憶した複合語可否情報に基づいて直前の文
字との関連において複合語の要素となり得るか否かを判
別する第1判別手段と、 前記第1判別手段による複合語の要素となり得ないとの
判別結果を受けて、辞書記憶手段に記憶した品詞情報に
基づいて直前の文字と接続が可能か否かを判別する第2
判別手段と、 前記第1判別手段による複合語の要素となり得るとの判
断結果を受けるか、あるいは第2判別手段による接続可
能との判別結果を受けて、その単語を候補文字列とする
変換手段と、 前記変換手段により選出された候補文字列を表示する表
示手段と、 前記第2判別手段による接続不可との判別結果を受け
て、検索手段の検索対象となるかな文字データの文字数
を減らす検索対象変更手段と を備えることを特徴とするかな漢字変換装置。1. A kanji notation of one or more words for reading, compound word availability information indicating whether or not the word in the kanji notation can be an element of a compound word, and one or more words in the kanji notation. A dictionary storage unit for providing part-of-speech information indicating whether or not it can be connected to a plurality of other words, and storing these compound word availability information and part-of-speech information together with kanji notation; an input unit for inputting kana character data; A retrieval unit for retrieving a kanji notation for the reading of the kana character data from the dictionary storage unit; and a relation between the word for the reading retrieved by the retrieval unit and the immediately preceding character based on the compound word availability information stored in the dictionary storage unit. A first determining means for determining whether or not it can be an element of a compound word; A second step of determining whether or not connection with the immediately preceding character is possible based on the part of speech information stored in the storage means;
A determination unit, and a conversion unit that receives the determination result that the first determination unit determines that the word can be an element of a compound word or the determination result that the second determination unit determines that connection is possible, and sets the word as a candidate character string Display means for displaying a candidate character string selected by the conversion means; and a search for reducing the number of characters of kana character data to be searched by the search means in response to a result of the determination by the second determination means that connection is impossible. A kana-kanji conversion device comprising: target changing means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61110150A JP2575650B2 (en) | 1986-05-14 | 1986-05-14 | Kana-Kanji conversion device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61110150A JP2575650B2 (en) | 1986-05-14 | 1986-05-14 | Kana-Kanji conversion device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62266662A JPS62266662A (en) | 1987-11-19 |
| JP2575650B2 true JP2575650B2 (en) | 1997-01-29 |
Family
ID=14528317
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61110150A Expired - Fee Related JP2575650B2 (en) | 1986-05-14 | 1986-05-14 | Kana-Kanji conversion device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2575650B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2967275B2 (en) * | 1988-09-07 | 1999-10-25 | 富士ゼロックス株式会社 | Kana-Kanji conversion device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5638665A (en) * | 1980-04-02 | 1981-04-13 | Canon Inc | Character processor |
-
1986
- 1986-05-14 JP JP61110150A patent/JP2575650B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62266662A (en) | 1987-11-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5096423A (en) | Computer system for teaching abbreviations for text and data processing functions | |
| JPH0512287A (en) | Document processor | |
| US4464731A (en) | Variable retrieval speed/direction electronic translator | |
| JP3290451B2 (en) | Electronic dictionary | |
| JP2575650B2 (en) | Kana-Kanji conversion device | |
| JP2573183B2 (en) | Kana-Kanji conversion device | |
| JP2833650B2 (en) | Document processing device | |
| JPH0785236B2 (en) | Character data input device | |
| JPH0385670A (en) | Two-stage display type document processing device | |
| JP2543501B2 (en) | Word processor | |
| JPH0531190B2 (en) | ||
| JPS62266665A (en) | Kana-Kanji conversion device | |
| JPS5814688B2 (en) | Kanji-mixed sentence input device that sequentially displays homophones | |
| JP2845235B2 (en) | Document data processing device | |
| JPH0640330B2 (en) | Chinese input method | |
| JP2603269B2 (en) | Character processor | |
| JP2845234B2 (en) | Document data processing device | |
| JPH031273A (en) | Character processor having operation self-study function | |
| JPH0719189B2 (en) | Data input device | |
| JPS61177568A (en) | Document processor | |
| JPS63146157A (en) | Document processor | |
| JPS62260266A (en) | Kana/kanji converting system | |
| JPH032965A (en) | Character processor containing operation self-teaching function | |
| JPH0115105B2 (en) | ||
| JPH0827794B2 (en) | Character processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |