Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3150328B2 - Kana-Kanji conversion device - Google Patents
[go: Go Back, main page]

JP3150328B2 - Kana-Kanji conversion device - Google Patents

Kana-Kanji conversion device

Info

Publication number
JP3150328B2
JP3150328B2 JP22238990A JP22238990A JP3150328B2 JP 3150328 B2 JP3150328 B2 JP 3150328B2 JP 22238990 A JP22238990 A JP 22238990A JP 22238990 A JP22238990 A JP 22238990A JP 3150328 B2 JP3150328 B2 JP 3150328B2
Authority
JP
Japan
Prior art keywords
kana
phrase
failed
conversion
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
Application number
JP22238990A
Other languages
Japanese (ja)
Other versions
JPH04105161A (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.)
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 JP22238990A priority Critical patent/JP3150328B2/en
Publication of JPH04105161A publication Critical patent/JPH04105161A/en
Application granted granted Critical
Publication of JP3150328B2 publication Critical patent/JP3150328B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、かな入力された文字列をかな漢字混じり列
に変換するかな漢字変換装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to a kana-kanji conversion device for converting a kana-input character string into a kana-kanji mixed string.

(従来の技術) 近年、かな漢字変換装置は日本語入力装置として、日
本語ワード・プロセッサを初めとして各種の日本語処理
装置に広く用いられている。
(Related Art) In recent years, a kana-kanji conversion device has been widely used as a Japanese input device in various Japanese processing devices such as a Japanese word processor.

従来のかな漢字変換装置は、入力されたかな列をかな
漢字混じり列に変換するために用いられ、例えば、「き
ょうのてんきははれです。」と入力すると、「今日の天
気は晴れです。」と変換を行うことができる。
The conventional Kana-Kanji conversion device is used to convert an input Kana-kanji into a Kana-Kanji-mixed row. For example, if you enter "Today's Tenkihare.", "Today's weather is fine." Conversion can be performed.

(発明が解決しようとする課題) 従来のかな漢字変換装置は、未登録語の入力によって
かな漢字変換が失敗しても、その失敗部分をそのまま失
敗とし、失敗部分の次の文字からまた変換を続行すると
いう問題点があった。
(Problems to be Solved by the Invention) Even if Kana-Kanji conversion fails due to input of an unregistered word, the conventional Kana-Kanji conversion device regards the failed part as it is, and continues the conversion again from the character following the failed part. There was a problem.

例えば、かな列「こんぱいらはねいてぃぶこーどをし
ゅつりょくする。」を入力し、変換を行うとすると、単
語「ネイティブコード」を未登録語とすれば、従来のか
な漢字変換装置では、一例として「コンパイラは値医手
ぃ部コードを出力する。」と変換してしまう。これは
「ぃ」の位置で変換に失敗しているにもかかわらずその
前後の変換結果をそのまま表示しているからである。し
たがって従来のかな漢字変換装置では変換が内部的に失
敗したときにユーザに見苦しい変換結果を与えることに
なる。
For example, if you enter the kana sequence "Complete the connection" and convert it, if the word "native code" is an unregistered word, the traditional Kana-Kanji conversion In the apparatus, for example, the conversion is performed as “the compiler outputs the value medical unit code”. This is because, even though the conversion has failed at the position of “ぃ”, the conversion results before and after the conversion are displayed as they are. Therefore, the conventional kana-kanji conversion apparatus gives an unsightly conversion result to the user when conversion internally fails.

また、文節の特徴を参照して「を」までを文節として
変換する方法もあるが、その手法のみでは、例えば「ね
いてぃぶこーどせいせいをおこなう」というような、か
な列に対しては、「ネイティブコードセイセイを行う」
という変換結果になる欠点を有している。
There is also a method of converting up to "" as a phrase by referring to the characteristics of the phrase, but with that method alone, for example, for a kana column such as "perform neitebu-ko-dosei" Says, "Do native code analysis"
Has the disadvantage of resulting in the conversion result.

本発明は上述の従来の問題点を解決したかな漢字変換
装置の提供を目的とする。
An object of the present invention is to provide a kana-kanji conversion device that solves the above-mentioned conventional problems.

(課題を解決するための手段) 上記の目的を達成するため本発明は、仮名データを見
出しとして対応する漢字データを記憶した辞書と、仮名
データを入力する入力手段と、この入力手段から入力さ
れた仮名データを先頭から順次辞書で検索して、かな漢
字変換するかな漢字変換手段と、辞書で検索したとき
に、自立語の読みの先頭になり得ない仮名文字が先頭に
ある場合には、当該仮名データを含む文節を検出する検
出手段と、この検出手段により検出された文節の仮名デ
ータを所定の規則に従って片仮名データに変換して出力
する出力手段と、この出力手段から出力された片仮名デ
ータを辞書に登録する手段とを備えている。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides a dictionary in which kana data is stored as a heading and corresponding kanji data, input means for inputting kana data, and input data from the input means. Kana-kanji conversion means to search the kana data sequentially from the top of the dictionary and convert it to kana-kanji characters. If the kana-kanji character that cannot be the top of independent word reading is found at the top when searching in the dictionary, the kana Detecting means for detecting a phrase including data, output means for converting kana data of the phrase detected by the detecting means into katakana data in accordance with a predetermined rule and outputting the data, and dictionary for outputting katakana data output from the output means Means for registering the information.

(作 用) 本発明によれば、入力手段から入力された仮名データ
を先頭から順次辞書で検索して、かな漢字変換手段でか
な漢字変換する過程で、自立語の読みの先頭になり得な
い仮名文字が先頭にあって、かな漢字変換に失敗した場
合には、当該仮名データを含む文節を検出した上、所定
の規則に従って片仮名データに変換するため、仮名デー
タの片仮名データへの変換が簡単,確実且つ迅速に行え
ると共に、かな漢字変換に失敗した仮名データを含む文
節が片仮名データに変換されたときには、この片仮名デ
ータが辞書に自動的に登録されるので、次回からの仮名
データの片仮名データへの変換効率が一層向上する。
(Operation) According to the present invention, in the process of sequentially searching the kana data input from the input means in a dictionary from the beginning and converting the kana to kanji by the kana-kanji conversion means, the kana character which cannot be the head of the independent word reading Is at the beginning and if kana-kanji conversion fails, the phrase containing the kana data is detected and converted to katakana data according to a predetermined rule, so that the conversion of kana data to katakana data is simple, reliable, and easy. When the kana-kana data is converted to katakana data, the kana-kana data is automatically registered in the dictionary. Is further improved.

(実施例) 以下、本発明を図面を参照しながら実施例により説明
する。
(Examples) Hereinafter, the present invention will be described by examples with reference to the drawings.

第1図は本発明のかな漢字変換装置の一実施例の機能
ブロック図で、1はかな列の入力、そのかな漢字混じり
列への変換指示の手段、および変換結果の採否の指示の
手段を含む入力手段、2は入力手段1から入力されたか
な列を記憶する入力かな列記憶部、3はかな漢字変換制
御部、4はかな漢字変換を行うために参照され、また、
かな漢字変換制御部3からの指示で単語を新しく登録で
きるかな漢字変換辞書、5は前記入力かな列記憶部2に
記憶されたかな列を前記かな漢字変換辞書4を参照しな
がらかな漢字混じりの文節に変換し、さらに解析失敗を
生じたときには解析失敗を前記かな漢字変換制御部3に
通知するかな漢字変換実行部、6は前記かな漢字変換制
御部3から出力された文節の列を記憶する出力文節記憶
部、7はかな漢字変換が失敗したときに、失敗文節の開
始位置を決定する規則を記憶した失敗文節開始位置決定
ルール、8は前記失敗文節開始位置決定ルール7、およ
び前記出力文節記憶部6を参照しながら、前記かな漢字
変換実行部5が解析を失敗した位置に前接する文節を検
索し、失敗文節の開始位置を決定する失敗文節開始位置
決定処理部、9はかな漢字変換が失敗したときに失敗文
節の終了位置を決定する規則を記憶した失敗文節終了位
置決定ルール、10は前記失敗文節終了位置決定ルール9
及び前記入力かな列記憶部2を参照しながら、前記かな
漢字変換実行部5が解析を失敗した位置に後接する文字
列を検索し、失敗文節の終了位置を決定する失敗文節終
了位置決定処理部である。また、11はかな漢字変換が失
敗したときに失敗文節の表示内容を決定する規則を記憶
した失敗文節決定ルール、12は前記失敗文節決定ルール
11及び前記入力かな列記憶部2を参照しながら、失敗文
節の表示内容を決定する失敗文節決定処理部、13は前記
出力文節記憶部6に記憶された文節の列をかな漢字混じ
り文にして表示する表示手段である。前記かな漢字変換
制御部3はかな漢字変換の実行をかな漢字変換実行部5
に指示し、それから解析失敗の通知があった場合は失敗
文節開始位置決定処理部8、および失敗文節終了位置決
定処理部10、および失敗文節決定処理部12を起動するこ
とによって、失敗文節を決定し、その後のかな列に対し
てさらにかな漢字変換実行部5にかな漢字変換の実行を
指示し、それが出力した文節および失敗文節を出力文節
記憶部6に記憶し、失敗文節決定処理部12が生成した文
節が入力手段1により採用された場合は、その文節の単
語を自動的にかな漢字変換辞書4に登録する。
FIG. 1 is a functional block diagram of an embodiment of a kana-kanji conversion apparatus according to the present invention. Means 2 is an input kana column storage unit for storing a kana sequence input from the input unit 1, 3 is a kana-kanji conversion control unit, 4 is referred to for performing kana-kanji conversion, and
The kana-kanji conversion dictionary 5 is capable of newly registering a word according to an instruction from the kana-kanji conversion control unit 3. The kana-kanji conversion dictionary 5 converts kana strings stored in the input kana-string storage unit 2 into kana-kanji mixed phrases while referring to the kana-kanji conversion dictionary 4. A kana-kanji conversion control section 3 for notifying the kana-kanji conversion control section 3 of an analysis failure when an analysis failure has occurred; an output phrase storage section 6 for storing a sequence of phrases output from the kana-kanji conversion control section 3; When the kana-kanji conversion fails, a failed phrase start position determination rule storing rules for determining the start position of a failed phrase, 8 refers to the failed phrase start position determination rule 7 and the output phrase storage unit 6, A failed phrase start position determination processing unit 9 for searching for a phrase in front of the position where the Kana-Kanji conversion execution unit 5 failed to analyze and determining a start position of the failed phrase, 9 A failure clause end position determination rule storing rules kanji conversion determines the end position of the failed clause upon failure, 10 the failure clause end position decision rule 9
A failed phrase end position determination processing unit that searches for a character string that follows the position at which the kana-kanji conversion execution unit 5 failed to analyze while referring to the input kana sequence storage unit 2 and determines the end position of the failed phrase. is there. Further, 11 is a failed phrase determination rule storing rules for determining the display content of a failed phrase when the kana-kanji conversion fails, and 12 is the failed phrase determination rule.
A failed phrase determination processing unit 13 for determining the display content of the failed phrase with reference to 11 and the input kana sequence storage unit 2. The failed phrase determination processing unit 13 displays the sequence of the phrases stored in the output phrase storage unit 6 as a kana-kanji mixed sentence. It is a display means to perform. The Kana-Kanji conversion control unit 3 executes the Kana-Kanji conversion execution unit 5
When the analysis is notified, the failed phrase start position determination processing unit 8, the failed phrase end position determination processing unit 10, and the failed phrase determination processing unit 12 are activated to determine the failed phrase. The kana-kanji conversion execution unit 5 then instructs the kana-kanji conversion execution unit 5 to execute kana-kanji conversion, and stores the phrase output by the kana-kanji conversion unit and the failed phrase in the output phrase storage unit 6, and generates the failed phrase determination processing unit 12. When the selected phrase is adopted by the input means 1, the word of the phrase is automatically registered in the kana-kanji conversion dictionary 4.

本発明は機能的には上述のように構成され、構造的に
はつぎのようになされている。
The present invention is functionally configured as described above, and structurally as follows.

すなわち、第2図は本実施例のかな漢字変換装置の回
路ブロック図であり、14はキーボード、15はCPU(中央
処理装置)、16はCRTディスプレイ、17はROM(リードオ
ンリーメモリ)、18はRAM(ランダムアクセスメモリ)
である。
That is, FIG. 2 is a circuit block diagram of the kana-kanji conversion device of the present embodiment, 14 is a keyboard, 15 is a CPU (central processing unit), 16 is a CRT display, 17 is a ROM (read only memory), and 18 is a RAM. (Random access memory)
It is.

第1図に示した入力手段1は、キーボード14により、
入力かな列記憶部2,出力文節記憶部6はRAM18により、
かな漢字変換辞書4,失敗文節開始位置決定ルール7,失敗
文節終了位置決定ルール9,失敗文節決定ルール11はROM1
7により、かな漢字変換制御部3,かな漢字変換実行部5,
失敗文節開始位置決定処理部8,失敗文節終了位置決定処
理部10,失敗文節決定処理部12はCPU15がROM17およびRAM
18とデータの授受を行ないながらROM17に記憶されたプ
ログラムを実行することにより、表示手段13はCRTディ
スプレイ16により実現されている。
The input means 1 shown in FIG.
The input kana column storage unit 2 and the output phrase storage unit 6
Kana-Kanji conversion dictionary 4, failed phrase start position determination rule 7, failed phrase end position determination rule 9, failed phrase determination rule 11 ROM1
7, Kana-Kanji conversion control unit 3, Kana-Kanji conversion execution unit 5,
The failed phrase start position determination processing unit 8, the failed phrase end position determination processing unit 10, and the failed phrase determination processing unit 12
The display means 13 is realized by the CRT display 16 by executing a program stored in the ROM 17 while exchanging data with 18.

上記のように構成された本実施例のかな漢字変換装置
の動作を第3図のフローチャートに基づき説明する。例
として先ほど挙げた「こんぱいらはねいてぃぶこーどを
しゅつりょくする」を入力するものとする。
The operation of the kana-kanji conversion device of the present embodiment configured as described above will be described with reference to the flowchart of FIG. As an example, it is assumed that “compilation” is input.

まず、ステップ(以下Sと記す)1で入力手段1によ
りかな文字列「こんぱいらはねいてぃぶこーどをしゅつ
りょくする」が入力され、入力されたかな文字列が入力
かな列記憶部2に記憶される。更にS2で入力手段1によ
り変換指示が発せられ、S3に進み、かな漢字変換制御部
3は変換を行っていないかな文字列があるかどうかを判
定する。未変換かな文字列がある場合はS4に、そうでな
い場合は変換がすべて終了しているからS10に進む。こ
こではまだ変換は行われていないからS4へ進む。
First, in step (hereinafter referred to as S) 1, a kana character string “compilation” is input by the input means 1, and the input kana character string is an input kana string. It is stored in the storage unit 2. Further, in S2, a conversion instruction is issued by the input means 1, and the process proceeds to S3, where the Kana-Kanji conversion control unit 3 determines whether or not there is a Kana character string that has not been converted. If there is an unconverted kana character string, go to S4. Otherwise, go to S10 because the conversion has been completed. Here, since the conversion has not been performed yet, the process proceeds to S4.

さて、S4ではかな漢字変換制御部3はかな漢字変換実
行部5に、まだかな漢字変換を行っていないかな文字列
を1文節だけ変換するよう指示し、かな漢字変換実行部
5は1文節のかな漢字変換を実行する。例文では「コン
パイラは」という文節が生成される。次にS5に進み、か
な漢字変換実行部5が変換に成功したかどうかを判定す
る。変換に成功していれば変換に成功した文節を出力文
節記憶部6に出力し、S9に進む。変換に失敗しておれば
S6に進む。変換は成功しているから、文節「コンパイラ
は」が出力される。
In S4, the kana-kanji conversion control unit 3 instructs the kana-kanji conversion execution unit 5 to convert only one kana-kanji character string that has not yet been subjected to kana-kanji conversion, and the kana-kanji conversion execution unit 5 executes the kana-kanji conversion of one phrase. I do. In the example sentence, a clause "Compiler is" is generated. Next, the process proceeds to S5, where it is determined whether the kana-kanji conversion execution unit 5 succeeds in the conversion. If the conversion is successful, the phrase that has been successfully converted is output to the output phrase storage unit 6, and the process proceeds to S9. If conversion failed
Go to S6. Since the conversion was successful, the clause "Compiler is" is output.

S9では出力された文節「コンパイラは」を出力文節記
憶部6に格納し、S3へと戻る。このときの出力文節記憶
部6の内容を第4図に示す。
In S9, the output phrase "compiler" is stored in the output phrase storage unit 6, and the process returns to S3. FIG. 4 shows the contents of the output clause storage unit 6 at this time.

つぎにS3で変換を行っていないかな文字列があるかど
うか判定する。「ねいてぃぶこーどをしゅつりょくす
る」の変換が終わっていないからS4に進み「値」が出力
され、S5で変換成功と判定されS9へ進み「値」が記憶さ
れS3に戻る。このときの出力文節記憶部6の内容は第5
図に示す。
Next, in S3, it is determined whether there is a character string that has not been converted. Since the conversion of `` Neitebukkodo sukurikusuku '' has not been completed, the process proceeds to S4, and the `` value '' is output, the conversion is determined to be successful in S5, the process proceeds to S9, the `` value '' is stored and stored in S3 Return. At this time, the content of the output clause storage unit 6 is the fifth
Shown in the figure.

制御はS3に移り、変換を行っていないかな文字列があ
るかどうか判定する。「いてぃぶこーどをしゅつりょく
する」の変換が終っていないからS4に進み「医」が出力
され、S5で変換成功と判定されS9へ進み「医」が記憶さ
れS3に戻る。このときの出力文節記憶部6の内容は第6
図のようになる。
The control moves to S3 to determine whether or not there is a character string that has not been converted. Since the conversion of "Export" has not been completed, the process proceeds to S4, where "medical" is output, the conversion is determined to be successful in S5, the process proceeds to S9, the "medicine" is stored, and the process returns to S3. . At this time, the content of the output clause storage unit 6 is the sixth
It looks like the figure.

制御はS3に移り、変換を行っていないかな文字列があ
るかどうか判定する。「てぃぶこーどをしゅつりょくす
る」の変換が終っていないからS4に進み「手」が出力さ
れ、S5で変換成功と判定されS9へ進み「手」が記憶され
S3に戻る。このときの出力文節記憶部6の内容は第7図
のようになる。
The control moves to S3 to determine whether or not there is a character string that has not been converted. Since the conversion of "Tabukodo Shusikkusuku" is not finished, proceed to S4 and output "hand" .Conversion is determined to be successful in S5 and proceed to S9 to store "hand".
Return to S3. The contents of the output clause storage unit 6 at this time are as shown in FIG.

制御はS3に移り、変換を行っていないかな文字列があ
るかどうか判定する。「ぃぶこーどをしゅつりょくす
る」の変換が終わっていないからS4に進み、「ぃ」から
始まる自立語は存在しないからかな漢字変換実行部5が
変換に失敗し、S5で失敗が判定されS6に進む。
The control moves to S3 to determine whether or not there is a character string that has not been converted. Since the conversion of “Pubkodo Sh ゅ sh り rokus」 ”has not been completed, the process proceeds to S4. Since there is no independent word starting with“ ぃ ”, the Kana-Kanji conversion execution unit 5 fails in the conversion and the failure in S5. It is determined and the process proceeds to S6.

S6では失敗文節開始位置決定処理部8が失敗文節開始
位置決定ルール7を参照しながら、出力文節記憶部6に
記憶されている文節を検索し、失敗文節開始位置を決定
する。失敗文節開始位置を決定したら、出力文節記憶部
6に記憶されている失敗文節開始位置以降の文節を無効
にする。例文では1番目のルールを複数回適用すること
により、入力の7文字目が失敗文節開始位置と決定さ
れ、「値医手」の部分が無効になる。このときの出力文
節記憶部6の内容を第8図に示す。また、失敗文節開始
位置決定ルールの例を第9図に示す。
In S6, the failed phrase start position determination processing unit 8 searches for the phrase stored in the output phrase storage unit 6 while referring to the failed phrase start position determination rule 7, and determines the failed phrase start position. When the failed phrase start position is determined, the phrases after the failed phrase start position stored in the output phrase storage unit 6 are invalidated. In the example sentence, by applying the first rule a plurality of times, the seventh character of the input is determined as the failed phrase start position, and the "value doctor" portion is invalidated. FIG. 8 shows the contents of the output clause storage unit 6 at this time. FIG. 9 shows an example of a failed phrase start position determination rule.

次にS7に進み、失敗文節終了位置決定処理部10が失敗
文節終了位置決定ルール9を参照しながら、入力かな列
記憶部2に格納されているかな文字を検索し失敗文節の
決定を行う。1番目のルールにより入力文字列中に
「を」を発見し、「を」の位置を失敗文節終了位置とす
る。
Next, proceeding to S7, the failed phrase end position determination processing unit 10 searches for a kana character stored in the input kana column storage unit 2 and determines a failed phrase by referring to the failed phrase end position determination rule 9. According to the first rule, "" is found in the input character string, and the position of "" is set as the failed phrase end position.

次にS8に進み、失敗文節決定処理部12が失敗文節決定
ルール11を参照しながら失敗文節の表示内容を決定す
る。ここでは1番目のルールにより「を」の直前までを
カタカナ語と決定する。かな漢字変換制御部3は、失敗
文節決定処理部12が決定した失敗文節を出力文節記憶部
6に出力する。そしてS9に進み、出力文節記憶部6は出
力された失敗文節を記憶する。このときの出力文節記憶
部6の内容は第10図のようになる。
Next, proceeding to S8, the failed phrase determination processing unit 12 determines the display content of the failed phrase while referring to the failed phrase determination rule 11. Here, katakana is determined by the first rule up to immediately before "wo". The kana-kanji conversion control unit 3 outputs the failed phrase determined by the failed phrase determination processing unit 12 to the output phrase storage unit 6. Proceeding to S9, the output clause storage unit 6 stores the output failed clause. The contents of the output clause storage unit 6 at this time are as shown in FIG.

なお、第11図は失敗文節終了位置決定ルールの例を、
第12図は失敗文節決定ルールの例を示している。
FIG. 11 shows an example of the rule for determining the end position of a failed phrase.
FIG. 12 shows an example of a failed phrase determination rule.

制御はS3に移り、変換を行っていないかな文字列があ
るかどうか判定する。「しゅつりょくする」の変換が終
っていないからS4に進み、「出力する」が出力され、S5
で変換成功と判定されてS9に進み「出力する」が記憶さ
れ、S3に戻る。このときの出力文節記憶部6の内容は第
13図のようになる。
The control moves to S3 to determine whether or not there is a character string that has not been converted. Since the conversion of “Shipsukusuru” is not finished, proceed to S4, “Output” is output, and S5
In step S9, it is determined that the conversion is successful, and the process proceeds to step S9, where "output" is stored, and the process returns to step S3. At this time, the contents of the output clause storage unit 6 are
It looks like Figure 13.

制御はS3に移り、変換を行っていないかな文字列があ
るかどうか判定され、変換を行っていないかな文字列が
ないから、S10へ進む。S10では第14図のように表示手段
13に出力される。
Control proceeds to S3, where it is determined whether there is a character string that has not been converted. Since there is no character string that has not been converted, the process proceeds to S10. In S10, display means as shown in Fig. 14
Output to 13.

S11ではユーザが変換結果を採用するか否かのキーを
押す。採用すればS12に進む。ここでは変換結果の中に
失敗文節があれば、この文節の単語をかな漢字変換辞書
4に登録する。この例では、「ネイティブコードの」と
いう文節は失敗文節であるから、「ネイティブコード」
という単語がかな漢字変換辞書4に登録され、「こんぱ
いらはねいてぃぶこーどをしゅつりょくする」の変換が
終了する。
In S11, the user presses a key indicating whether to adopt the conversion result. If adopted, go to S12. Here, if there is a failed phrase in the conversion result, the word of this phrase is registered in the kana-kanji conversion dictionary 4. In this example, the phrase "native code" is a failure clause, so "native code"
Is registered in the kana-kanji conversion dictionary 4, and the conversion of "compilation" is completed.

次に入力例として前出「ねいてぃぶこーどせいせいを
おこなう」を入力する場合を説明する。
Next, as an input example, a case where the above-mentioned “Perform a Neighborhood” will be described.

まず、S1で入力手段1によりかな文字列「ねいてぃぶ
こーどせいせいをおこなう」が入力され、入力かな列記
憶部2に記憶される。さらにS2で入力手段1により変換
を指示され、S3に進む。
First, in S1, a kana character string “Perform Neighborhood” is input by the input unit 1 and stored in the input kana column storage unit 2. Further, in S2, conversion is instructed by the input means 1, and the process proceeds to S3.

S3でかな漢字変換制御部3は未変換のかな文字列があ
るかどうか判定する。未変換かな文字列がある場合はS4
に、変換がすべて終了しておればS10に進む。ここでは
まだ変換は完全ではないからS4に進む。
At S3, the kana-kanji conversion control unit 3 determines whether there is an unconverted kana character string. S4 if there is an unconverted kana character string
If all the conversions have been completed, the process proceeds to S10. Here, the conversion is not yet complete, so the process proceeds to S4.

さて、S4ではかな漢字変換制御部3はかな漢字変換実
行部5に、まだかな漢字変換を行っていないかな文字列
を1文節だけかな漢字変換するように指示し、かな漢字
変換実行部5は1文節のかな漢字変換を実行する。前回
の変換で「ネイティブコード」がかな漢字変換辞書4に
登録されているから、今回の例文では「ネイティブコー
ド」という文節が生成される。次にS5で、かな漢字変換
実行部5が変換に成功したかどうかを判定する。変換に
成功しておれば変換に成功した文節を出力文節記憶部6
に出力してS9に進む。変換に失敗していればS6に進む。
変換は成功しているから、文節「ネイティブコード」が
出力される。
Now, in S4, the kana-kanji conversion control unit 3 instructs the kana-kanji conversion execution unit 5 to convert the kana-kanji character string that has not yet been subjected to kana-kanji conversion into one kana-kanji character, and the kana-kanji conversion execution unit 5 performs the one-segment kana-kanji conversion. Execute Since the “native code” is registered in the kana-kanji conversion dictionary 4 in the previous conversion, the phrase “native code” is generated in this example sentence. Next, in S5, it is determined whether the kana-kanji conversion execution unit 5 has succeeded in the conversion. If the conversion is successful, the phrase that was successfully converted is stored in the output phrase storage unit 6.
And the process proceeds to S9. If the conversion has failed, proceed to S6.
Since the conversion was successful, the clause "native code" is output.

S9では出力された文節「ネイティブコード」を出力文
節記憶部6に格納し、S3へと戻る。
In S9, the output phrase "native code" is stored in the output phrase storage unit 6, and the process returns to S3.

制御はS3に移り、未変換のかな文字列があるかどうか
判定し、「せいせいをおこなう」の変換が終わっていな
いからS4に進む。S4で「生成を」が出力され、S5で変換
成功と判定されてS9に進み、「生成を」が記憶され、S3
に戻る。
The control proceeds to S3, where it is determined whether or not there is an unconverted kana character string. Since the conversion of “perform the error” has not been completed, the flow proceeds to S4. "Generate" is output in S4, the conversion is determined to be successful in S5, the process proceeds to S9, "Generate" is stored, and S3
Return to

制御はS3に移り、未変換のかな文字列があるかどうか
判定され、「おこなう」の変換が終わっていないからS4
に進み、ここで「行う」が出力され、S5で変換成功と判
定されてS9に進み、「行う」が記憶され、S3に戻る。
Control transfers to S3, where it is determined whether there is an unconverted kana character string.
Then, “execute” is output here, it is determined that the conversion was successful in S5, the operation proceeds to S9, “implement” is stored, and the operation returns to S3.

制御はS3に移り、変換を行っていないかな文字列があ
るかどうか判定するが、変換を行っていないかな文字列
はないからS10に進む。
Control proceeds to S3, where it is determined whether there is a character string that has not been converted. However, since there is no character string that has not been converted, the process proceeds to S10.

ここでは第15図のように表示手段13に変換された文字
列が出力される。
Here, the converted character string is output to the display means 13 as shown in FIG.

S11では出力された上記変換結果をユーザが採用すれ
ばS12に進む。S12では変換結果の中に失敗文節があれ
ば、その文節の単語をかな漢字変換辞書4に登録する。
この例では失敗文節はないから変換は終了する。
In S11, if the user adopts the output conversion result, the process proceeds to S12. In S12, if there is a failed phrase in the conversion result, the word of that phrase is registered in the kana-kanji conversion dictionary 4.
In this example, the conversion ends because there are no failed clauses.

すなわち、以上で「ねいてぃぶこーどせいせいをおこ
なう」のかな文字列が「ネイティブコード生成を行う」
として変換が終了する。
That is, the kana character string of "Perform the Neighborhood Education" is "Generate native code".
And the conversion ends.

(発明の効果) 以上説明したように、本発明によれば、入力手段から
入力された仮名データを先頭から順次辞書で検索して、
かな漢字変換手段でかな漢字変換する過程で、自立語の
読みの先頭になり得ない仮名文字が先頭にあって、かな
漢字変換に失敗した場合には、当該仮名データを含む文
節を検出した上、所定の規則に従って片仮名データに変
換するため、仮名データの片仮名データへの変換が簡
単,確実且つ迅速に行えると共に、かな漢字変換に失敗
した仮名データを含む文節が片仮名データに変換される
と共に、この片仮名データが辞書に自動的に登録される
ので、次回からの仮名データの片仮名データへの変換効
率が一層向上するという効果がある。
(Effects of the Invention) As described above, according to the present invention, kana data input from the input means is sequentially searched in the dictionary from the beginning,
In the process of converting kana-kanji characters by kana-kanji conversion means, if a kana-kanji character that cannot be the head of the independent word reading is at the beginning and kana-kanji conversion fails, a phrase containing the kana-kanji data is detected and a predetermined Kana-kana data is converted to katakana data in accordance with the rules, so that kana-kana data can be easily, reliably and quickly converted to kana-kana data. A phrase containing kana-kanji data for which kana-kanji conversion has failed is converted to katakana data. Since it is automatically registered in the dictionary, there is an effect that the conversion efficiency of kana data to katakana data from the next time is further improved.

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

第1図は本発明の一実施例のかな漢字変換装置の機能ブ
ロック図、第2図は同じく回路ブロック図、第3図は処
理フローチャート、第4図ないし第8図,第10図及び第
13図は出力文節記憶部の内容を示す図、第9図は失敗文
節開始位置決定ルールを示す図、第11図は失敗文節終了
位置決定ルールを示す図、第12図は失敗文節決定ルール
を示す図、第14図,第15図は表示手段の表示の例を示す
図である。 1……入力手段、2……入力かな列記憶部、3……かな
漢字変換制御部、4……かな漢字変換辞書、5……かな
漢字変換実行部、6……出力文節記憶部、7……失敗文
節開始位置決定ルール、8……失敗文節開始位置決定処
理部、9……失敗文節終了位置決定ルール、10……失敗
文節終了位置決定処理部、11……失敗文節決定ルール、
12……失敗文節決定処理部、13……表示手段、14……キ
ーボード、15……CPU、16……CRTディスプレイ、17……
ROM、18……RAM。
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, FIG. 3 is a processing flowchart, FIGS. 4 to 8, FIG.
FIG. 13 is a diagram showing the contents of the output phrase storage unit, FIG. 9 is a diagram showing a failed phrase start position determination rule, FIG. 11 is a diagram showing a failed phrase end position determination rule, and FIG. FIG. 14 and FIG. 15 are diagrams showing examples of display on the display means. 1 ... input means, 2 ... input kana string storage unit, 3 ... kana-kanji conversion control unit, 4 kana-kanji conversion dictionary, 5 ... kana-kanji conversion execution unit, 6 ... output phrase storage unit, 7 ... failure Clause start position determination rule, 8: failed phrase start position determination processing unit, 9: failed phrase end position determination rule, 10: failed phrase end position determination processing unit, 11: failed phrase determination rule,
12: failed phrase determination processing unit, 13: display means, 14: keyboard, 15: CPU, 16: CRT display, 17:
ROM, 18 ... RAM.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) F06F 17/22 510 - 514 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) F06F 17/22 510-514

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】仮名データを見出しとして対応する漢字デ
ータを記憶した辞書と、 仮名データを入力する入力手段と、 該入力手段から入力された前記仮名データを先頭から順
次前記辞書で検索して、かな漢字変換するかな漢字変換
手段と、 前記辞書で検索したときに、自立語の読みの先頭になり
得ない仮名文字が先頭にある場合には、当該仮名データ
を含む文節を検出する検出手段と、 該検出手段により検出された前記文節の仮名データを所
定の規則に従って片仮名データに変換して出力する出力
手段と、 該出力手段から出力された前記片仮名データを前記辞書
に登録する手段と を備えていることを特徴とするかな漢字変換装置。
1. A dictionary storing kanji data corresponding to kana data as a heading, input means for inputting kana data, and searching the kana data input from the input means in the dictionary sequentially from the top, Kana-Kanji conversion means for converting Kana-Kanji characters, and detection means for detecting a phrase including the kana data when a kana character that cannot be the head of the independent word reading is found at the head when the dictionary is searched. Output means for converting the kana data of the phrase detected by the detection means into katakana data according to a predetermined rule and outputting the data, and means for registering the katakana data output from the output means in the dictionary. A kana-kanji conversion device characterized by the following.
JP22238990A 1990-08-27 1990-08-27 Kana-Kanji conversion device Expired - Fee Related JP3150328B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22238990A JP3150328B2 (en) 1990-08-27 1990-08-27 Kana-Kanji conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22238990A JP3150328B2 (en) 1990-08-27 1990-08-27 Kana-Kanji conversion device

Publications (2)

Publication Number Publication Date
JPH04105161A JPH04105161A (en) 1992-04-07
JP3150328B2 true JP3150328B2 (en) 2001-03-26

Family

ID=16781600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22238990A Expired - Fee Related JP3150328B2 (en) 1990-08-27 1990-08-27 Kana-Kanji conversion device

Country Status (1)

Country Link
JP (1) JP3150328B2 (en)

Also Published As

Publication number Publication date
JPH04105161A (en) 1992-04-07

Similar Documents

Publication Publication Date Title
JPH08194719A (en) Search device and dictionary / text search method
JP3150328B2 (en) Kana-Kanji conversion device
JP3147359B2 (en) Kana-kanji conversion device and kana-kanji conversion method
JP3935374B2 (en) Dictionary construction support method, apparatus and program
JP2621999B2 (en) Document processing device
JPH0724054B2 (en) Data processing device
JP3273778B2 (en) Kana-kanji conversion device and kana-kanji conversion method
JPH08221408A (en) Character recognition method, kana-kanji conversion method, and information processing device
JP2902182B2 (en) Online handwritten character recognition device
JP2833650B2 (en) Document processing device
JPS6172361A (en) Kana-Kanji conversion device
JP2002351868A (en) Electronic dictionary
JP2634596B2 (en) Kana-Kanji conversion device
JPH1091622A (en) Document processing apparatus and recording medium recording document processing program
JPS62115568A (en) Kana-kanji converting device
JPS61260354A (en) Kana and written kanji converting system
JPS63157265A (en) Document processor
JPH0727526B2 (en) Kana-Kanji converter
JPH02250148A (en) Character processor
JPH11282837A (en) Japanese morphological analyzer, Japanese morphological analysis method, and recording medium
JPH04188263A (en) Document generation device having kana (japanese syllabary)-kanji (chinese character) function and its kana-kanji converting method
JPH0525150B2 (en)
JPH0392957A (en) Kana/kanji converting device
JPH02165270A (en) character processing device
JPH0335349A (en) Document processor with example display function

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080119

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090119

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090119

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100119

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees