JPH0769916B2 - Kana-Kanji converter - Google Patents
Kana-Kanji converterInfo
- Publication number
- JPH0769916B2 JPH0769916B2 JP1133737A JP13373789A JPH0769916B2 JP H0769916 B2 JPH0769916 B2 JP H0769916B2 JP 1133737 A JP1133737 A JP 1133737A JP 13373789 A JP13373789 A JP 13373789A JP H0769916 B2 JPH0769916 B2 JP H0769916B2
- Authority
- JP
- Japan
- Prior art keywords
- word
- kana
- notation
- dictionary
- words
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 (イ)産業上の利用分野 この発明は、主として、日本語ワードプロセッサのよう
な、かな漢字変換辞書を備えた情報処理装置に用いら
れ、入力されたかな文字列を漢字かな交じり文に変換す
るかな漢字変換装置に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention is mainly used in an information processing apparatus having a kana-kanji conversion dictionary, such as a Japanese word processor, to input an input kana character string into kanji characters. The present invention relates to a kana-kanji conversion device for converting mixed sentences.
(ロ)従来の技術 一般に、日本語における単語の中には、送りがなの付け
方によって許容される表記が複数存在する場合がある。
例えば、「おぼえがき」という単語であれば、「覚え
書」、「覚え書き」、「覚書」、「覚書き」等の送りが
ながある。(B) Conventional technology In general, a word in Japanese may have a plurality of notations that are allowed depending on the way the sword is attached.
For example, in the case of the word "remember", there are sending of "reminder", "reminder", "memorandum", "reminder", etc.
従来のかな漢字変換装置においては、例えば、上述した
「おぼえがき」のような、送りがなに種類の多い単語を
所望の送りがなで入力するためには、 送りがなの異なる単語を、全てかな漢字変換辞書に登
録しておき、そこから所望の送りがなの単語を選択す
る。In the conventional Kana-Kanji conversion device, for example, in order to input a word with a large number of feeds, such as the above-mentioned "Oregaraki", in a desired feed, all words with different feeds are registered in the Kana-Kanji conversion dictionary. Then, from there, select the desired word.
一つの単語に対して一つの送りがなの表記のみをかな
漢字変換辞書に登録しておき、かな漢字変換後、所望の
送りがなに修正する。Only one notation for one word for one word is registered in the kana-kanji conversion dictionary, and after kana-kanji conversion, the desired notation is corrected.
アルゴリズムで送りがなを削除する。つまり、送りが
なを全て付記した表記のみを辞書に登録しておき、それ
を変換の第1候補とし、そこから順に送りがなを削除す
る。例えば、前述の「おぼえがき」のように、送りがな
の候補が「覚え書」、「覚え書き」、「覚書」、「覚書
き」と4つあるような場合には、送りがなの字数の最も
多い表記を第1候補とし、第1候補(覚え書き)→第2
候補(覚え書、又は、覚書き)→第3候補(覚書)のよ
うにして、送りがなを自動的に削除してゆく。というよ
うな方法を用いている。The algorithm removes garbage. In other words, only the notation with all the syllabary is added to the dictionary, which is used as the first candidate for conversion, and the syllabary is deleted in order from that. For example, when there are four candidates for the syllabary, such as "Origakeki", such as "Reminder", "Reminder", "Memorandum", and "Reminder", the notation with the largest number of characters Is the first candidate, and the first candidate (remember) → second
Candidates (memorandum or memorandum) → Third candidates (memorandum) are used to automatically delete the syllabary. The method like this is used.
(ハ)発明が解決しようとする課題 しかしながら、上述ののように、かな漢字変換辞書内
に送りがなの異なる単語全てを登録することは、限られ
た辞書容量内での登録単語数の低下を招く。また、たと
え登録していたとしても、送りがなのつけかたには「好
み」や「くせ」というものがあり、その中の一種類か二
種類しか使用しない送りがなのパターンを、その都度選
択しなければならないことは、かえって操作を繁雑にし
てしまう。(C) Problem to be Solved by the Invention However, as described above, registering all the words with different feeds in the kana-kanji conversion dictionary causes a decrease in the number of registered words within a limited dictionary capacity. In addition, even if you have registered, there are "favorite" and "habit" in the way to attach the feed, and you must select the feed pattern that uses only one or two of them. On the contrary, the operation becomes complicated.
また、上述ののように、一つの単語に対して一つの送
りがなの表記しか登録していない場合には、単語を読出
す毎にその送りがなを修正(送りがなの追加、削除)し
なければならず不便である。Further, as described above, when only one notation for the word is registered for one word, the notation must be corrected (addition or deletion of the notation) each time the word is read. It's inconvenient.
さらに、上述ののように、アルゴリズムで送りがなを
削除する場合には、送りがなを追加する方向での表記の
処理が困難であり、例えば、「おぼえがき」の場合であ
れば、第1候補を「覚書」や「覚え書」にしたような場
合には、次の候補を「覚え書き」(送りがなの追加処
理)とすることが難しいという問題がある。Further, as described above, when the feed is deleted by the algorithm, it is difficult to process the notation in the direction of adding the feed. For example, in the case of “remembering”, the first candidate is “ In the case of making a memorandum or a memorandum, there is a problem in that it is difficult to set the next candidate as the memorandum (additional processing of the invoice).
この発明は、このような事情を考慮してなされたもの
で、送りがなに複数の表記が存在する単語については、
その送りがなのパターンをかな漢字変換辞書とは別にテ
ーブルとして記憶しておき、その単語が読出される場合
には、そのテーブルに基づいて送りがなを変化させるよ
うにして、従来のような送りがなの追加、削除等の修正
操作を不要にした、かな漢字変換装置を提供するもので
ある。The present invention has been made in consideration of such a situation, and for a word in which plural notations exist in the sending,
The kana-kanji conversion dictionary is stored as a table separately from the kana-kanji conversion dictionary, and when the word is read, the kana-kana is changed based on the table to add or delete the kana-kana as in the past. It is intended to provide a kana-kanji conversion device that does not require correction operations such as.
(ニ)課題を解決するための手段 第1図はこの発明の構成を示すブロック図である。(D) Means for Solving the Problems FIG. 1 is a block diagram showing the configuration of the present invention.
図に示すように、この発明は、漢字を含む多数の単語を
その読み情報と共に記憶した辞書手段101と、辞書手段1
01に記憶された単語について複数種類の送りがなを有す
る単語に付された識別符号102と、識別符号102が付され
た単語の送りがなのパターンをテーブルとして記憶した
送りがな記憶手段103と、入力手段104から入力された読
み情報に対応する単語を辞書手段101から読出す読出し
手段105と、読出し手段105によって読出される単語に前
記識別符号102が付されているときには送りがな記憶手
段103に記憶されたテーブルに基づいてその単語の表記
を前記複数種類の送りがなの表記に順次変換する変換手
段106と、変換手段106によって送りがなの表記が変換さ
れた単語を表示する表示手段107を備えてなるかな漢字
変換装置である。As shown in the figure, the present invention is a dictionary means 101 that stores a large number of words including Chinese characters together with their reading information, and a dictionary means 1
From the input means 104, an identification code 102 attached to a word having a plurality of types of syllabary for the word stored in 01, and a stub storage means 103 that stores a syllabary pattern of the word to which the identification code 102 is attached as a table. The reading means 105 for reading the word corresponding to the inputted reading information from the dictionary means 101, and the table stored in the feedless storage means 103 when the word read by the reading means 105 is attached with the identification code 102. A kana-kanji conversion device comprising a conversion means (106) for sequentially converting the notation of the word into the plurality of types of kana-kana notation based on the above, and a display means (107) for displaying the words of which the kana-kana notation has been converted by the conversion means 106. .
なお、この発明における辞書手段101としては、漢字を
含む多数の単語をその読み情報と共に記憶できるもので
あればよく、ROM、あるいはフロッピーディスク装置、
磁気ディスク装置等の外部記憶媒体が用いられる。The dictionary means 101 in the present invention may be any one that can store a large number of words including Chinese characters together with its reading information, such as a ROM or a floppy disk device,
An external storage medium such as a magnetic disk device is used.
また、識別符号102としては、識別可能な番号、記号等
の各種の符号が用いられる。As the identification code 102, various codes such as identifiable numbers and symbols are used.
さらに、送りがな記憶手段103としては、識別符号102が
付された単語の送りがなのパターンをテーブルとして記
憶できるものであればよく、辞書手段101と同様、ROM、
あるいはフロッピーディスク装置、磁気ディスク装置等
の外部記憶媒体が用いられる。Further, as the feed means storage means 103, as long as it is possible to store the feed shape pattern of the word with the identification code 102 as a table, similar to the dictionary means 101, ROM,
Alternatively, an external storage medium such as a floppy disk device or a magnetic disk device is used.
そして、入力手段104としては、かな及び漢字の読み情
報としての平がな文字列等を入力できるものであればよ
く、例えば、キーボード、タブレット装置、OCR、磁気
テープ装置等が用いられる。The input unit 104 may be any device that can input a kana and kanji character string as kanji reading information, and for example, a keyboard, a tablet device, an OCR, a magnetic tape device, or the like is used.
また、読出し手段105としては、入力手段104から入力さ
れた読み情報に対応する単語を辞書手段101から読出す
ことができるものであればよく、また、変換手段106と
しては、読出し手段105によって読出される単語に識別
符号102が付されているときには、送りがな記憶手段103
に記憶されたテーブルに基づいてその単語の表記を複数
種類の送りがなの表記に順次変換できるものであればよ
く、読出し手段105、及び変換手段106としては、一般
に、マイクロプロセッサを用いるのが便利である。Further, the reading means 105 may be any one that can read the word corresponding to the reading information input from the input means 104 from the dictionary means 101, and the conversion means 106 can be read by the reading means 105. When the identification code 102 is attached to the word to be written,
As long as it is possible to sequentially convert the notation of the word into a plurality of kinds of notation based on the table stored in, the reading means 105 and the converting means 106 are generally convenient to use a microprocessor. is there.
そして、表示手段107としては、変換手段106によって送
りがなの表記が変換された単語を表示できるものであれ
ばよく、プリンタ、ディスプレイ装置、磁気テープ装
置、磁気ディスク装置等が用いられるが、処理内容を迅
速に確認できるものとしては、ディスプレイ装置を用い
て好適である。The display means 107 may be any one capable of displaying the word whose syllabary is converted by the conversion means 106, and a printer, a display device, a magnetic tape device, a magnetic disk device, or the like is used. A display device is suitable for quick confirmation.
(ホ)作用 第1図に示すように、この発明によれば、入力手段104
から読み情報が入力されると、読出し手段105によっ
て、その読み情報に対応する単語が辞書手段101から読
出される。(E) Action As shown in FIG. 1, according to the present invention, the input means 104
When the reading information is input from, the reading unit 105 reads the word corresponding to the reading information from the dictionary unit 101.
このとき、読出される単語に識別符号102が付されてい
る場合には、変換手段106によって、送りがな記憶手段1
03に記憶されたテーブルに基づいて、その単語の表記が
複数種類の送りがなの表記に順次変換され、それが表示
手段107によって表示される。At this time, when the identification code 102 is attached to the word to be read, the conversion means 106 causes the unresponsive storage means 1
Based on the table stored in 03, the notation of the word is sequentially converted into a plurality of notation of notation and displayed by the display means 107.
従って、あらかじめ設定したテーブルに基づいて単語の
送りがなが変換されるので、従来のような送りがなの追
加、削除等の修正操作が不要となり、送りがなの異なる
単語の登録が一単語ですむため、辞書容量の節約が可能
となる。Therefore, since the word forwarding is converted based on the table set in advance, there is no need to perform correction operations such as addition and deletion of the conventional forwarding, and only one word can be registered for words with different forwarding. Can be saved.
(ヘ)実施例 以下、図面に示す実施例に基づいてこの発明を詳述す
る。なお、これによってこの発明が限定されるものでは
ない。(F) Embodiment Hereinafter, the present invention will be described in detail based on an embodiment shown in the drawings. The present invention is not limited to this.
第2図はこの発明の一実施例を示す構成ブロック図であ
る。FIG. 2 is a configuration block diagram showing an embodiment of the present invention.
この図において、1はかなキーやファンクションキー、
また、かな漢字変換を指示するためのかな漢字変換キ
ー、あるいは、入力内容を確定する実行キー等を備えた
キーボードであり、かなによる単語の読み情報を制御部
2に入力する。In this figure, 1 is a kana key or function key,
Further, it is a keyboard provided with a kana-kanji conversion key for instructing kana-kanji conversion, or an execution key for confirming the input content, and inputs the reading information of words by kana to the control unit 2.
制御部2はマイクロプロセッサから構成され、ROMから
なるプログラムメモリ3に書き込まれている制御プログ
ラムに従い、後述する各種のデータ処理を行う。The control unit 2 is composed of a microprocessor and performs various data processing described later according to a control program written in the program memory 3 including a ROM.
4はキーボード1から入力されたかなによる単語の読み
情報を記憶する入力バッファである。Reference numeral 4 is an input buffer for storing the reading information of the word by kana input from the keyboard 1.
5はROMからなるかな漢字変換辞書であり、漢字を含む
多数の単語をその読み情報と共に記憶した自立語辞書
6、品詞情報を記憶した品詞テーブル7、送りがな情報
を記憶した送りがなテーブル8を有している。Reference numeral 5 denotes a Kana-Kanji conversion dictionary consisting of a ROM, which has an independent word dictionary 6 in which a large number of words including Kanji are stored together with its reading information, a part-of-speech table 7 in which part-of-speech information is stored, and a kana-gana table 8 in which kana-gana information is stored. There is.
自立語辞書6に記憶された単語の内、複数種類の送りが
なを有する単語(以後、送りがなにゆらぎのある単語と
いう。また特に、送りがなの変化を単にゆらぎという)
には、後述するような、送りがな番号が付されている。Among the words stored in the independent word dictionary 6, a word having plural kinds of swords (hereinafter referred to as a word with fluctuations in the swords. In particular, a change in the swords is simply referred to as a fluctuation).
Is attached with a non-sending number as will be described later.
また、送りがなテーブル8には、自立語辞書6内の送り
がな番号が付されている単語についての送りがなのパタ
ーンが、テーブルとして記憶されている。In addition, in the feed-notch table 8, the feed-notice patterns for the words to which the feed-notice numbers in the independent word dictionary 6 are added are stored as a table.
9はCRTディスプレイやLC(液晶)ディスプレイ、ある
いはELディスプレイ等からなる表示装置である。Reference numeral 9 is a display device including a CRT display, an LC (liquid crystal) display, an EL display, or the like.
制御部2は、キーボード1から入力された単語の読み情
報、つまり、かな文字列を入力バッファ4に格納し、そ
のかな文字列に対してかな漢字変換が指示されたときに
は、そのかな文字列に対応する単語を自立語辞書6から
読出す。The control unit 2 stores the reading information of the word input from the keyboard 1, that is, the kana character string in the input buffer 4, and when the kana-kanji conversion is instructed to the kana character string, it corresponds to the kana character string. The word to be read is read from the independent word dictionary 6.
そして、その読出した単語に送りがな番号が付されてい
るときには、送りがなテーブル8の、その送りがな番号
が示すポインタに位置する送りがなのパターンに基づい
て、その単語の表記を複数種類の送りがなの表記に順次
変換し、それを表示装置9に表示する。Then, when the read word is provided with an infeed number, the notation of the word is sequentially changed to a plurality of types of infeed based on the infeed table located at the pointer of the infeed table 8. It is converted and displayed on the display device 9.
第3図は自立語辞書6の記憶フォーマットを示す説明図
である。FIG. 3 is an explanatory diagram showing the storage format of the independent word dictionary 6.
図に示すように、自立語辞書6には、一つの単語につ
き、語長10、重複11、読みがな12、品詞番号13、表記14
の項目が設けられており、さらに、送りがなにゆらぎの
ある単語についてのみ、送りがな番号15の項目が設けら
れている。As shown in the figure, the independent word dictionary 6 has a word length of 10, a duplicate 11, a phonetic 12, a part of speech number 13, and a notation 14 for each word.
Is provided, and further, for a word with a fluctuation in the sword, the item with the sword number 15 is provided.
語長10には、一単語についてのレコード長、重複11に
は、単語の重複部分の記憶を避けるための、同一表記に
ついての変化部分のみを記憶しているという情報、読み
がな12には、見出しとしての平がな表記が、それぞれ記
憶されている。The word length 10 is the record length for one word, the duplication 11 is information that only the changed portion of the same notation is stored to avoid storing the duplicated portion of the word. , Hiragana notation as headings are stored respectively.
また、品詞番号13は、名詞、動詞等の品詞の情報が記憶
されるところであるが、各単語についての品詞情報は、
品詞テーブル7に別途記憶されており、品詞番号13に
は、その単語の品詞情報が、品詞テーブル7の何番目の
レコードに記憶されているかのポインタ(数値)が記憶
されている。表記14には、漢字を含む単語の表記が記憶
されている。Further, the part-of-speech number 13 is where the information of the part-of-speech such as noun and verb is stored, but the part-of-speech information for each word is
It is separately stored in the part-of-speech table 7, and the part-of-speech number 13 stores a pointer (numerical value) in which record of the part-of-speech table 7 the part-of-speech information of the word is stored. The notation 14 stores the notation of words including Chinese characters.
これらの、語長10、重複11、読みがな12、品詞番号13、
表記14は、それぞれ従来公知の自立語辞書の構造に準じ
ている。These word length 10, duplicate 11, reading 12, phonetic part number 13,
The notation 14 is based on the structure of a conventionally known independent word dictionary.
送りがな番号15には、上記の品詞テーブル7と同様に、
単語の送りがなのパターンが、送りがなテーブル8の何
番目のレコードに記憶されているかのポインタ(数値)
が記憶されている。As with the part-of-speech table 7 above,
Pointer (numerical value) in which record of the word feed table 8 the word feed pattern is stored
Is remembered.
そして、単語に送りがな番号15が付加されているかどう
かは、品詞番号13がある一定の数値を超えているかどう
かで判定する。すなわち、送りがなにゆらぎのある単語
についての品詞情報を品詞テーブル7の後半にまとめて
登録しておき、品詞番号13を確認することによって、そ
の単語に送りがな番号15が付加されているかどうかを判
定できるようにしている。Then, it is judged whether or not the insignificant number 15 is added to the word based on whether or not the part-of-speech number 13 exceeds a certain value. That is, by registering the part-of-speech information about a word with a fluctuation in the latter half of the part-of-speech table 7 and checking the part-of-speech number 13, it is possible to determine whether or not the unsuccessful fifteen number 15 is added to the word. I am trying.
第4図は送りがなテーブル8の記憶フォーマットを示す
説明図である。FIG. 4 is an explanatory diagram showing the storage format of the forwarding table 8.
図に示すように、送りがなテーブル8には、送りがな番
号順に、送りがなのパターンが、第1候補、第2候補、
第3候補、……、というように、各単語についての送り
がなのパターン分の候補が記憶されている。例えば、送
りがな番号nであれば、第1候補(11100000)、第2候
補(10100000)、第3候補(11110000)である。As shown in the figure, in the feed-off table 8, the feed-off patterns are arranged in the order of the feed-off numbers, that is, the first candidate, the second candidate,
The third candidate, ..., Candidate patterns for each word are stored. For example, if the feed number is n, it is the first candidate (11100000), the second candidate (10100000), and the third candidate (11110000).
この送りがなテーブルの内容は、1バイト単位で漢字表
記に対応させている。例えば、「おぼえがき」という、
第4図の送りがな番号nの送りがなパターンを有する単
語である場合には、読み文字データは、 (覚=2)(え=1)(書=1)(き=1)=2111 であるので、この4桁の表記に、第5図に示すように、
それぞれ先頭から1ビットずつ割り当てる。そして、第
6図に示すように、ビットが“1(オン)”になってい
る表記のみを抽出する。The contents of this sagaana table correspond to the kanji notation in 1-byte units. For example, "Origaki"
In the case of the word having the sword-fixing pattern of the sword-fixing number n in FIG. 4, since the reading character data is (sense = 2) (e = 1) (writing = 1) (ki = 1) = 2111, In this 4-digit notation, as shown in FIG.
One bit is allocated from the beginning. Then, as shown in FIG. 6, only the notation in which the bit is “1 (on)” is extracted.
このような処理方法だと、一度選択した単語の送りがな
について、その送りがなのパターンを学習バッファに格
納しておけば、二度目からは、1回の変換で、その単語
について所望する送りがなでの表記を得ることができ
る。With such a processing method, if the word forwarding of the selected word is stored in the learning buffer once, it will be written in the desired forwarding with the single conversion from the second time. Can be obtained.
このようにして、送りがなのパターンを1バイト情報と
してテーブル化したものが第4図である。In this way, FIG. 4 shows a table of feed patterns as 1-byte information.
第7図は第4図において1バイト情報で示した送りがな
のパターンを実際にかな漢字変換した場合の例を示す説
明図である。FIG. 7 is an explanatory diagram showing an example in which the kana-kanji conversion of the kana-kana pattern shown by the 1-byte information in FIG. 4 is actually performed.
図に示すように、第4図の送りがな番号nで示した送り
がなパターンである、上述の「おぼえがき」の例であれ
ば、第1候補(覚え書)→第2候補(覚書)→第3候補
(覚え書き)→第4候補(覚書き)→第5候補(おぼえ
がき)→第6候補(オボエガキ)と順次変換される。As shown in the figure, in the case of the above-mentioned “reminder”, which is the feed pattern indicated by the feed number n in FIG. 4, the first candidate (memo) → the second candidate (memo) → the third Candidates (notes) → 4th candidate (memorandum) → 5th candidate (remembering) → 6th candidate (Oboegaki) are sequentially converted.
このように、送りがなのパターンを、例えば、「おぼえ
がき」の場合であれば、先頭の4ビット分について、
“1(オン)",“0(オフ)”の情報でビット化して登
録しておき、「おぼえがき」と入力され、それをかな漢
字変換する場合には、最初の4文字の表記の読みデータ
に対応する送りがなパターンのビットが“1(オン)”
だけの表記文字を抽出するようにする。In this way, for example, in the case of "Origaki", the pattern of the feed is
If you convert it into bits with the information of "1 (on)" and "0 (off)" and enter it as "Oregaraki" and convert it into kana-kanji, the reading data of the first four characters is read. The bit of the feed pattern corresponding to is "1 (on)"
Only the notation characters are extracted.
これらの変換の内、第5候補と第6候補については、単
語の先頭の文字は、通常、削除されることがないため、
これを利用して、先頭が“0(オフ)”、つまり、削除
のビットであれば、その単語の読みがなを全て平がな、
又はカタカナで表記するようにした例を示したものであ
る。Of these conversions, for the fifth and sixth candidates, the first character of the word is usually not deleted, so
Using this, if the beginning is "0 (off)", that is, if it is a deletion bit, all readings of that word are flat,
Or, it is an example in which it is written in katakana.
なお、送りがなのパターンの種類が255種類以内なら、
送りがな番号は1バイトの情報となって、送りがなパタ
ーンの情報は固定長となり、送りがなパターンの種類が
256種類以上なら、送りがな番号は2バイトのアドレス
情報となり、送りがなパターンの情報は1バイトの整数
倍による可変長データとなる。If there are no more than 255 types of feed patterns,
The feed number is 1-byte information, the feed pattern information has a fixed length, and the feed pattern type is
If there are 256 types or more, the feed number is 2-byte address information, and the feed pattern information is variable length data that is an integral multiple of 1 byte.
また、第7図に示した送りがなのパターンの1バイト情
報は一例であって、例えば、「覚え書き」の場合であれ
ば、先頭の4ビットについては“1(オン)”と“0
(オフ)”とが逆でもよく、その場合の例を示したもの
が第8図である。Further, the 1-byte information of the sending pattern shown in FIG. 7 is an example, and for example, in the case of "remember", "1 (on)" and "0" are set for the first 4 bits.
FIG. 8 shows an example in that case, which is the reverse of "(OFF)".
次に、制御部2の処理動作の内容を第9図及び第10図に
示すフローチャートに従い説明する。Next, the contents of the processing operation of the control unit 2 will be described with reference to the flowcharts shown in FIGS. 9 and 10.
第9図はかな漢字変換が行われる場合の処理内容を示す
フローチャートである。FIG. 9 is a flowchart showing the processing contents when kana-kanji conversion is performed.
かな漢字変換が行われる場合には、まず、キーボード1
から文字列が入力され(ステップ201)、その文字列が
入力バッファ4に記憶された後、かな漢字変換が指示さ
れると(ステップ202)、制御部2により、同音異義語
があるかどうかが判定され(ステップ203)、同音異義
語がある場合には、同音異義語の候補が抽出されて表示
装置9に表示され(ステップ204)、それらの選択が行
われる(ステップ205)。When Kana-Kanji conversion is performed, first use the keyboard 1
When a character string is input from (step 201) and the character string is stored in the input buffer 4 and then kana-kanji conversion is instructed (step 202), the control unit 2 determines whether there is a homonym. Then, if there are homonyms (step 203), homonyms are extracted and displayed on the display device 9 (step 204), and those are selected (step 205).
次に、自立語辞書6の品詞番号13が検索されて、送りが
なにゆらぎがあるかどうかが判定され(ステップ20
6)、送りがなにゆらぎがある場合には、送りがなのゆ
らぎが抽出されて表示装置9に表示され(ステップ20
7)、それらの選択が行われる(ステップ208)。Next, the part-of-speech number 13 in the independent word dictionary 6 is searched to determine whether or not there is fluctuation in the sending (step 20).
6) If there are fluctuations in the feed, fluctuations in the feed are extracted and displayed on the display device 9 (step 20).
7), those choices are made (step 208).
そして、文字列が再度入力される場合にはステップ201
に戻り、文字列が入力されない場合にはかな漢字変換処
理の終了となる(ステップ209)。If the character string is input again, step 201
If no character string is input, the kana-kanji conversion processing ends (step 209).
第10図は第9図に示した送りがなのゆらぎが抽出される
場合の詳細フローチャートである。FIG. 10 is a detailed flowchart for the case where the fluctuating Fana-gana shown in FIG. 9 is extracted.
送りがなのゆらぎが抽出される場合には、まず、自立語
辞書6内に送りがな番号が付されているのかどうかが判
定され(ステップ301)、送りがな番号が付加されてい
る場合には、その送りがな番号に基づいて送りがなテー
ブル8が参照され(ステップ302)、送りがなテーブル
8より、該当する送りがなパターンの情報が検索される
(ステップ303)。In the case where the sword-feeding fluctuation is extracted, it is first determined whether or not the sword-feeding number is added in the independent word dictionary 6 (step 301). The feed-off table 8 is referred to (step 302), and the feed-off table 8 is searched for information on the corresponding feed-off pattern (step 303).
そして、漢字表記に対応させた送りがなパターンの1バ
イト情報より、送りがなが作成されて出力される(ステ
ップ304)。Then, based on the 1-byte information of the kana character pattern corresponding to the kanji notation, the kana character is created and output (step 304).
このようにして、自立語辞書6に送りがな番号を付加し
た単語に関してのみ、あらかじめ送りがなテーブル8に
送りがなのパターンを登録しておき、そのテーブルに基
づいて単語の送りがなを変換することにより、自立語辞
書6の登録単語数を増大させることなく、単語を所望の
送りがなで表記することが可能となる。In this way, only the words to which the phonetic numbers are added to the independent word dictionary 6 are registered in advance in the phonetic table 8 and the phonetic words of the words are converted based on the table. It is possible to write a word with a desired sword without increasing the number of registered words of 6.
(ト)発明の効果 この発明によれば、複数種類の送りがなを有する単語に
ついては、その送りがなのパターンを辞書手段とは別に
テーブルとして記憶しておき、その単語が読出されると
きには、そのテーブルに基づいて、その単語の表記を複
数種類の送りがなの表記に変換するようにしたので、従
来のような送りがなの追加、削除等の修正操作が不要と
なると共に、複数種類の送りがなを有する単語の登録が
一単語ですむため、辞書容量の節約が可能となる。(G) Effect of the Invention According to the present invention, for a word having a plurality of types of syllabary, the patterns of the syllabary are stored as a table separately from the dictionary means, and when the word is read, the table is stored. Based on this, the notation of that word is converted to the notation of multiple types of syllabary, which eliminates the need for correction operations such as the addition and deletion of conventional syllabary, and registers words with multiple types of syllabary. Since only one word is required, the dictionary capacity can be saved.
また、送りがなの表記の候補順位を、例えば、「おぼえ
がき」の場合であれば、第1候補(覚え書)→第2候補
(覚書)→第3候補(覚え書き)→第4候補(覚書き)
のように、任意に設定することができるので、従来のア
ルゴリズムで送りがなを削除してゆくような、送りがな
の削除処理のみではなく、単語ごとの送りがなの追加、
及び削除処理が可能となる。Further, in the case of the candidate rank of the notation of “Sentana”, for example, in the case of “memorize”, the first candidate (memo) → the second candidate (memo) → the third candidate (memo) → the fourth candidate (memo) )
Since it can be set arbitrarily as in the above, not only the processing of deleting the syllabary such as deleting the syllabary with the conventional algorithm, but the addition of the syllabary for each word,
And the deletion process becomes possible.
第1図はこの発明の構成を示すブロック図、第2図はこ
の発明の一実施例を示す構成ブロック図、第3図は自立
語辞書6の記憶フォーマットを示す説明図、第4図は送
りがなテーブル8の記憶フォーマットを示す説明図、第
5図は送りがなのビットの割り当て例を示す説明図、第
6図は送りがなのビットの抽出例を示す説明図、第7図
は送りがなのパターンを実際にかな漢字変換した場合の
例を示す説明図、第8図はビットパターンが逆の場合を
示す第7図相当図、第9図及び第10図は実施例の動作を
示すフローチャートである。 1……キーボード、2……制御部、3……プログラムメ
モリ、4……入力バッファ、5……かな漢字変換辞書、
6……自立語辞書、7……品詞テーブル、8……送りが
なテーブル、9……表示装置。FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a configuration block diagram showing an embodiment of the present invention, FIG. 3 is an explanatory diagram showing the storage format of the independent word dictionary 6, and FIG. FIG. 5 is an explanatory diagram showing a storage format of the table 8, FIG. 5 is an explanatory diagram showing an example of allocating bites of a feed, FIG. 6 is an explanatory diagram showing an example of extracting bits of a feed, and FIG. FIG. 8 is an explanatory diagram showing an example in the case where kana-kanji conversion is performed, FIG. 8 is a diagram corresponding to FIG. 7 showing the case where the bit pattern is reversed, and FIGS. 9 and 10 are flowcharts showing the operation of the embodiment. 1 ... keyboard, 2 ... control unit, 3 ... program memory, 4 ... input buffer, 5 ... Kana-Kanji conversion dictionary,
6 ... independent word dictionary, 7 ... part-of-speech table, 8 ... sendable table, 9 ... display device.
Claims (1)
に記憶し、複数種類の送りがなを有する単語に対しては
識別符号を付して記憶した辞書手段と、 前記識別符号と前記複数種類の送りがなの各々のパター
ンとをテーブルとして記憶した送りがな記憶手段と、 入力手段から入力された読み情報に対応する単語を前記
辞書手段から読み出す読出し手段と、 前記読出し手段によって読出される単語に前記識別符号
が付されているときには前記テーブルに基づいてその単
語の表記を前記複数種類の送りがなの表記に順次変換す
る変換手段と、 前記変換手段によって送りがなの表記が変換された単語
を表示する表示手段を備えることを特徴とするかな漢字
変換装置。1. A dictionary means which stores a large number of words including Chinese characters together with its reading information, and stores a plurality of kinds of words with an identifying code by storing an identifying code, and a dictionary means for storing the identifying code and the plurality of kinds of words. Furagana storage means for storing each pattern of furagana as a table, reading means for reading words corresponding to reading information input from the input means from the dictionary means, and the identification code for the words read by the reading means. When the symbol is attached, a conversion unit that sequentially converts the notation of the word into the plural types of notation based on the table, and a display unit that displays the word in which the notation of notation is converted by the conversion unit A kana-kanji conversion device characterized by this.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1133737A JPH0769916B2 (en) | 1989-05-26 | 1989-05-26 | Kana-Kanji converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1133737A JPH0769916B2 (en) | 1989-05-26 | 1989-05-26 | Kana-Kanji converter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02311952A JPH02311952A (en) | 1990-12-27 |
| JPH0769916B2 true JPH0769916B2 (en) | 1995-07-31 |
Family
ID=15111741
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1133737A Expired - Lifetime JPH0769916B2 (en) | 1989-05-26 | 1989-05-26 | Kana-Kanji converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0769916B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58101329A (en) * | 1981-12-11 | 1983-06-16 | Nec Corp | Japanese sentence information input device |
| JPS59109939A (en) * | 1982-12-15 | 1984-06-25 | Comput Basic Mach Technol Res Assoc | Example dictionary |
| JPS6298455A (en) * | 1985-10-25 | 1987-05-07 | Ricoh Co Ltd | string processing device |
-
1989
- 1989-05-26 JP JP1133737A patent/JPH0769916B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02311952A (en) | 1990-12-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS619753A (en) | Automatic registration method of frequently occurring phrases in a document processing device | |
| JPH0351021B2 (en) | ||
| US5835921A (en) | Data processing apparatus for creating and storing a text file from input data | |
| JP2634926B2 (en) | Kana-Kanji conversion device | |
| JPS60176169A (en) | Sentence processor | |
| JPH0769916B2 (en) | Kana-Kanji converter | |
| JPH0612548B2 (en) | Document processor | |
| US5404517A (en) | Apparatus for assigning order for sequential display of randomly stored titles by comparing each of the titles and generating value indicating order based on the comparison | |
| JPH0363101B2 (en) | ||
| JPH0352102B2 (en) | ||
| JPS62156762A (en) | Character data input device | |
| JPS58168180A (en) | information retrieval device | |
| JPH0640330B2 (en) | Chinese input method | |
| JPS5951015B2 (en) | document creation device | |
| JPS62119665A (en) | Word processor | |
| JPH0269858A (en) | character processing device | |
| JPH04329468A (en) | Document preparing device | |
| JPH0454557A (en) | Character processor | |
| JPH0250253A (en) | Kana-Kanji conversion device | |
| JPS60570A (en) | Method and device for information retrieval | |
| JPH05189414A (en) | Document creation device and method | |
| JPH0736902A (en) | Electronic dictionary device | |
| JPS6252348B2 (en) | ||
| JPH06131329A (en) | Japanese character processor | |
| JPS603016A (en) | document creation device |