JPH03118659A - Kana/kanji converter - Google Patents

Kana/kanji converter

Info

Publication number
JPH03118659A
JPH03118659A JP1255627A JP25562789A JPH03118659A JP H03118659 A JPH03118659 A JP H03118659A JP 1255627 A JP1255627 A JP 1255627A JP 25562789 A JP25562789 A JP 25562789A JP H03118659 A JPH03118659 A JP H03118659A
Authority
JP
Japan
Prior art keywords
kana
kanji
input
character
word
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
JP1255627A
Other languages
Japanese (ja)
Inventor
Junzo Ikuta
淳三 生田
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 JP1255627A priority Critical patent/JPH03118659A/en
Publication of JPH03118659A publication Critical patent/JPH03118659A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To reduce the possibility of misconversion by outputting the KANJI (Chinese character) candidates of higher preference ranks in terms of the connecting relation with the character string set right before the inserting position of the KANA (Japanese syllabary) data. CONSTITUTION:When a KANA/KANJI conversion key of an input means is pushed after the end of input of KANA, an editing control part 3 sends an instruction to a KANA/KANJI conversion control part 7. Thus the KANA/ KANJI conversion is applied to the KANA character strings stored in an input KANA train storage part 2. The part 7 performs this conversion operation by reference to the grammar information stored in a pre-contact grammar information storage part 6, an inter-part-of-speech table 4, and a word dictionary 5. At the same time, a word which is corrected by the several head characters of the input KANA train is retrieved out of the dictionary 5. Thus the first word candidate is obtained. Then it is decided whether each candidate can be connected to a pre-contact word or not by reference to the table 4 and the part 6. Then the KANA/KANJI conversion operations are successively carried out. As a result, the candidates of KANJI-KANA mixture sentences are obtained.

Description

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

従来の技術 近年、仮名漢字変換装置は、日本語を入力するために用
いられる装置として、日本語ワード・プロセッサを初め
として各種の日本語処理装置に広く用いられている。
2. Description of the Related Art In recent years, kana-kanji conversion devices have been widely used in various Japanese language processing devices, including Japanese word processors, as devices for inputting Japanese characters.

従来の仮名漢字変換装置は、入力された仮名列を仮名漢
字混じり列に変換する機能を有している。
A conventional kana-kanji conversion device has a function of converting an input kana string into a kana-kanji mixed string.

例えば、次の仮名列 わたしはかいしゃへいく。For example, the following kana column I'm going to the cafe.

を入力すると、 私は会社へ行く。If you enter I'm going to work.

と変換を行うことができる。また、日本語ワードプロセ
ッサでは、仮名漢字変換装置を使用して入力された文書
に対し編集機能を用いて、更に仮名漢字変換装置を使用
することによって加筆修正を行い、更に洗練された文書
に類似した別の文書を効率よく作成したシすることがで
きる。例えば、さきに示した例において、「会」の位置
に文字カ−ツルを合わせ、 くるまで と入力を行って仮名漢字変換を行うことによシ私は車で
会社へ行く。
You can perform the conversion with In addition, Japanese word processors use the editing function for documents input using a kana-kanji converter, and then use the kana-kanji converter to make additions and corrections, creating a document similar to a more sophisticated one. You can create and edit other documents efficiently. For example, in the example shown above, by moving the character cursor to the position of ``kai'' and inputting ``kuruma'' to perform kana-kanji conversion, I drive to work.

と加筆修正することができる。You can make additions and corrections.

発明が解決しようとする課題 しかしながら、従来の仮名漢字変換装置は文節単位を基
本とした入力方式をとっておシ、特に、入力文字列の先
頭は自立語でなければ適当な変換結果を得ることはでき
ない。例えば、既に先の例に示したような文章が入力さ
れているとする。
Problems to be Solved by the Invention However, conventional kana-kanji conversion devices use an input method based on phrase units, and in particular, it is difficult to obtain appropriate conversion results unless the beginning of the input string is an independent word. I can't. For example, assume that a sentence like the one shown in the previous example has already been input.

私は車で会社へ行く。I go to work by car.

この文章を更に修正し、「私と課長で会社へ行く。」と
変えたいとする。このときユーザが行う編集操作の一例
として、「ば」に文字カーソルを合わせ、とかちょう と入力し、仮名漢字変換を行うとする。ところが従来の
仮名漢字変換は文節単位の入力を基本としているから、
カーソル位置に何が入力されているかにかかわらず「と
がちょう」という文字列に対して仮名漢字変換装置は、
例えば「渡河鳥」という変換結果を出力する。従って、
全体の文章としては 私渡河鳥は車で会社へ行く。
Suppose you want to further modify this sentence and change it to ``The manager and I are going to the office.'' As an example of the editing operation performed by the user at this time, assume that the user places the character cursor on "ba" and inputs "tokacho" to perform kana-kanji conversion. However, since conventional kana-kanji conversion is based on inputting phrases,
Regardless of what is input at the cursor position, the Kana-Kanji conversion device will
For example, a conversion result of "wading bird" is output. Therefore,
The overall sentence is: I, a wading bird, go to work by car.

となってしまい、ユーザの意図しない変換結果を招いて
しまう。
This results in conversion results that are not intended by the user.

課題を解決するための手段 この課題を解決するために本発明は、ある文字列と他の
文字列との接続関係の優先度を記憶した接続テーブルと
、仮名漢字混じ9文中の文字を挿入すべく指示された位
置の直前の文字板と挿入すべき文字列として入力された
仮名データに対応する複数の漢字候補との接続関係の優
先度の高いものを出力する手段とで構成される。
Means for Solving the Problem In order to solve this problem, the present invention uses a connection table that stores the priority of the connection relationship between a certain character string and another character string, and inserts characters in 9 sentences including kana and kanji. It is composed of a means for outputting a character board with a high priority in connection relationship with a plurality of kanji candidates corresponding to the kana data inputted as a character string to be inserted and the dial board immediately before the position specified to be inserted.

作  用 この構成において、挿入すべき仮名データを漢字に変換
する際、その仮名データの挿入位置の直前の文字列との
接続関係において、優先度の高い漢字候補が出力される
Effect: In this configuration, when converting kana data to be inserted into kanji, a kanji candidate with a high priority is output in terms of the connection relationship with the character string immediately before the insertion position of the kana data.

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

第1図は本発明の一実施例におけるかな漢字変換装置の
機能ブロック図であシ、1は仮名列の入力及び編集操作
を行うだめの入力手段、2は入力手段1より入力された
仮名列を記憶する入力仮名列記憶部、3は文書編集作業
の制御を行う編集制御部、4は各品詞属性を持つ単語間
の文法的な接続の可否を記した品詞間接続テープlし、
6は単語の読みと漢字表記と品詞情報とを対にして記憶
している単語辞書、6は指定された文法情報を記憶する
前接文法情報記憶部、7は品詞間接続テーフ/I/4お
よび前接文法情報記憶部6に記憶された文法情報を参照
しながら単語辞書5を検案して入力仮名列記憶部2に記
憶された仮名列を漢字仮名混じり列に変換する仮名漢字
変換制御部、8は仮名漢字変換制御部7が変換した結果
を1頃次格納していく文書バッファ、9は仮名漢字変換
制御部から出力された漢字仮名混じり列を記憶する出力
文字列記憶部、10は出力文字列記憶部に記憶された漢
字仮名混じ9列を表示する表示手段である。
FIG. 1 is a functional block diagram of a kana-kanji conversion device according to an embodiment of the present invention, in which 1 is an input means for inputting and editing a kana string, and 2 is an input means for inputting a kana string input from the input means 1. 3 is an editing control unit that controls document editing work; 4 is a part-of-speech connection tape that records whether or not words with each part-of-speech attribute can be grammatically connected;
6 is a word dictionary that stores word pronunciations, kanji notations, and part-of-speech information in pairs; 6 is a prefix grammar information storage unit that stores designated grammatical information; 7 is a part-of-speech connection Tef/I/4 and a kana-kanji conversion control unit which examines the word dictionary 5 while referring to the grammatical information stored in the prefix grammar information storage unit 6 and converts the kana string stored in the input kana string storage unit 2 into a kanji-kana mixed string. , 8 is a document buffer that stores the result of conversion by the kana-kanji conversion control unit 7, 9 is an output character string storage unit that stores the kanji-kana mixed string output from the kana-kanji conversion control unit, and 10 is a document buffer that stores the result of conversion by the kana-kanji conversion control unit 7. This is a display means for displaying nine strings of mixed kanji and kana characters stored in the output character string storage section.

第2図は本実施例の仮名漢字変換装置の回路ブロック図
であり、11はキーボードであり、キーボード11には
仮名漢字変換を実行させる仮名漢字変換キー11a1文
章中の編集操作位置を示す文字カーソルを移動するため
文字カーソル移動キー11b、仮名文字等を入力する文
字入カキ−11cを備えており、12は中央処理装置(
以下、CPUと略称する。)、13は陰極線管デイスプ
レィ(以下、CRTデイスプレィと略称する。)、14
はリードオンリーメモリ(以下、ROMと略称する。)
、16はランダムアクセスメモリ(以下、RAMと略称
する。)である。
FIG. 2 is a circuit block diagram of the kana-kanji conversion device of this embodiment, in which 11 is a keyboard, the keyboard 11 includes kana-kanji conversion keys 11a1 for performing kana-kanji conversion, 1a character cursor for indicating the edit operation position in the text. It is equipped with a character cursor movement key 11b for moving the character cursor, a character input key 11c for inputting kana characters, etc., and 12 is a central processing unit (
Hereinafter, it will be abbreviated as CPU. ), 13 is a cathode ray tube display (hereinafter abbreviated as CRT display), 14
is read-only memory (hereinafter abbreviated as ROM).
, 16 is a random access memory (hereinafter abbreviated as RAM).

第1図に示した人力手段1はキーボード11により、入
力仮名列記憶部2.前接文法情報記憶部6、出力文字列
記憶部99文書バッフ18はRAM16により、品詞間
接続テープ)’v 4 *単語辞書5はROM14によ
り、編集制御部3.仮名漢字変換装置部子はCPU12
がROM14およびRAM16とデータのや沙とりを行
いながらROM14に記憶されたプログラムを実行する
ことにより、表示手段1oはCRTデイスプレィ13に
より実現されている。
The human power means 1 shown in FIG. The prefix grammar information storage unit 6, the output character string storage unit 99, the document buffer 18 are stored in the RAM 16, and the part-of-speech connection tape)'v 4 *The word dictionary 5 is stored in the ROM 14, edited by the editing control unit 3. Kana-kanji conversion device part is CPU12
The display means 1o is realized by the CRT display 13 by executing a program stored in the ROM 14 while exchanging data with the ROM 14 and the RAM 16.

上記のように構成された本実施例の仮名漢字変換装置に
ついて、以下この動作を第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.

第4図に示すように表示される文章を編集中において、
文書バッファ8は第5図に示すようなデータを含んでい
る。すなわち、文書データは各単語毎にその文法情報を
ベアにして記憶されており、また文節毎に区切りを持っ
ている。
While editing the text displayed as shown in Figure 4,
Document buffer 8 contains data as shown in FIG. That is, the document data is stored for each word with its grammatical information as bare information, and also has a break for each clause.

まずステップAで、ユーザが文字カーンル移動キー11
bを用いて「は」の位置の文字カーフルを合わせると、
編集制御部3はステップBで入力データが文字カーソル
移動キーであることを認識し、ステップCでは画面上の
カーフルの移動を行う。さらにステップDでは現在のカ
ーンル位置に前接している文法情報が「人称代名詞」で
あることを得、それを第6図に示すように前接文法情報
記憶部θに格納し、ステップAに戻る。
First, in step A, the user presses the character movement key 11.
If you use b to match the character curfew at the position of “ha”,
The editing control section 3 recognizes that the input data is a character cursor movement key in step B, and moves the cursor on the screen in step C. Furthermore, in step D, it is determined that the grammatical information preceding the current Kanle position is a "personal pronoun", and this is stored in the grammatical information storage section θ, as shown in FIG. 6, and the process returns to step A. .

さらにステップAでユーザが文字入カキ−11cを用い
て仮名文字、例えば「と」を1文字人力すると、編集制
御部3はステップEで入力データが仮名文字であること
を認識し、ステップFで入力された仮名文字を入力仮名
列記憶部2に「と」を追加登録する。この場合は入力の
最初であるから、「と」のみが入力仮名列記憶部2に格
納されている。また編集制御部2は同時に入力文字列記
憶部2の内容を出力文字列記憶部9に格納し、表示手段
1oに表示する。
Further, in step A, when the user inputs one kana character, for example, "to" using the character input key 11c, the editing control unit 3 recognizes that the input data is a kana character in step E, and in step F The input kana characters are additionally registered with "to" in the input kana string storage section 2. In this case, since it is the beginning of the input, only "to" is stored in the input kana string storage section 2. Also, the editing control section 2 simultaneously stores the contents of the input string storage section 2 in the output string storage section 9, and displays it on the display means 1o.

上記ステップA、E及びFを繰り返すことにより、入力
仮名列記憶部2に入力された仮名表記データ「とがちょ
う」が格納される。
By repeating steps A, E, and F above, the input kana notation data "Togachou" is stored in the input kana string storage section 2.

仮名の入力が終了した後、ステップAでユーザが仮名漢
字変換キー11aを押すと、編集制御部2はステップG
で仮名漢字変換キー11aが押されたことを認識し、ス
テップHで仮名漢字変換制御部7に入力仮名列記憶部2
に格納されている仮名文字列に対して仮名漢字変換を行
うことを指示する。仮名漢字変換制御部子は前接文法情
報記憶部6に格納されている文法情報1品詞間接続テー
ブル4及び単語辞書6を参照し、仮名漢字変換を行う。
After completing the input of kana, when the user presses the kana-kanji conversion key 11a in step A, the editing control unit 2 proceeds to step G.
It is recognized that the kana-kanji conversion key 11a has been pressed, and in step H the input kana string storage unit 2 is input to the kana-kanji conversion control unit 7.
Instructs to perform kana-kanji conversion on the kana character string stored in . The kana-kanji conversion control unit refers to the grammar information 1 part-of-speech connection table 4 stored in the prefix grammar information storage unit 6 and the word dictionary 6, and performs kana-kanji conversion.

第7図は一実施例の単語辞書の内容を示す図であり、各
単語の読み・表記・品詞が記憶されている。第8図は一
実施例の品詞間接続テーブルの内容を示す図であり、前
接単語と後接単語が文法的につながって1文節の構成要
素となシ得るかどうかが記述しである。図中、○は接続
可能であり、×は接続不可であることを示している。以
下、仮名漢字変換が文節数最小法に基づいて変換を行う
とする。「とかちょう」の入力に対しては、単語辞書6
から入力仮名列の最初の数文字で校正される単語を検索
し、第9図に示す第1単語の候補を得る。次に第8図の
品詞間接続テーブル及び第6図の前接文法情報記憶部を
参照し、各候補が前接の単語に接続可能かどうかを判定
する。その結果格助詞の「と」のみが1文節の構成要素
として前接の単語に接続可能なことがわかる。その後は
従来の手法によシ順次仮名漢字変換を行う。その結果第
10図に示すような漢字仮名混じり文の候補が考えられ
る。格助詞「と」の場合のみ、前接の文節に接続するか
ら、「と」の部分は文節数としては数えない。第10図
を見て明らかなように、表記が「と課長」で表わされる
候補の文節数が最小であり、仮名漢字変換の候補として
採用される。
FIG. 7 is a diagram showing the contents of a word dictionary according to an embodiment, in which the pronunciation, spelling, and part of speech of each word are stored. FIG. 8 is a diagram showing the contents of a part-of-speech connection table according to an embodiment, which describes whether a front word and a post-word are grammatically connected and can form a constituent element of one clause. In the figure, ◯ indicates that connection is possible, and × indicates that connection is not possible. In the following, it is assumed that the kana-kanji conversion is performed based on the method of minimizing the number of clauses. For input of "tokacho", word dictionary 6
A word that is corrected using the first few characters of the input kana string is searched for, and the first word candidate shown in FIG. 9 is obtained. Next, referring to the part-of-speech connection table shown in FIG. 8 and the prefix grammar information storage section shown in FIG. 6, it is determined whether each candidate can be connected to the prefix word. As a result, it can be seen that only the case particle "to" can be connected to the preceding word as a constituent element of a clause. After that, kana-kanji conversion is performed sequentially using the conventional method. As a result, candidates for sentences containing kanji and kana as shown in FIG. 10 can be considered. Only in the case of the case particle ``to'' is it connected to the preceding clause, so the ``to'' part is not counted as the number of clauses. As is clear from FIG. 10, the candidate whose notation is "to section chief" has the smallest number of clauses, and is adopted as a candidate for kana-kanji conversion.

従って第11図に示す文書の表示結果が得られる。Therefore, the document display result shown in FIG. 11 is obtained.

仮名漢字変換の方式が2文節最長一致法等の他の方法で
あっても同様に「と課長」を選択することができる。
Even if the kana-kanji conversion method is another method such as the two-clause longest match method, "to section chief" can be selected in the same way.

発明の詳細 な説明したように、本発明は、既に入力された仮名漢字
混じシ文中に、文字を挿入する際に、挿入位置の直前の
文字列と、入力された仮名に対応する複数の候補漢字の
各々との接続関係の優先度をテーブルによって参照し、
接続関係の優先度の高い候補漢字を出力するようにした
ので、誤変換の可能性が少ない仮名漢字変換装置を提供
することができる。
As described in detail, the present invention enables, when inserting a character into a sentence containing kana and kanji that has already been input, the character string immediately before the insertion position and a plurality of candidates corresponding to the input kana. Refer to the priority of connections with each kanji using a table,
Since candidate kanji with a high priority in connection relation are output, it is possible to provide a kana-kanji conversion device with less possibility of erroneous conversion.

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

第1図は本発明の一実施例における仮名漢字変換装置の
機能ブロック図、第2図は同装置回路ブロック図、第3
図は同処理フローチャート、第4図は表示される文書の
例を示す図、第5図は文書バッファ中のデータを示す図
、第6図は前接文法情報記憶部の内容を示す図、第7図
は単語辞書の内容を示す図、第8図は品詞間接線テーブ
ルの内容を示す図、第9図は入力仮名列の第1単語の候
補を示す図、第10図は変換後の漢字仮名混じり文とし
て考えられる候補を示す図、第11図は変換後に表示さ
れる文書の表示例を示す図である。
FIG. 1 is a functional block diagram of a kana-kanji conversion device according to an embodiment of the present invention, FIG. 2 is a circuit block diagram of the same device, and FIG.
4 is a diagram showing an example of a displayed document. FIG. 5 is a diagram showing data in the document buffer. FIG. 6 is a diagram showing the contents of the prefix grammar information storage unit. Figure 7 shows the contents of the word dictionary, Figure 8 shows the contents of the part-of-speech line table, Figure 9 shows the candidates for the first word in the input kana string, and Figure 10 shows the kanji after conversion. FIG. 11 is a diagram showing possible candidates for sentences containing kana, and FIG. 11 is a diagram showing an example of a document displayed after conversion.

Claims (1)

【特許請求の範囲】 入力された仮名データを仮名漢字混じり文に変換する変
換手段と、 前記変換手段によって変換された仮名漢字混じり文中へ
の文字列の挿入位置を指定する指定手段と、 ある文字列と他の文字列との接続関係の優先度を記憶し
た接続テーブルと、 前記接続テーブルを参照して前記指定手段によって指定
された挿入位置の直前の文字列と挿入すべき文字として
入力された仮名データに対応する複数の漢字候補の各々
との接続関係の優先度の高いものを出力する手段とを有
することを特徴とする仮名漢字変換装置。
[Scope of Claims] Conversion means for converting input kana data into a sentence containing kana and kanji; designation means for specifying the insertion position of a character string in the sentence containing kana and kanji converted by the conversion means; and a certain character. A connection table that stores the priorities of connection relationships between columns and other character strings, and a character string immediately before the insertion position specified by the specification means by referring to the connection table and the character input as the character to be inserted. 1. A kana-kanji conversion device comprising: means for outputting a candidate character having a high priority connection relationship with each of a plurality of kanji candidates corresponding to kana data.
JP1255627A 1989-09-29 1989-09-29 Kana/kanji converter Pending JPH03118659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1255627A JPH03118659A (en) 1989-09-29 1989-09-29 Kana/kanji converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1255627A JPH03118659A (en) 1989-09-29 1989-09-29 Kana/kanji converter

Publications (1)

Publication Number Publication Date
JPH03118659A true JPH03118659A (en) 1991-05-21

Family

ID=17281379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1255627A Pending JPH03118659A (en) 1989-09-29 1989-09-29 Kana/kanji converter

Country Status (1)

Country Link
JP (1) JPH03118659A (en)

Similar Documents

Publication Publication Date Title
JPS61166676A (en) Dictionary production system for character processor
JPH03118659A (en) Kana/kanji converter
US6327560B1 (en) Chinese character conversion apparatus with no need to input tone symbols
JPS5818730A (en) Character processing device
JPS60112175A (en) Abbreviation conversion system of kana (japanese syllabary)/kanji (chinese character) convertor
JPH1063651A (en) Chinese language input device
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JPH0350668A (en) Character processor
JPH11184854A (en) Electronic dictionary
JPH0414168A (en) Word processor
JP3084864B2 (en) Text input device
JPH0610804B2 (en) Kana-Kanji converter
JPH032960A (en) Kana/kanji converting device
JPS59106029A (en) Kana (japanese syllabary) kanji (chinese character) converter
JPH0414380B2 (en)
JPS63214872A (en) Kana/kanji conversion system
JPS61169961A (en) Character processor provided with user dictionary
JPH10198676A (en) Device and method for japanese morpheme analysis
JPH03256161A (en) Kana/kanji converter
JPH05342197A (en) Japanese word processor
JPH04552A (en) 'kana'/'kanji' converter
JPH08147282A (en) Device and method for kana/kanji conversion
JPH02289034A (en) Document producing device
JPS6258371A (en) Sentence producing device
JPH08241315A (en) Word registering mechanism for document processor