JPH0833886B2 - Kana-Kanji conversion device and method - Google Patents

Kana-Kanji conversion device and method

Info

Publication number
JPH0833886B2
JPH0833886B2 JP63257010A JP25701088A JPH0833886B2 JP H0833886 B2 JPH0833886 B2 JP H0833886B2 JP 63257010 A JP63257010 A JP 63257010A JP 25701088 A JP25701088 A JP 25701088A JP H0833886 B2 JPH0833886 B2 JP H0833886B2
Authority
JP
Japan
Prior art keywords
conversion
kana
kanji
sentence
phrase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63257010A
Other languages
Japanese (ja)
Other versions
JPH02105254A (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.)
International Business Machines Corp
Original Assignee
International Business Machines 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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to JP63257010A priority Critical patent/JPH0833886B2/en
Publication of JPH02105254A publication Critical patent/JPH02105254A/en
Publication of JPH0833886B2 publication Critical patent/JPH0833886B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 A.産業上の利用分野 本発明はかなで入力された連文節の日本語文をかな漢
字混じり文に変換するかな漢字変換装置に関し、とくに
文節切り直し後のかな漢字変換で可及的に正確な変換結
果を得られるようにしたものである。
[Detailed Description of the Invention] A. Field of Industrial Application The present invention relates to a kana-kanji conversion device for converting a Japanese sentence of a continuous phrase input by kana into a kana-kanji mixed sentence, and particularly possible for kana-kanji conversion after re-segmentation. It is designed to obtain accurate conversion results.

B.従来技術 日本語文書処理装置に日本語入力装置としてかな文字
列を入力して複数文節からなるかな漢字混じり文に変換
する連文節かな漢字変換が知られているが、この方式で
は、かな漢字混じり文に変換後、どうしても文節区切り
の位置の変更が必要となることがある。この問題を解決
するために、例えば特許昭59−176820号公報に示される
ように、変換後のかな漢字混じり文全体を一旦、かな文
字列に戻して、手操作により文節区切り位置を指定し
て、逐次変換をしなおす方法が知られている。
B. Prior art Kana-Kanji conversion is known, which uses a Japanese text input device as a Japanese input device to input a kana character string and convert it into a kana-kanji mixed sentence consisting of multiple clauses. After conversion, it may be necessary to change the position of the segment break. In order to solve this problem, for example, as shown in Japanese Patent Laid-Open No. 59-176820, once the entire kana-kanji mixed sentence after conversion is once returned to the kana character string, and the bunsetsu delimiter position is specified by manual operation, A method of performing successive conversion again is known.

この場合、再変換時の手数は単文節での変換時と同じ
になってしまい連文節かな漢字変換方式を使用する利点
が無くなってしまう。
In this case, the time required for the re-conversion becomes the same as that for the conversion in the single phrase, and the advantage of using the consecutive phrase kana-kanji conversion method is lost.

一方、文節区切りの位置を明示的に指定しない場合、
再変換の指示を行っても変換対象領域に対して通常時の
かな漢字変換を適用するために、再変換指示前と同じ文
節区切りの位置の誤りを生じる場合が多く、正しい変換
結果を得るために多くの手数を必要とする。
On the other hand, if you do not explicitly specify the position of the phrase break,
Even if the re-conversion instruction is given, since the Kana-Kanji conversion in the normal time is applied to the conversion target area, the same punctuation position error as before the re-conversion instruction often occurs, and in order to obtain the correct conversion result. It takes a lot of work.

これは、次のような理由による。再変換の対象として
複数の文節を含む範囲が指示された場合、指示された部
分には文節区切りの誤まりが含まれていることが多いの
であるが、そこに初期変換で文節の区切りにおいて誤ま
りを犯した同じ変換方式を適用することによってまた同
じ誤まりを犯してしまうからである。
This is for the following reason. When a range containing multiple bunsetsu is specified as the target of re-conversion, the specified part often contains an error in bunsetsu delimiter. This is because the same mistakes are made again by applying the same conversion method that made a mistake.

C.発明が解決しようとする問題点 この発明は以上の事情を、考慮してなされたものであ
り、文節の区切りなおしを必要とするかな漢字変換で、
速やかに正確な変換結果を得る事ができるかな漢字変換
装置を提供する事を目的としている。
C. Problems to be Solved by the Invention This invention was made in consideration of the above circumstances, and is a kana-kanji conversion that requires re-segmentation.
The purpose is to provide a kana-kanji conversion device that can quickly obtain accurate conversion results.

D.問題点を解決する手段 この発明では、以上の目的を達成するために通常時の
変換手法と再変換時の変換手法を異なったもので行うよ
うにしている。
D. Means for Solving Problems In the present invention, in order to achieve the above object, different conversion methods are used for normal conversion and reconversion.

たとえば、通常時の変換では単語毎のスコア(ペナル
テイ)等に基づいて変換を行ない、文節の区切りなおし
を必要とする再変換時には文節数の少ないものから順に
候補を出力するようにしている。
For example, in normal conversion, conversion is performed based on the score (penalty) of each word, and candidates are output in order from the one with the smallest number of phrases at the time of reconversion that requires segmentation again.

E.実施例 以下この発明を連文節のかな漢字変換装置に適用した
一実施例について説明する。
E. Embodiment An embodiment in which the present invention is applied to a kana-kanji conversion device for consecutive phrases will be described below.

第1図は本発明の一実施例におけるかな漢字変換装置
のブロック図である。第1図においてキーボード1は、
かな漢字変換の対象となる文字の入力のための文字キー
の他に、入力されたかな文字列をかな漢字混じり文に変
換するための変換キー、カーソルを移動するカーソルキ
ー、各種校正編集を行なうためのファンクシヨンキーな
どが設けられている。
FIG. 1 is a block diagram of a kana-kanji conversion device according to an embodiment of the present invention. In FIG. 1, the keyboard 1 is
In addition to the character keys for inputting the characters to be converted to kana-kanji, the conversion key for converting the input kana-character string into a kana-kanji mixed sentence, the cursor key for moving the cursor, and various proofreading edits. Function keys etc. are provided.

第一変換処理部2は、キーボード1からの入力に対し
連文節かな漢字変換を行なう。この際、入力されたかな
文字列に即して辞書5の検索を行ない、まず実現可能な
1または複数の文節列(連文節変換候補)を得、このの
ちこの連文節変換候補ごとに、各単語や単語連鎖に対し
て付けられたスコア(ペナルテイ)を用いた評価を行な
う。単語に関連するスコアはたとえば個々の単語の頻度
情報であり、単語連鎖に関連するスコアはたとえば文法
情報である。以上のスコアに基づいて最適な変換候補を
選ぶ。なおこの時の変換の方法は最長一致法、2文節最
長一致法等の手法を用いてもよい。
The first conversion processing unit 2 performs continuous sentence kana-kanji conversion for input from the keyboard 1. At this time, the dictionary 5 is searched according to the input kana character string, and first, one or more feasible phrase sequences (continuous phrase conversion candidates) are obtained. An evaluation is performed using a score (penalty) attached to a word chain. A score associated with a word is, for example, frequency information of an individual word, and a score associated with a word chain is, for example, grammatical information. The optimum conversion candidate is selected based on the above scores. Note that the conversion method at this time may be a method such as the longest match method or the two-segment longest match method.

第二変換処理部3は、再変換指示が行なわれた部分に
ついて得られるかな漢字混じり文の文節の数が最小とな
るように連文節かな漢字変換を行う。再変換時の変換方
式としては、文節数最小法に辞書5上の語の固有のスコ
アを加味して行つてもよい。
The second conversion processing unit 3 performs continuous sentence-kana-kanji conversion so that the number of clauses in the kana-kanji mixed sentence obtained for the portion for which the reconversion instruction is given is minimized. As a conversion method at the time of re-conversion, it is possible to add a peculiar score of a word in the dictionary 5 to the minimum clause number method.

文字列バツフア4は、キーボードから入力された文字
列を記憶し、変換処理部2および3への入力として使用
される。
The character string buffer 4 stores a character string input from the keyboard and is used as an input to the conversion processing units 2 and 3.

変換方式切り換え部6では再変換指示が同音語の選択
であるかを、たとえば再変換指示をされた部分が一語基
または一文節と一致するか等によつて判断し、同音語の
選択でなければ文字列バツフアの内容を第二変換処理部
3へ与え、制御を第二変換処理部3へ渡す。(第2図) デイスプレイ7では、キーボードから入力された文字
列を表示するだけでなく、かな漢字変換の結果の文字列
を表示する。
The conversion method switching unit 6 determines whether or not the reconversion instruction is the selection of a homophone, for example, by determining whether or not the portion for which the reconversion instruction is given matches one word base or one phrase, and selects the homophone. If not, the contents of the character string buffer are given to the second conversion processing unit 3 and control is passed to the second conversion processing unit 3. (FIG. 2) In the display 7, not only the character string input from the keyboard is displayed, but also the character string resulting from the kana-kanji conversion is displayed.

次に、「うらにうむげんそのはつけん」なる入力かな
文字列に対する変換結果とその修正過程を示す。初期変
換で使用される通常モードのかな漢字変換では、例え
ば、第3図に示すような変換結果を得たとする。この時
の変換結果の候補の一部を第5図に示す。この変換結果
に対してオペレーターは、第4図(a)のように再変換
する範囲を指定して再変換の指示を行う。変換方式切り
換え部6でこの操作が再変換の指示であり、かつ、同音
義議語の選択の操作でない事を判断して、文字列バツフ
ア中の再変換指示を行なわれた部分に相当する部分を再
変換モードで変換し変換結果をデイスプレイ7に出力す
る。この時の変換結果の例を第4図(b)に示す。な
お、第4図(a)における文節切り直し範囲の指定は、
変換したかな漢字混り文に対して行つているが、一旦か
なに戻してから行うようにしてもよく、このようにする
のが普通でもある。
Next, the conversion result and the correction process for the input kana character string "Uranii Umugen Soha Tsuke" are shown. In the kana-kanji conversion in the normal mode used in the initial conversion, for example, it is assumed that the conversion result as shown in FIG. 3 is obtained. Some of the conversion result candidates at this time are shown in FIG. For this conversion result, the operator designates the range to be reconverted as shown in FIG. 4 (a) and gives an instruction for reconversion. The conversion method switching unit 6 judges that this operation is an instruction for reconversion and is not an operation for selecting a homonym synonym, and a portion corresponding to the portion in the character string buffer for which reconversion is instructed. Is converted in the re-conversion mode and the conversion result is output to the display 7. An example of the conversion result at this time is shown in FIG. It should be noted that the designation of the phrase recut range in FIG.
Although I am working on the converted kana-kanji mixed sentence, it may be done after returning to kana once, which is also the usual way.

また第6図は文節数最小法による動作を、「うらにう
むげんそのはつけん」という部分を文節切り直し範囲と
した場合を例にして示している。この場合「ウラニウム
元素の発見」が出力される。なお、上記では変換処理部
をハードウエア上2個設けるように示してあるが、ソフ
トウエアにより1つの処理部で2つの変換処理部を兼用
するようにすることもできる。
Further, FIG. 6 shows an operation by the minimum clause number method, taking a case where the portion "Urani Umugen no Hatsutsu" is set as a clause recutting range. In this case, "discovery of uranium element" is output. In the above description, two conversion processing units are provided on the hardware, but one processing unit can also be used as two conversion processing units by software.

F.効果 以上のように本発明は、複数の文節からなるかな文字
列をかな漢字変換するかな漢字変換処理部を2個または
それ以上使用し、文節境界の誤りを含む変換結果に対し
て初期変換時と異なる変換方式を使用して再変換を行な
うことにより、文節境界の誤りを含むかな漢字変換の結
果の修正が再変換時も同じ変換方式で行う場合に比べ少
ない手数で行うことができる。その結果、修正操作を含
めた日本語入力に関する時間を大幅に短縮させることが
できる。
F. Effect As described above, the present invention uses two or more kana-kanji conversion processing units for kana-kanji conversion of a kana-character string consisting of a plurality of phrases, and performs initial conversion for a conversion result including a bunsetsu boundary error. By performing re-conversion using a conversion method different from that described above, it is possible to correct the result of the Kana-Kanji conversion that includes a bunsetsu boundary error with less labor than when the same conversion method is used during re-conversion. As a result, it is possible to significantly reduce the time required for Japanese input including the correction operation.

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

第1図は本発明のかな漢字変換装置の一実施例における
ブロツク図、第2図は同フローチヤート、第3図は同通
常モードでの変換説明、第4図は再変換時の変換説明、
第5図は通常モードでの変換結果テーブルの一部、第6
図は再変換モードでの変換結果テーブルの一部を示す図
である。 2…第一変換処理部、3…第二変換処理部、5…変換方
式切り換え部。
FIG. 1 is a block diagram of an embodiment of the kana-kanji conversion device of the present invention, FIG. 2 is the same flow chart, FIG. 3 is a description of conversion in the normal mode, and FIG. 4 is a description of conversion during re-conversion.
FIG. 5 is a part of the conversion result table in the normal mode,
The figure shows a part of the conversion result table in the reconversion mode. 2 ... 1st conversion processing part, 3 ... 2nd conversion processing part, 5 ... conversion method switching part.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−143175(JP,A) 特開 昭61−198361(JP,A) 特開 昭60−20234(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP 62-143175 (JP, A) JP 61-198361 (JP, A) JP 60-20234 (JP, A)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】かなで入力された連文節の日本語文を第1
の基準でかな漢字混じり文に変換する第1変換手段と、 かなで入力された連文節の日本語文を第2の基準でかな
漢字混じり文に変換する第2変換手段と、 文節切り直しの指示に応じて第1変換手段、および上記
かなで入力された日本語の全文を変換対象として、変換
後の文節数が少ない文節列ほど高順位の変換候補とする
第2変換手段を択一的に動作させる制御手段とを有し、 通常時には第1変換手段で変換を実行し、文節切り直し
直後には、第2変換手段で変換を実行するようにしたこ
とを特徴とするかな漢字変換装置。
[Claim 1] The first Japanese sentence of a continuous phrase input with Kana
In accordance with the first conversion means for converting into a kana-kanji mixed sentence according to the standard, and the second conversion means for converting a Japanese sentence of a continuous phrase input in kana into a kana-kanji mixed sentence according to the second criterion, Control for selectively operating the first conversion means and the second conversion means for converting the whole Japanese sentence input by the above kana as a conversion candidate having a higher rank for a phrase sequence having a smaller number of converted phrases. A kana-kanji conversion device characterized in that the conversion means executes the conversion by the first conversion means under normal conditions, and the conversion is executed by the second conversion means immediately after re-segmentation.
【請求項2】第1変換手段は、文節列を構成する単語の
得点および単語間の連鎖の得点に基づいて変換候補を評
価する、請求項(1)記載のかな漢字変換装置。
2. The kana-kanji conversion device according to claim 1, wherein the first conversion means evaluates the conversion candidates based on the scores of the words forming the phrase sequence and the scores of the chain between the words.
【請求項3】第1変換手段は、最長一致法に基づいて変
換を実行する、請求項(1)記載のかな漢字変換装置。
3. The kana-kanji conversion device according to claim 1, wherein the first conversion means executes the conversion based on the longest match method.
【請求項4】第1変換手段は、2文節最長一致法に基づ
いて変換を実行する、請求項(1)記載のかな漢字変換
装置。
4. The kana-kanji conversion device according to claim 1, wherein the first conversion means executes conversion based on the two-segment longest-match method.
【請求項5】かなで入力された連文節の日本語文を第1
の基準でかな漢字混じり文に変換するステップと、 文節切り直しの指示を受け付けるステップと、 上記受け付けた文節切り直しの指示に基づいて、上記か
なで入力された日本語の全文を変換対象として、変換後
の文節数が少ない文節列ほど高順位の変換候補とする第
2の基準でかな漢字混じり文に変換するステップとを有
することを特徴とするかな漢字変換方法。
5. A Japanese sentence of a continuous phrase input by kana is the first sentence.
Based on the standard of kana and kanji, a step of accepting an instruction to rephrase the phrase, and based on the received instruction to rephrase the phrase, the whole sentence of Japanese input in kana is converted and converted. A kana-kanji conversion method comprising the step of converting to a kana-kanji mixed sentence according to a second criterion in which a phrase sequence having a smaller number of subsequent phrases is a conversion candidate having a higher rank.
JP63257010A 1988-10-14 1988-10-14 Kana-Kanji conversion device and method Expired - Lifetime JPH0833886B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63257010A JPH0833886B2 (en) 1988-10-14 1988-10-14 Kana-Kanji conversion device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63257010A JPH0833886B2 (en) 1988-10-14 1988-10-14 Kana-Kanji conversion device and method

Publications (2)

Publication Number Publication Date
JPH02105254A JPH02105254A (en) 1990-04-17
JPH0833886B2 true JPH0833886B2 (en) 1996-03-29

Family

ID=17300471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63257010A Expired - Lifetime JPH0833886B2 (en) 1988-10-14 1988-10-14 Kana-Kanji conversion device and method

Country Status (1)

Country Link
JP (1) JPH0833886B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54139355A (en) * 1978-04-21 1979-10-29 Agency Of Ind Science & Technol Word separator
JPS5965346A (en) * 1982-10-05 1984-04-13 Matsushita Electric Ind Co Ltd Japanese sentence forming device
JPS61175854A (en) * 1985-01-31 1986-08-07 Sharp Corp Kana to kanji converting device
JPH0766380B2 (en) * 1986-03-17 1995-07-19 セイコーエプソン株式会社 Kana-Kanji converter
JPS6327960A (en) * 1986-07-22 1988-02-05 Toshiba Corp Documentation device
JPS63214872A (en) * 1987-03-04 1988-09-07 Hitachi Ltd Kana/kanji conversion system

Also Published As

Publication number Publication date
JPH02105254A (en) 1990-04-17

Similar Documents

Publication Publication Date Title
JPS62274360A (en) Word processor
JPH11212967A (en) Prediction input device/method
JPH0833886B2 (en) Kana-Kanji conversion device and method
JPH05233600A (en) Word processor
JPS6362018B2 (en)
JPS62163174A (en) Mechanical translating device
JPH0380363A (en) Document processor
JPH0131229B2 (en)
JP2000148747A (en) Conversion candidate display method, record medium for program for japanese syllabary-to-chinese character conversion by same method, and japanese syllbary-to- chinese character conversion device
JP2675298B2 (en) Information processing device
JP3442197B2 (en) Document processing apparatus and document processing method
JP2634596B2 (en) Kana-Kanji conversion device
JPH0683807A (en) Document preparing device
JPS6172360A (en) Close writing kana-to-kanji conversion system
JPH08314913A (en) Kana (japanese sylalbary)/kanji (chinese syllabary) conversion device
JPS62123558A (en) Kana-to-kanji converter
JPH09134353A (en) Kana/kanji converting method of document processor
JPH07104863B2 (en) Kana-Kanji converter
JPH0695329B2 (en) Japanese input method
JPH0798702A (en) Document preparing device
JPH0628338A (en) Word processor
JPS61177568A (en) Document processor
JPH0115105B2 (en)
JPH09179858A (en) Document preparation device and display method
JPH08147282A (en) Device and method for kana/kanji conversion