JPH06110878A - Kana-kanji conversion method - Google Patents

Kana-kanji conversion method

Info

Publication number
JPH06110878A
JPH06110878A JP4261857A JP26185792A JPH06110878A JP H06110878 A JPH06110878 A JP H06110878A JP 4261857 A JP4261857 A JP 4261857A JP 26185792 A JP26185792 A JP 26185792A JP H06110878 A JPH06110878 A JP H06110878A
Authority
JP
Japan
Prior art keywords
kana
kanji
character
conversion
dictionary
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
JP4261857A
Other languages
Japanese (ja)
Inventor
Hirotaka Kihara
広孝 木原
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP4261857A priority Critical patent/JPH06110878A/en
Publication of JPH06110878A publication Critical patent/JPH06110878A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve the efficiency of KANA (Japanese syllabary)-KANJI (Chinese character) conversion operation by performing dictionary analysis including characters before and after an inserted character at the time of inserting the new character to a character string. CONSTITUTION:A conversion processing part 8, a sentence data memory 9, and a KANA-KANJI conversion dictionary part 10 are connected to a CPU 5. This conversion processing part 8 is operated as a KANA-KANJI conversion means together with the CPU 5, and a sentence including KANJI which is inputted from a character keyboard 1 and is converted by the conversion processing part 8 is stored as sentence data in the sentence data memory 9, and the KANA-KANJI conversion dictionary part 10 consists of, for example, a read-only memory(ROM) and includes a storage area for storage of a word dictionary, a storage area for storage of an inflection table, a storage area for storage of an adjunct word table, etc. When another KANA character is inserted to the character string converted to the sentence including KANA and KANJI together, dictionary analysis including characters before and after the inserted character is performed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、仮名文字列を辞書解
析して仮名漢字変換を行う仮名漢字変換方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a kana-kanji conversion method for performing kana-kanji conversion by analyzing a kana character string in a dictionary.

【0002】[0002]

【従来の技術】従来の方法では、図5に示すように、一
度仮名漢字変換を行った文字列「これは正解である」に
仮名「ふ」を挿入して変換する場合においては、その挿
入語のみでの辞書解析を行うか、あるいは図6に示すよ
うに、一旦変換された文節あるいは文章を仮名に戻して
からその文節あるいは文章について変換を行うようにし
ている。
2. Description of the Related Art In the conventional method, as shown in FIG. 5, when a kana character "fu" is inserted into a character string "this is the correct answer" which has undergone kana-kanji conversion, the character is inserted. The dictionary analysis is performed only with words, or as shown in FIG. 6, the phrase or sentence once converted is returned to a kana and then the phrase or sentence is converted.

【0003】[0003]

【発明が解決しようとする課題】図5の方法では、挿入
語のみで辞書解析を行うので必ずしも一度で期待通りの
変換を行うとは限らず何度も変換を行う必要がある場合
が多い。また、図6の方法では挿入語の前後の語も加味
して辞書解析が行えるため、変換率の向上がはかれる
が、一度変換した文章をわざわざ変換前の仮名に直すと
いう作業が必要となる。
In the method of FIG. 5, since the dictionary analysis is performed only with the inserted word, it is not always necessary to perform the conversion as expected at one time, and it is often necessary to perform the conversion many times. Further, in the method of FIG. 6, since the dictionary analysis can be performed by adding words before and after the inserted word, the conversion rate can be improved, but the work of once converting the sentence into the pseudonym before conversion is required.

【0004】この発明は、このような事情を考慮してな
されたもので、挿入語の前後の語を加味して辞書解析を
行うことにより変換効率を向上させる仮名漢字変換方法
を提供するものである。
The present invention has been made in consideration of such circumstances, and provides a kana-kanji conversion method for improving conversion efficiency by performing dictionary analysis by adding words before and after an inserted word. is there.

【0005】[0005]

【課題を解決するための手段】この発明は、入力される
仮名文字列を辞書解析して仮名漢字交じり文に変換する
ように構成した文書処理装置において、仮名漢字交じり
文に変換された文字列に新たな仮名文字が挿入されたと
き、挿入された文字の前後の文字を含めて辞書解析を行
うことを特徴とする仮名漢字変換方法を提供するもので
ある。
SUMMARY OF THE INVENTION According to the present invention, in a document processing device configured to lexically analyze an input kana character string and convert it into a kana kanji mixed sentence, a character string converted into a kana kanji mixed sentence. (EN) A kana-kanji conversion method characterized in that when a new kana character is inserted into, a dictionary analysis is performed including the characters before and after the inserted character.

【0006】[0006]

【作用】仮名漢字交じり文に変換された文字列に新たな
仮名文字が挿入されたときでも、挿入文字の前後の文字
を含めて辞書解析が行われるので、挿入文字のみの変換
の操作やすでに変換済みの漢字を仮名文字に戻す操作が
不要となり、変換操作が容易になる。
[Function] Even when a new kana character is inserted in the character string converted into the kana-kanji mixed sentence, the dictionary analysis is performed including the characters before and after the inserted character. The conversion operation becomes easy because there is no need to return the converted Kanji to Kana characters.

【0007】[0007]

【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。これによってこの発明が限定されるもので
はない。図1はこの発明の一実施例のワードプロセッサ
のブロック図である。同図において、1はキャラクタキ
ーボードであり、このキーボード1には仮名キーや数字
キーが配列されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. This does not limit the invention. FIG. 1 is a block diagram of a word processor according to an embodiment of the present invention. In the figure, reference numeral 1 is a character keyboard, and on this keyboard 1, kana keys and numeric keys are arranged.

【0008】キーボード1の操作によって入力されるキ
ー信号は符号化回路3に与えられる。符号化回路3には
更にファンクションキーボード2からのキー信号が入力
される。
A key signal input by operating the keyboard 1 is given to the encoding circuit 3. A key signal from the function keyboard 2 is further input to the encoding circuit 3.

【0009】キーボード2は編集制御キーを備え、編集
制御キーには仮名文字を漢字もしくは漢字交じり文に変
換指令するための変換キー、漢字変換する必要のないこ
とを指令するための無変換キー、前候補キー、カーソル
移動キー、実行キー、解除キー、取消しキー及びモード
設定用の特別機能キー等を備えている。
The keyboard 2 is provided with an edit control key. The edit control key is a conversion key for instructing conversion of kana characters into kanji or kanji mixed sentences, a non-conversion key for instructing not to convert kanji, It has a front candidate key, a cursor movement key, an execution key, a cancel key, a cancel key, a special function key for mode setting, and the like.

【0010】符号化回路3はキーボード1,2のキー信
号を符号化し文字データ(文字コード)を入力バッファ
4に一時記憶させると共に、キーボード2に含まれる各
キーのコード化信号を中央処理装置(CPU)5へ直接
入力する。CPU5は後述の動作プログラムを実行をす
ることによって演算処理手段として働くものであり、仮
名漢字変換機能、書込機能及び読出し機能を備えてい
る。
The encoding circuit 3 encodes the key signals of the keyboards 1 and 2 to temporarily store the character data (character code) in the input buffer 4, and the encoded signals of the respective keys included in the keyboard 2 to the central processing unit ( Direct input to CPU) 5. The CPU 5 functions as an arithmetic processing unit by executing an operation program described later, and has a kana-kanji conversion function, a writing function, and a reading function.

【0011】CPU5にはCRTディスプレイ6及び印
字装置(プリンタ)7が接続されている。CRTディス
プレイ6は仮名入力された仮名文及び変換された漢字も
しくは仮名交じり文等を表示するのに用いられる。
A CRT display 6 and a printing device (printer) 7 are connected to the CPU 5. The CRT display 6 is used to display a kana input sentence and a converted kanji or kana mixed sentence.

【0012】プリンタ7は仮名又は漢字交じり文を印刷
するために用いられる。更にCPU5には変換処理部
8、文章データメモリ9、仮名漢字変換辞書部10が接
続されている。変換処理部8はCPU5と共にかな漢字
変換手段として働くものである。
The printer 7 is used to print kana or kanji mixed sentences. Further, the CPU 5 is connected with a conversion processing unit 8, a sentence data memory 9, and a Kana-Kanji conversion dictionary unit 10. The conversion processing unit 8 works together with the CPU 5 as Kana-Kanji conversion means.

【0013】文章データメモリ9はキーボード1から入
力され、かつ変換処理部8によって変換された漢字交じ
り文を文章データとして記憶するものである。仮名漢字
変換辞書部10は例えば読出し専用メモリ(ROM)等
からなり、単語辞書を記憶する記憶領域、活用語尾表を
記憶する記憶領域及び付属語表を記憶する記憶領域等を
含んでいる。
The sentence data memory 9 stores the kanji mixed sentence input from the keyboard 1 and converted by the conversion processing unit 8 as sentence data. The kana-kanji conversion dictionary unit 10 is composed of, for example, a read-only memory (ROM) and the like, and includes a storage area for storing a word dictionary, a storage area for storing an inflection table, and a storage area for storing an auxiliary word table.

【0014】この単語辞書記憶領域には50音順の仮名
見出し部と、仮名見出し部に対応する漢字表記部と、品
詞データが記憶される。漢字表記部には語幹部及び変化
しない部分が記憶される。次にこのような構成における
動作を図2および図3に示すフローチャートを用いて説
明する。
In this word dictionary storage area, kana heading parts in the order of Japanese syllabary, kanji writing parts corresponding to the kana heading parts, and part-of-speech data are stored. The kanji notation part stores the word stem part and the unchanged part. Next, the operation in such a configuration will be described with reference to the flowcharts shown in FIGS.

【0015】キーボード1から入力された仮名を変換し
てCRT6にその結果(仮名漢字交じり文)を表示する
場合の仮名漢字変換動作を図2に示す。まず、仮名入力
を行った後(ステップ101)、変換キーにより仮名漢
字変換が開始される(ステップ102)。入力された仮
名を接頭語,自立語,接尾語,活用形,付属語等に分類
する形態解析により各形態素にわけ文節の区切り位置が
判断される(ステップ103)。
FIG. 2 shows a kana-kanji conversion operation when the kana input from the keyboard 1 is converted and the result (kana-kanji mixed sentence) is displayed on the CRT 6. First, after inputting a kana (step 101), kana-kanji conversion is started by the conversion key (step 102). Morphological analysis is performed to classify the input kana into prefixes, independent words, suffixes, inflections, adjuncts, etc., and the bunsetsu segmentation position is determined for each morpheme (step 103).

【0016】次に、解析された各形態素に対し、辞書を
参照しながら漢字交じり文に変換される(ステップ10
4,105)。この状態ではまだ漢字は確定されておら
ず、変換キーによりさらに同音異義語に変えたり、文節
の区切りを変えたりして別の変換結果が表示される(ス
テップ108)(これらの手法については公知のものを
用いることができる。)。
Next, each analyzed morpheme is converted into a kanji mixed sentence with reference to a dictionary (step 10).
4, 105). In this state, the kanji has not been decided yet, and another conversion result is displayed by further changing to a homonym or a delimiter of the phrase by the conversion key (step 108) (these methods are known. Can be used.).

【0017】その後、所定のキーを押すことにより確定
が行われる(ステップ106,107)。また、取り消
しキーなどにより文節単位あるいは文章単位で仮名に戻
される(ステップ109,110)。
After that, the confirmation is made by pressing a predetermined key (steps 106 and 107). Further, it is returned to the kana in units of clauses or sentences by using the cancel key or the like (steps 109 and 110).

【0018】ところで、ステップ105においては、表
示は仮名漢字交じり文になっているが、確定を行う前で
あるため、仮名に戻すことが可能なように、ワードプロ
セッサは図4に示すような最初に入力された仮名のデー
タ,形態素,文節の区切りなどを記憶している。従っ
て、これらのデータを元に、挿入語と挿入語を追加した
位置の前後の形態素とを組み合わせ再度形態素解析を行
い、辞書を参照して新しい仮名漢字交じり文に直す。
By the way, in step 105, the display is a kana-kanji mixed sentence, but since it has not been confirmed yet, the word processor is first shown in FIG. 4 so that the kana can be restored. It stores the input kana data, morphemes, segment breaks, etc. Therefore, based on these data, the insertion word and the morphemes before and after the position where the insertion word is added are combined, morphological analysis is performed again, and a new kana-kanji mixed sentence is corrected by referring to the dictionary.

【0019】この部分の動作は、図3に示される。今、
例えば、『これはせいかいである』と入力された場合に
は(ステップ201)、形態素解析により『これは/せ
いかいで/ある』と分類される(ステップ202)。こ
こで『/』は文節の区切りを示している。
The operation of this part is shown in FIG. now,
For example, when "This is a result" is input (step 201), it is classified as "this is a result / is" by morphological analysis (step 202). Here, “/” indicates a segment break.

【0020】次に、辞書を参照して、『これは正解であ
る』という文章データが生成される(ステップ20
3)。ただし、この時点では確定されている訳ではない
ため形態素解析の結果の『これは/せいかいで/ある』
という文節区切り,読み情報や形態素データはまだ残っ
ている。
Next, referring to the dictionary, sentence data "This is the correct answer" is generated (step 20).
3). However, at this point, it has not been finalized yet, so the result of the morphological analysis is
The phrase break, reading information and morpheme data still remain.

【0021】ここで『ふ』という仮名を追加した場合に
は(ステップ204)、ステップ203での結果に基づ
いて挿入語とその前後の語との結び付きを解析する。す
なわち、 イ)『これはふ/せいかいで/ある』 ロ)『これは/ふせいかいで/ある』 ハ)『これは/ふ/せいかいで/ある』 イ)は後で入力した文字列が前の文節データにつく場
合、ロ)は後で入力した文字列が後の文節データにつく
場合、ハ)は後で入力した文字列が単独で文節を構成す
る場合である。
When a kana called "fu" is added here (step 204), the connection between the inserted word and the words before and after it is analyzed based on the result of step 203. In other words, a) "This is Fu / Sekai I / Aru" b) "This is / Fu Seikai / Aru" c) "This is Fu / Sekai I / Aru" i) is the character string entered later Is attached to the previous phrase data, b) is a case where the character string input later is attached to the latter phrase data, and c) is a case where the character string input later constitutes a phrase by itself.

【0022】これらと辞書の参照などから『これは不正
解である』という変換を行う。ここで単に入力された仮
名に追加された『ふ』を追加して『これはふせいかいで
ある』として最初から形態素解析を行わず、入力した文
字が文節区切り位置ならイ)〜ハ)の処理を行なう。ス
テップ203の結果(語の区切り)に対して『ふ』追加
することにより使用者の意図した文節区切りを利用する
ためである。
The conversion "this is an incorrect answer" is performed by referring to these and the dictionary. Here, "fu" added to the kana that was just input is added, and "This is a fuzekai" is not performed from the beginning, and if the input character is the bunsetsu delimiter position, the processing of a) -ha) Do. This is because the phrase break intended by the user is used by adding "fu" to the result (word break) of step 203.

【0023】[0023]

【発明の効果】この発明は、文字列に新たな文字が挿入
されても、挿入文字の前後の文字を含めて辞書解析が行
われるので、仮名漢字変換操作を能率よく行うことがで
きる。
According to the present invention, even if a new character is inserted in the character string, the dictionary analysis is performed including the characters before and after the inserted character, so that the kana-kanji conversion operation can be efficiently performed.

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

【図1】実施例のワードプロセッサの構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a word processor according to an embodiment.

【図2】実施例の動作を示すフローチャートである。FIG. 2 is a flowchart showing the operation of the embodiment.

【図3】実施例の動作の要部を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a main part of the operation of the embodiment.

【図4】実施例の形態素解析を示す説明図である。FIG. 4 is an explanatory diagram showing morphological analysis of an example.

【図5】従来の変換例を示す説明図である。FIG. 5 is an explanatory diagram showing a conventional conversion example.

【図6】従来の変換例を示す説明図である。FIG. 6 is an explanatory diagram showing a conventional conversion example.

【符号の説明】[Explanation of symbols]

1 キャラクタキーボード 2 ファンクションキーボード 3 符号化回路 4 入力バッファ 5 CPU 6 CRT 7 プリンタ 8 変換処理部 9 文章データメモリ 10 仮名漢字変換辞書部 1 Character keyboard 2 Function keyboard 3 Encoding circuit 4 Input buffer 5 CPU 6 CRT 7 Printer 8 Conversion processing unit 9 Text data memory 10 Kana-Kanji conversion dictionary unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力される仮名文字列を辞書解析して仮
名漢字交じり文に変換するように構成した文書処理装置
において、仮名漢字交じり文に変換された文字列に新た
な仮名文字が挿入されたとき、挿入された文字の前後の
文字を含めて辞書解析を行うことを特徴とする仮名漢字
変換方法。
1. In a document processing device configured to lexically analyze an input kana character string and convert it into a kana-kanji mixed sentence, a new kana character is inserted into the character string converted into a kana-kanji mixed sentence. A kana-kanji conversion method characterized by performing a dictionary analysis including characters before and after the inserted character.
JP4261857A 1992-09-30 1992-09-30 Kana-kanji conversion method Pending JPH06110878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4261857A JPH06110878A (en) 1992-09-30 1992-09-30 Kana-kanji conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4261857A JPH06110878A (en) 1992-09-30 1992-09-30 Kana-kanji conversion method

Publications (1)

Publication Number Publication Date
JPH06110878A true JPH06110878A (en) 1994-04-22

Family

ID=17367719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4261857A Pending JPH06110878A (en) 1992-09-30 1992-09-30 Kana-kanji conversion method

Country Status (1)

Country Link
JP (1) JPH06110878A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11231448B2 (en) 2017-07-20 2022-01-25 Targus International Llc Systems, methods and devices for remote power management and discovery

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11231448B2 (en) 2017-07-20 2022-01-25 Targus International Llc Systems, methods and devices for remote power management and discovery

Similar Documents

Publication Publication Date Title
EP0370774B1 (en) Machine translation system
EP0310049B1 (en) Document generator and correction support device
JPH11328166A (en) Character input device and computer-readable recording medium where character input processing program is recorded
JPH07334499A (en) Input device for character string
JPH06110878A (en) Kana-kanji conversion method
JP2943791B2 (en) Language identification device, language identification method, and recording medium recording language identification program
JP3393162B2 (en) Text editing device
JP3692711B2 (en) Machine translation device
JPS60207948A (en) "kana"/"kanji" conversion processor
JPH05189421A (en) Method and device for kana/kanji conversion of ancient classics
JPH0594431A (en) Japanese sillabary converter
JPS6172359A (en) Character correction system for close writing kana-to-kanji conversion
JPH10198678A (en) Device and method for kana/kanji conversion
JPH08272780A (en) Processor and method for chinese input processing, and processor and method for language processing
JP3010946B2 (en) Sentence input method
JPH09146937A (en) Device and method for character string conversion
JPS6172360A (en) Close writing kana-to-kanji conversion system
JPS60195663A (en) Japanese word processor
JPH01118961A (en) Translating device
JPS5998236A (en) Input device of japanese sentence
JPH0512251A (en) Document processor
JP2001282781A (en) Data input method, recording medium for data input using the method, and arithmetic processor
JP2000148746A (en) Method for reconverting japanese syllabary into chinese character
JPH08241315A (en) Word registering mechanism for document processor
JPH1173413A (en) Machine translation device and computer-readable recording medium where machine translation processing program is recorded