JPH04552A - Kana-kanji conversion device - Google Patents

Kana-kanji conversion device

Info

Publication number
JPH04552A
JPH04552A JP2101302A JP10130290A JPH04552A JP H04552 A JPH04552 A JP H04552A JP 2101302 A JP2101302 A JP 2101302A JP 10130290 A JP10130290 A JP 10130290A JP H04552 A JPH04552 A JP H04552A
Authority
JP
Japan
Prior art keywords
kana
kanji
string
input
data
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.)
Pending
Application number
JP2101302A
Other languages
Japanese (ja)
Inventor
Osamu Totokawa
都外川 修
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2101302A priority Critical patent/JPH04552A/en
Publication of JPH04552A publication Critical patent/JPH04552A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、仮名の状態で入力された文字列を仮名混じり
列に変換する仮名漢字変換装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a kana-kanji conversion device that converts a character string input in the form of kana into a string containing kana.

[従来の技術] 近年仮名漢字変換装置は日本語を入力するために用いら
れる装置として、日本語ワードプロセッサを初めとして
各種の日本語処理装置に広く用いられている。仮名漢字
変換装置は入力された仮名列を仮名漢字混じり列に変換
するために用いられる。例えば、次の仮名列「あすはて
んきがよ(なる」を入力すると、「明日は天気が良(な
る」と変換を行うことができる。
[Prior Art] In recent years, kana-kanji conversion devices have been widely used in various Japanese language processing devices, including Japanese word processors, as devices used to input Japanese characters. The kana-kanji converter is used to convert an input kana string into a kana-kanji mixed string. For example, if you input the following kana string ``Asu wa tenkigayo (naru)'', it can be converted to ``tomorrow the weather will be nice (naru)''.

[発明が解決しようとする課題] しかしながら、以上説明した従来の仮名漢字変換装置で
は、ある特定分野に顕著にあられれる言語現象を仮名漢
字変換解析に取り入れる機構が無いため、分野別に異な
った仮名漢字変換解析を行うことができないという問題
があった。例えば、手紙文を書くときにおいて次の仮名
列「そのごあいさつ」を入力すると、「その後挨拶(そ
の御挨拶)」と文法的には間違ってはいないが、手紙文
を書くときにおいてはユーザの意図に反する不自然な変
換結果を出力をすることになる。この不自然さは、手紙
文を書くときにおいては、尊敬の接頭語として特に「御
〜(する)」が使用されるという分野別のきめ細仮名情
報を変換結果に反映させる手段を持っていないためであ
り、上記例においてはそれまでの学習や辞書順や、文節
パターン接続テーブル等の評価値に依存することになり
、変換結果として「その後挨拶」が選ばれることになる
[Problems to be Solved by the Invention] However, the conventional kana-kanji conversion device described above does not have a mechanism to incorporate into the kana-kanji conversion analysis linguistic phenomena that occur prominently in a particular field. There was a problem that conversion analysis could not be performed. For example, when writing a letter, if the user inputs the following kana string ``Sono Greetings'', it is grammatically correct as ``Greetings afterward (Sono Greetings)'', but when writing a letter, the user This will result in an unnatural conversion result that is contrary to your intention. This unnaturalness is caused by the fact that when writing letters, there is no way to reflect in the conversion result the fine-grained kana information for each field, in which "go~ (suru)" is especially used as a prefix of respect. Therefore, in the above example, it depends on the previous learning, dictionary order, evaluation value of the phrase pattern connection table, etc., and "Greetings afterwards" is selected as the conversion result.

[課題を解決するための手段] この課題を解決するために本発明は文節と文節との接続
の文法的な確からしさを示すデータを分野毎に記憶した
文節パターン評価テーブルを設け、指定された分野に対
応する文節パターン評価テーブルを用いて入力された仮
名データに対応する漢字データの優先度を決定する構成
でなる。
[Means for Solving the Problem] In order to solve this problem, the present invention provides a phrase pattern evaluation table that stores data indicating the grammatical certainty of connections between phrases for each field, and It is configured to determine the priority of kanji data corresponding to input kana data using a bunsetsu pattern evaluation table corresponding to the field.

1作用〕 上記構成により、指定された分野で適した文節パターン
に則った漢字データが優先的に出力される。
1 Effect] With the above configuration, kanji data conforming to a phrase pattern suitable for a designated field is preferentially output.

[実施例] 以下、本発明の一実施例における仮名漢字変換装置につ
いて図面を参照しながら説明する。
[Embodiment] Hereinafter, a kana-kanji conversion device according to an embodiment of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例における仮名漢字変換装置
の機能ブロック図であり、lは仮名列の入力および仮名
列から漢字仮名混じり列への変換指示の手段を有する入
力手段である。2は入力手段lより入力された仮名列を
記憶する入力仮名列記憶部である。3は単語の読みと漢
字表記と品詞情報とを対にして記憶している単語辞書で
ある。
FIG. 1 is a functional block diagram of a kana-kanji conversion apparatus according to an embodiment of the present invention, and l is an input means having means for inputting a kana string and for instructing conversion from a kana string to a kanji-kana mixed string. Reference numeral 2 denotes an input kana string storage section that stores the kana string inputted from the input means 1. 3 is a word dictionary that stores word pronunciations, kanji notation, and part-of-speech information in pairs.

4は第5図(a)、(b)図に示すような各々の文節パ
ターンがどの程度文節として確からしいかの度合を記し
た使用モード毎の文節パターン評価テーブルである。5
は入力仮名列記憶部に記憶された仮名列を漢字仮名混じ
り列に変換し、解析候補として得られた文節のパターン
を分類する文節パターン分類部である。6は入力仮名列
記憶部2に記憶された仮名列を単語辞書3を検索して漢
字仮名混じり列に変換し、その解析結果として得られた
文節の候補を文節パターン分類部5とやりとりを行って
文節パターンを分類し、さらに文節パターン評価テーブ
ル4を参照しながら複数個漢字仮名混じり列候補のうち
使用モードにおける最も確からしい文節のパターンをも
つ漢字仮名混じり列を選択しその表記を出力する仮名漢
字変換制御部である。7は仮名漢字変換制御部から出力
された漢字仮名混じり列を記憶する出力文字列記憶部で
ある。8は変換結果である出力文字列記憶部に記憶され
た漢字仮名混じり列を表示する表示手段である。
4 is a clause pattern evaluation table for each use mode, which indicates the degree to which each clause pattern as shown in FIGS. 5(a) and 5(b) is likely to be a clause. 5
is a phrase pattern classification section that converts the kana string stored in the input kana string storage section into a kanji-kana mixed string and classifies the phrase patterns obtained as analysis candidates. 6 searches the word dictionary 3 for the kana string stored in the input kana string storage section 2 and converts it into a string containing kanji and kana, and exchanges the clause candidates obtained as a result of the analysis with the clause pattern classification section 5. The kana classifier classifies the bunsetsu patterns, and then selects the kanji-kana-mixed string with the most probable bunsetsu pattern in the usage mode from among the multiple kanji-kana-mixed string candidates while referring to the bunsetsu pattern evaluation table 4, and outputs its notation. This is a kanji conversion control unit. Reference numeral 7 denotes an output character string storage unit that stores the kanji-kana mixed string output from the kana-kanji conversion control unit. Reference numeral 8 denotes a display means for displaying the kanji-kana-mixed string stored in the output character string storage unit as the conversion result.

第2図は本実施例の仮名漢字変換装置の回路ブロック図
であり、9はキーボード、10は中央処理装置(以下、
CPUと略称する)、11は陰極線管デイスプレィ(以
下、CRTデイスプレィと略称する)、12はリードオ
ンリーメモリ(以下ROMと略称する)、13はランダ
ムアクセスメモリ(以下RAMと略称する)である。第
1図に示した入力手段1はキーボード9により、入力仮
名列記憶部2、出力文字列記憶部7は、RAMl3によ
り、単語辞書3と文節パターン分類部5と文節パターン
評価テーブルはROM12により、仮名漢字変換制御部
6はCPUl0がROM12及びRAM13とデータの
やりとりを行いながらROM13に記憶されたプログラ
ムを実行することにより、出力手段はCRTデイスプレ
ィ10によって実現されている。
FIG. 2 is a circuit block diagram of the kana-kanji conversion device of this embodiment, where 9 is a keyboard, 10 is a central processing unit (hereinafter referred to as
11 is a cathode ray tube display (hereinafter referred to as CRT display), 12 is a read-only memory (hereinafter referred to as ROM), and 13 is a random access memory (hereinafter referred to as RAM). The input means 1 shown in FIG. 1 is provided by a keyboard 9, the input kana string storage section 2 and the output character string storage section 7 are provided by a RAM 13, and the word dictionary 3, bunsetsu pattern classification section 5, and bunsetsu pattern evaluation table are provided by a ROM 12. The kana-kanji conversion control unit 6 is realized by the CPU 10 exchanging data with the ROM 12 and RAM 13 while executing a program stored in the ROM 13, and the output means is realized by the CRT display 10.

上記のように構成された本実施例の仮名漢字変換装置に
ついて、以下この動作を第3図のフローチャートに基づ
き説明する。
The operation of the kana-kanji conversion apparatus of this embodiment configured as described above will be explained below based on the flowchart shown in FIG.

まず、ステップ(イ)で入力手段から仮名列が入力され
ると、入力部はその内容を仮名漢字変換制御部に送り漢
字仮名混じり文への変換を指示する。例えば、次の仮名
列「そのごあいさつ」を入力手段から入力すると、上記
仮名列は入力仮名列記憶部2に格納される。次に入力手
段1から変換キーが入力されると、ステップ(ロ)に進
み、仮名漢字変換制御部6は入力手段1からの変換指示
を受は取り、単語辞書3を検索しながら入力に対する文
節の区切りを決定していく。 例文の場合では、仮名漢
字変換制御部6によって、まず(1)「そのご/あいさ
つJ (2) ”その/ご/あいさつ」と入力文が文節
単位に分解される。さらにステップ(ハ)で、仮名漢字
変換制御部6がいま分解された各文節に対する候補を出
力文字列記憶部7に書き出す。ステップ(ハ)の段階に
おいての出力文字列記憶部7の内容を第4図(a)に示
す。続いてステップ(ニ)で、文節パターン分類部5が
出力文字列記憶部7を参照し、文節のパターンを分類し
、出力文字列記憶部7に書き加える。本例文の場合、パ
ターン(1)(:副詞「その後」十体言単独「挨拶」)
と、パターン(2)(・連体詞「その」十尊敬の接頭語
「御」十体言単独「挨拶」)の文節パターンに分類され
る。ステップ(ニ)の段階においての出力文字列記憶部
7の内容を第4図(b)に示す。ステップ〈ホ)で、複
数個文節パターン評価テーブルのうち指定された使用モ
ードの文節パターン評価テーブルを用意する。本例では
手紙文モードの評価テーブルがそれに当たる。第5図(
a)に手紙文モードの文節パターン評価テーブルの内容
を示す。なお、ユーザが特に指定しなければ評価テーブ
ルは第5図(b)に示す通常の評価テーブル5(b)を
使用する。ステップ(へ)では、全ての文節に対し評価
が決定したかすなわち出力文字列記憶部7の評価値が全
て与えられたかを判断する。全ての文節の評価値が決定
されていればステップ(す)へ、そうでなければステッ
プ(ト)へ進む。ステップ(ト)で、仮名漢字変換制御
部6は第5図(a)に示すような評価テーブルを参照し
て評価文節の評価値を決定し、まだ評価値が与えられて
いない出力仮名列記憶部7にある変換候補の文節に評価
値を与える。本例の場合、文節のパターンが「尊敬の接
頭語士体言単独」であれば、手紙文モード用評価テーブ
ルを参照し文節パターン「尊敬の接頭語士体言単独」の
評価値4を出力文字列記憶部の[文節No、 2 、表
記「御挨拶」]の評価値として書き込む。 以後全ての
文節に評価値が与えられるまでステップ(へ)〜(ト)
を繰り返していく。本例文の場合の全文節に対する評価
が終わった時点での出力文字列記憶部の内容を第4図(
c)に示す。ステップ(チ)では仮名漢字変換制御部6
が出力仮名列記憶部7(文節パターン評価テーブル4)
を参照して最も評価値の高い文節パターンをもつ文節を
見つけだし、ひらがな列に対する表記として出力手段8
に出力する。すなわち本例では、変換候補漢字仮名混じ
り列「その後挨拶」としての評価値は文節「その後J「
挨拶」それぞれの評価値の和で求められる。同様に変換
候補「その御挨拶」に対しても評価値を与え、ひらがな
列「そのごあいさつ」に対する変換結果として最も評価
値の高い「その御挨拶」が現在の使用モードすなわち手
紙文モードにおける最適変換結果として選択されること
になる。
First, in step (a), when a kana string is input from the input means, the input section sends the contents to the kana-kanji conversion control section and instructs conversion into a sentence containing kanji and kana. For example, when the next kana string "Greetings" is input from the input means, the above kana string is stored in the input kana string storage section 2. Next, when the conversion key is input from the input means 1, the process proceeds to step (b), where the kana-kanji conversion control unit 6 receives the conversion instruction from the input means 1, searches the word dictionary 3, and converts the phrases and phrases corresponding to the input. We will decide the boundaries between. In the case of the example sentence, the kana-kanji conversion control unit 6 first breaks down the input sentence into clause units: (1) "Sonogo/Greetings J" (2) "Sono/Go/Greetings". Furthermore, in step (c), the kana-kanji conversion control unit 6 writes candidates for each clause that has just been decomposed into the output character string storage unit 7. The contents of the output character string storage section 7 at step (c) are shown in FIG. 4(a). Subsequently, in step (d), the phrase pattern classification section 5 refers to the output character string storage section 7, classifies the phrase patterns, and writes them into the output character string storage section 7. In the case of this example sentence, pattern (1) (: adverb "after" ten words alone "greeting")
It is classified as a bunsetsu pattern of pattern (2) (-adnominal ``sono'', prefix ``go'', ``ju-respect'', ``greeting'' alone). The contents of the output character string storage section 7 at the stage of step (d) are shown in FIG. 4(b). In step <E), a clause pattern evaluation table of the specified usage mode is prepared among the plural clause pattern evaluation tables. In this example, this is the evaluation table for letter text mode. Figure 5 (
Figure a) shows the contents of the clause pattern evaluation table in letter mode. Note that unless the user specifies otherwise, the normal evaluation table 5(b) shown in FIG. 5(b) is used as the evaluation table. In step (v), it is determined whether evaluations have been determined for all clauses, that is, whether all evaluation values in the output character string storage section 7 have been given. If the evaluation values of all clauses have been determined, proceed to step (S); otherwise, proceed to step (G). In step (g), the kana-kanji conversion control unit 6 determines the evaluation value of the evaluation clause by referring to the evaluation table as shown in FIG. An evaluation value is given to the conversion candidate phrase in section 7. In this example, if the phrase pattern is ``respected prefix master's formal expression alone'', the evaluation table for letter mode is referred to and the evaluation value 4 of the phrase pattern ``respected prefix master formal expression alone'' is output as a character string. Write it as the evaluation value of [Phrase No. 2, notation "Greetings"] in the storage section. From then on, repeat steps (to) to (g) until all clauses are given evaluation values.
Repeat. Figure 4 (
Shown in c). In step (ch), the kana-kanji conversion control unit 6
is the output kana string storage unit 7 (Phrase pattern evaluation table 4)
The phrase with the phrase pattern with the highest evaluation value is found by referring to , and the output means 8 outputs it as a notation for the hiragana string.
Output to. In other words, in this example, the evaluation value for the conversion candidate kanji/kana mixed string "Greetings afterwards" is the phrase "Afterwards J"
"Greetings" is determined by the sum of the evaluation values for each. Similarly, an evaluation value is given to the conversion candidate "Sono-Greetings", and "Sono-Greetings" with the highest evaluation value as a conversion result for the hiragana string "Sono-Greetings" is the best one for the current usage mode, that is, letter mode. It will be selected as a result of conversion.

[発明の効果J 以上のように、本発明は文節都文節との接続の文法的な
確からしさを示すデータを分野毎に記憶した文節パター
ン評価テーブル使用モード毎の文節のパターンの評価テ
ーブルを用いて入力された間データに対応する漢字デー
タの優先度を決定するようにしたので変換効率の優れた
仮名漢字変換装置を提供することができる。
[Effect of the Invention J As described above, the present invention uses a clause pattern evaluation table for each use mode, which stores data indicating the grammatical certainty of the connection between bunsetsu and bunsetsu for each field. Since the priority of the kanji data corresponding to the input data is determined, it is possible to provide a kana-kanji conversion device with excellent conversion efficiency.

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

第1図は不発明の一実施例における仮名漢字変換装置の
機能ブロック図、第2図は同装置の回路ブロック図、第
3図は本実施例の制御手順を示すフローチャート、第4
図(a)、(b)、(C)は各々出力文字列記憶部7の
内容を示す図、第5図(a)、(b)は各々文節パター
ン接続テーブルを示した図である。 1・・・入力手段、2・・・入力仮名列記憶部、3・・
・単語辞書、4・・・文節パターン評価テーブル、5・
・・文節パターン分類部、6・・・仮名漢字変換制御部
、7・・・出力仮名列記憶部、8・・・出力手段代理人
の氏名 弁理士 粟野重孝 ほか1名第 図 第 図 〈1紙℃ 1゛〉
FIG. 1 is a functional block diagram of a kana-kanji conversion device according to an embodiment of the invention, FIG. 2 is a circuit block diagram of the same device, FIG. 3 is a flowchart showing the control procedure of this embodiment, and FIG.
5A, 5B, and 5C are diagrams each showing the contents of the output character string storage section 7, and FIGS. 5A and 5B are diagrams each showing a clause pattern connection table. 1... Input means, 2... Input kana string storage section, 3...
・Word dictionary, 4...Bunsetsu pattern evaluation table, 5・
... Clause pattern classification unit, 6... Kana-kanji conversion control unit, 7... Output kana string storage unit, 8... Name of output means agent Patent attorney Shigetaka Awano and one other person Figure 1 Paper ℃ 1゛〉

Claims (1)

【特許請求の範囲】 仮名データを入力する入力手段と、 前記入力手段より入力された仮名データを記憶する記憶
手段と、 単語を構成する仮名データを見出しとして対応する漢字
データ及び文法データを記憶した辞書と、文節と文節と
の接続の文法的な確からしさを示すデータを分野毎に記
憶した文節パターン評価テーブルと、 分野を指定する指定手段と、 前記指定手段によって指定された分野に対応する前記文
節パターン評価テーブルを用いて前記記憶手段に記憶さ
れた仮名データに対応する漢字データの優先度を決定す
る手段と、を備えたことを特徴とする仮名漢字変換装置
[Scope of Claims] An input means for inputting kana data, a storage means for storing the kana data inputted from the input means, and kanji data and grammar data corresponding to the kana data constituting a word as headings. a dictionary, a clause pattern evaluation table storing data indicating the grammatical certainty of connections between clauses for each field; a specification means for specifying a domain; A kana-kanji conversion device comprising means for determining the priority of kanji data corresponding to kana data stored in the storage means using a phrase pattern evaluation table.
JP2101302A 1990-04-17 1990-04-17 Kana-kanji conversion device Pending JPH04552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2101302A JPH04552A (en) 1990-04-17 1990-04-17 Kana-kanji conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2101302A JPH04552A (en) 1990-04-17 1990-04-17 Kana-kanji conversion device

Publications (1)

Publication Number Publication Date
JPH04552A true JPH04552A (en) 1992-01-06

Family

ID=14297020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2101302A Pending JPH04552A (en) 1990-04-17 1990-04-17 Kana-kanji conversion device

Country Status (1)

Country Link
JP (1) JPH04552A (en)

Similar Documents

Publication Publication Date Title
CN111581991A (en) A Chinese-Blind Translation Method and System Based on End-to-End Neural Machine Translation
JPH04552A (en) Kana-kanji conversion device
JPS59200331A (en) Word processor device
JPS60247770A (en) Character processor
JPS62242272A (en) End-of-sentence expression unification device for word processors
JPH0350668A (en) character processing device
JPS60112175A (en) Abbreviation conversion system of kana (japanese syllabary)/kanji (chinese character) convertor
JPH04162098A (en) Regular voice synthesizing device
JPS6365566A (en) &#39;kana&#39; to &#39;kanji&#39; converter
JPS59153232A (en) Character converter
JP3084864B2 (en) Text input device
JP2899087B2 (en) Character processor
JPH0421901B2 (en)
JPH03118659A (en) Kana-kanji conversion device
JPH0350669A (en) information processing equipment
JPS63255767A (en) Japanese-language word processor
JPS6246030B2 (en)
JPH03229353A (en) Kana/kanji converter
Frazer Variation in an English dialect: A sociolinguistic study. By Jenny Cheshire.(Cambridge studies in linguistics, 37.) Cambridge: University Press, 1982. Pp. x, 142. $29.50.
JPH0392957A (en) Kana/kanji converting device
JPS629464A (en) Japanese language processing device
JPS60217452A (en) Japanese word input processing unit
JPH0421063A (en) natural language processing device
JPS6024630A (en) Forming system of &#34;kana&#34; character string provided with control information
JPH06110876A (en) Japanese input method