[go: up one dir, main page]

JPS62266660A - Kana-Kanji conversion device - Google Patents

Kana-Kanji conversion device

Info

Publication number
JPS62266660A
JPS62266660A JP61110151A JP11015186A JPS62266660A JP S62266660 A JPS62266660 A JP S62266660A JP 61110151 A JP61110151 A JP 61110151A JP 11015186 A JP11015186 A JP 11015186A JP S62266660 A JPS62266660 A JP S62266660A
Authority
JP
Japan
Prior art keywords
character string
word
kana
character
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.)
Granted
Application number
JP61110151A
Other languages
Japanese (ja)
Other versions
JP2573183B2 (en
Inventor
Masataka Yoshikawa
吉川 昌隆
Yukiyoshi Muto
幸好 武藤
Hiroshi Shimizu
宏 清水
Tsutomu Inagi
稲木 勉
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.)
Brother Industries Ltd
Hitachi Software Engineering Co Ltd
Original Assignee
Brother Industries Ltd
Hitachi Software Engineering 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 Brother Industries Ltd, Hitachi Software Engineering Co Ltd filed Critical Brother Industries Ltd
Priority to JP61110151A priority Critical patent/JP2573183B2/en
Publication of JPS62266660A publication Critical patent/JPS62266660A/en
Application granted granted Critical
Publication of JP2573183B2 publication Critical patent/JP2573183B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To increase the correct answer ratio of KANJI (Chinese character) conversion by string data on the KANJI mixed words together with the connection information between respective words. CONSTITUTION:In S1, the head of a character string to execute the conversion from a cursor address is retrieved, and in S2, a pointer is set to a head character position. In S3, a word which can be the last word of a segment, is retrieved with the longest coincidence method by referring to a dictionary memory. In S5, the pointer is updated, in S6, it is decided whether or not the word becomes the last of the segment. If the answer is NO, the next word is retrieved in the same way as previously, and in S8, the connection information with the previous word is decided on the basis of the connection information. When a word which can comes to be the last of the segment is found in S6, the word retrieving is executed concerning the next continuous character string in S9, and when in S11 and S12, it is decided that the word found by the word retrieving in S9 can be connected with the previous word and comes to be the head of the segment, the words, which are decided in S6 to form the segment are selected as the candidate character string in S13.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は日本語ワードプロセッサ等に用いられるかな
漢字変換装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a kana-kanji conversion device used in Japanese word processors and the like.

(従来の技術) 従来、日本語ワードプロセッサにおいて、例えば複数周
の文面等の区切りからなる1つの文章をかな入力で入力
した場合、1つの文章が多数のひらかなの文字列(未確
定かな文字列)で表示される。そして、この未確定かな
文字列を漢字変換すべく漢字変換キーを操作すると、そ
の1つの文章を構成している各区切りの全てが一括して
漢字変換されるものがあった。
(Prior art) Conventionally, in a Japanese word processor, when one sentence consisting of, for example, multiple text breaks is input using kana input, one sentence is a string of many hirakana characters (an undefined kana character string). is displayed. Then, when I operated the kanji conversion key to convert this undefined kana character string into kanji, there were cases where all of the breaks that made up that one sentence were converted into kanji at once.

(発明が解決しようとする問題点) ところが、各区切りすべての漢字変換が所望していた漢
字に変換されている場合には問題ないが一部の区切りに
ついて間違った漢字変換がなされている場合にはその間
違った区切りを正しい漢字にすべく再度漢字変換を行う
と、今度は他の正しく漢字変換された区切りが間違った
漢字に変換されるという問題が生じていた。
(Problem to be Solved by the Invention) However, there is no problem if all the kanji in each section are converted to the desired kanji, but if some of the kanji are converted incorrectly, then there is no problem. When the kanji conversion was performed again to convert the incorrect kanji into the correct kanji, the problem occurred that other correctly kanji-converted kanji breaks were converted into the wrong kanji.

そして、この問題は変換すべきかな文字列の数が増すほ
ど大きくなり、場合によっては所望のものとは全く異な
るでたらめなかな漢字変換がなされることもあった。
This problem becomes more serious as the number of kana character strings to be converted increases, and in some cases, haphazard kana-kanji conversions that are completely different from what is desired may occur.

その結果、正確な漢字変換を行うのに煩わしい訂正操作
と多大な時間を要したり、又、その区切りだけ別個に漢
字訂正のキー操作を強いられていた。
As a result, it takes a lot of time and troublesome correction operations to perform accurate kanji conversion, and the user is forced to perform kanji correction keys separately at each break.

(目的) この発明の目的は上記問題点を解決すべく、複数の区切
りを含む未確定かな文字列を簡単なキー操作で、かつ確
実に変換でき、かな漢字変換作業の労力を軽減すること
ができるかな漢字変換装置を提供するにある。
(Purpose) The purpose of this invention is to solve the above-mentioned problems by making it possible to reliably convert undefined kana character strings containing multiple delimiters with simple key operations, thereby reducing the labor involved in converting kana to kanji. To provide a kana-kanji conversion device.

(問題点を解決するための手段) この発明のかな漢字変換装置は一部のかな文字列に含ま
れる複数の区切りを割り出し、各区切りに対応するかな
文字列を漢字混じりの変換文字列に一度に変換可能なか
な漢字変換装置において、かな文字を入力する文字キー
と、その文字キーにより入力されるかな文字列を順次記
憶する記憶手段と、各種のかな文字列に対応する漢字混
じりの単語のデータを各単語間の接続情報とともに予め
記憶する辞書メモリと、前記記憶手段内の変換対象とな
るかな文字列中の先頭の1区切りを割り出して当該1区
切りのかな文字列を前記辞書メモリに記憶された単語か
らなる候補文字列に変換する際に、次の区切りとの接続
の可否を判断して接続可能な候補文字列を殴先的に選出
して前記先頭の1区切りに対応する候補文字列とする変
換手段と、その変換手段に実行指令を付与する単位区切
り変換手段と、前記変換手段により変換された候補文字
列を確定文字列として確定するか否かを選択するための
選択キーと、その選択キーの確定操作に応答して確定さ
れた確定文字列に対応するかな文字列を前記変換対象か
ら取除く確定処理手段とを備えることを特徴とする。
(Means for Solving the Problem) The kana-kanji conversion device of the present invention identifies multiple breaks included in a part of a kana character string, and converts the kana character string corresponding to each break into a converted string containing kanji at once. A convertible kana-kanji conversion device includes character keys for inputting kana characters, storage means for sequentially storing kana character strings input by the character keys, and data of words mixed with kanji corresponding to various kana character strings. a dictionary memory which is stored in advance together with connection information between each word; and a first division in a kana character string to be converted in the storage means, and the first division in the kana character string is stored in the dictionary memory. When converting into a candidate character string consisting of words, it is determined whether or not it can be connected to the next delimiter, and the connectable candidate character strings are selectively selected and the candidate character string corresponding to the first delimiter is selected. a unit delimiter converting means for giving an execution command to the converting means; a selection key for selecting whether or not to confirm the candidate character string converted by the converting means as a final character string; The present invention is characterized by comprising a confirmation processing means for removing a kana character string corresponding to a confirmed character string confirmed from the conversion target in response to a confirmation operation of a selection key.

(作用) 文字キー操作してかな文字列を入力すると、記憶手段は
このかな文字列を記憶する。そして、単位区切り変換手
段が実行指令を変換手段に付与すると、変換手段はその
記憶手段内の変換対象となるかな文字列中の先頭の1区
切りを割り出して当該1区切りのかな文字列を辞書メモ
リに記憶された単語からなる候補文字列に変換する際に
、次の区切りとの接続の可否を判断して接続可能な候補
文字列を優先的に選出して前記先頭の1区切りに対応す
る候補文字列とする。そして、候補文字列を確定するた
めに選択キーを操作すると、前記変換手段により変換さ
れた候補文字列を確定文字列として確定する。すると、
確定処理手段はその選択キーの確定操作に応答して確定
された確定文字列に対応するかな文字列を前記変換対象
から取除く。
(Operation) When a kana character string is input by operating the character keys, the storage means stores this kana character string. Then, when the unit delimiter conversion means gives an execution command to the conversion means, the conversion means determines the first delimiter in the kana character string to be converted in the storage means, and stores the kana character string of that one delimiter in the dictionary memory. When converting into a candidate character string consisting of the words stored in , it is determined whether or not it can be connected to the next delimiter, and a candidate character string that can be connected is preferentially selected, and the candidate character string corresponding to the first delimiter is selected. As a string. When the selection key is operated to confirm the candidate character string, the candidate character string converted by the conversion means is determined as the final character string. Then,
The confirmation processing means responds to the confirmation operation of the selection key and removes the kana character string corresponding to the confirmed confirmation character string from the conversion target.

(実施例) 以下、この発明をワードプロセッサのかな漢字変換装置
に具体化した一実施例を第1図〜第3図に従って説明す
る。
(Embodiment) An embodiment in which the present invention is embodied in a word processor kana-kanji conversion device will be described below with reference to FIGS. 1 to 3.

第2図において、ワードプロセッサ1の本体ケース2の
前側部には入力手段としてのキーボード3が設けられ、
後側部にはプリンタ4が設けられている。キーボード3
には40桁を1行とする複数行の液晶表示器5が設けら
れている。キーボード3上には各種操作キーが配設され
ていて、ひらがな及びアルファベットの各文字及び数字
等を入力する文字キー6、変換キー7、選択キーとして
の実行キー8、機能キー9、次候補キー22、液晶表示
器5に表示されるカーソルを移動操作するためのカーソ
ル移動キー23等の各種キーが配設されている。
In FIG. 2, a keyboard 3 as an input means is provided on the front side of a main body case 2 of a word processor 1.
A printer 4 is provided on the rear side. keyboard 3
is provided with a liquid crystal display 5 having multiple lines each containing 40 digits. Various operation keys are arranged on the keyboard 3, including a character key 6 for inputting hiragana and alphabet letters and numbers, a conversion key 7, an execution key 8 as a selection key, a function key 9, and a next candidate key. 22, various keys such as a cursor movement key 23 for moving the cursor displayed on the liquid crystal display 5 are provided.

1能キー9と変換キー7とにより単位区切り変換手段が
構成され、両キー7.9を共に操作すると、後記するC
PU10に実行指令信号を出力する。又、変換キー7は
一部のかな文字列のすべてを一度に漢字混じりの変換文
字列に変換するとぎに操作される。実行キー8は候補文
字列を確定文字列にするときに使用される。次候補キー
22は候補文字列が液晶表示器5に表示されたとき、そ
の表示された11芙補文字列以外の他の候補文字列を表
示させたいときに使用される。
A unit delimiter conversion means is constituted by the 1-function key 9 and the conversion key 7, and when both keys 7.9 are operated together, C.
An execution command signal is output to the PU10. Further, the conversion key 7 is operated to convert all of a part of the kana character string into a converted character string containing kanji at once. The execution key 8 is used to convert a candidate character string into a confirmed character string. The next candidate key 22 is used when a candidate character string is displayed on the liquid crystal display 5 and when it is desired to display a candidate character string other than the displayed 11 complementary character strings.

次に、このワードプロセッサ1の電気的構成を第1図に
示ず電気ブロック回路図にて説明する。
Next, the electrical configuration of this word processor 1 will be explained using an electrical block circuit diagram not shown in FIG.

本体ケース2に内蔵された変換手段及び確定処理手段と
しての中央処理装置(以下、CPUという)10には読
出し専用メモリ(以下、ROMという)11、辞書メモ
リ12及び読出し及び書換可能なメモリ(RAM)より
なる記憶手段としての作業用メモリ13が接続されてい
る。作業用メモリ13は文字キー6にて入力されてくる
文字コードデータを一時記憶する入力バッファ部13a
と、候補文字列を一時記憶する候補文字用バッファ部1
3b等を備えている。CPU10はキーボードドライバ
14を介して前記キーボード3に接続され、表示コント
ローラ15を介して前記液晶表示器5に接続されている
。さらに、CPU10は印字ドライバ16を介して前記
プリンタ4に接続さt、又、コードテーブル17、文書
メモリ18等の各種メモリと接続されている。
A central processing unit (hereinafter referred to as CPU) 10 as a conversion means and confirmation processing means built into the main body case 2 includes a read-only memory (hereinafter referred to as ROM) 11, a dictionary memory 12, and a readable and rewritable memory (RAM). ) is connected to a working memory 13 as a storage means. The working memory 13 is an input buffer section 13a that temporarily stores character code data input using the character keys 6.
and a candidate character buffer section 1 that temporarily stores candidate character strings.
3b etc. The CPU 10 is connected to the keyboard 3 via a keyboard driver 14 and to the liquid crystal display 5 via a display controller 15. Further, the CPU 10 is connected to the printer 4 via a print driver 16, and is also connected to various memories such as a code table 17 and a document memory 18.

ROM11にはこのワードプロセッサ1を各種動作させ
るための日本語ワードプロセッサ制御プログラム、キー
ボード制御プログラム、印字装置制御プログラム、液晶
表示器制御プログラム等、各種の制御プログラムが記憶
されたプログラムメモリ19の伯にキャラクタジェネレ
ータ(以下CGという)20を有している。CG20に
は各書体毎のドツトマトリックスで表示或いは印字され
る文字や記号等の文字パターンデータが記憶されている
。又、文書メモリ18は前記キーボード3の文字キー6
、スペースキー、改行キー等を操作者が操作して入力し
た文字コードデータ、スペースコードデータ、改行デー
タ等の文字データが記憶されるようになっている。
The ROM 11 stores various control programs such as a Japanese word processor control program, a keyboard control program, a printer control program, and a liquid crystal display control program for operating the word processor 1. A character generator is stored in the program memory 19. (hereinafter referred to as CG). The CG 20 stores character pattern data such as characters and symbols displayed or printed in a dot matrix for each typeface. Further, the document memory 18 is connected to the character keys 6 of the keyboard 3.
Character data such as character code data, space code data, line feed data, etc. input by the operator by operating the , space key, line feed key, etc. are stored.

コードテーブル17には文字や記号に対応する文字コー
ドが格納されている。さらに、辞書メモリ12は各種の
かな文字列に対応する漢字混じりの単語のデータがその
品詞情報、接続情報等、かな漢字変換に必要な各種の文
法情報とともに記憶されている。前記作業用メモリ13
はCPU10が演算処理した結果を一時記憶させておく
ものである。
The code table 17 stores character codes corresponding to characters and symbols. Furthermore, the dictionary memory 12 stores data on words mixed with Kanji corresponding to various kana character strings, along with various grammatical information necessary for kana-kanji conversion, such as part-of-speech information and connection information. The working memory 13
is used to temporarily store the results of arithmetic processing performed by the CPU 10.

次に、上記のように構成したワードプロセッサ1の作用
を第3図に示すフローチャートに従って説明する。
Next, the operation of the word processor 1 configured as described above will be explained according to the flowchart shown in FIG.

操作者が文書を入力すべくキーボード3上の文字キー6
を入力操作すると、CPU 10はキーボード制御プロ
グラムに基づいて操作されたキーが何であるかを判断し
、その操作キーに対する入力信号をひらがな、カタカナ
等の文字データ、スペースデータ、改行データ等に変換
して作業用メモリ13の入力バッファ部13aに順次記
憶していく。
The operator presses the character keys 6 on the keyboard 3 to input a document.
When a key is input, the CPU 10 determines the type of key operated based on the keyboard control program, and converts the input signal for the operated key into character data such as hiragana or katakana, space data, line feed data, etc. The data are sequentially stored in the input buffer section 13a of the working memory 13.

この時、CPUl0は液晶表示器制御プログラムに基づ
いて作業用メモリ13に順次記憶されていく文字データ
等の内、最新に入力された複数個の文字データを読出し
て液晶表示器5に順次表示していく。又、この表示する
時にかな漢字変換される前のかな文字列(以下、未確定
かな文字列という)は反転表示される。
At this time, the CPU 10 reads out the most recently inputted character data among the character data etc. that are sequentially stored in the working memory 13 based on the liquid crystal display control program and displays them sequentially on the liquid crystal display 5. To go. Also, when this display is performed, the kana character string (hereinafter referred to as unconfirmed kana character string) before being converted to kana-kanji is displayed in reverse video.

反転表示された一部の未確定かな文字列を先頭からの区
切り旬にかな漢字変換する場合には、反転表示された未
確定かな文字列内のどこか或いは未確定かな文字列の直
後にカーソルを位置させた状態で典能キー〇と変換キー
7とを共に操作する。
If you want to convert some of the highlighted undefined kana character strings to kana-kanji from the beginning, place the cursor somewhere within the highlighted undefined kana string or immediately after the undefined kana character string. Operate function key 〇 and conversion key 7 together in the position.

すると、両キー7.9からの実行指令信号に応答してC
PU 10はカーソルアドレスに基づいて反転表示され
た未確定かな文字列の先頭を検索しくステップ1、以下
ステップをSで表わす)、その先頭文字の位置にポイン
タをセットする(S2)。そして、CPU10はそのポ
インタから数えて作業用メモリ13に記憶した10字以
内の文字コードデータ(即ち、「読み」)を変換対象文
字列としてその文字列に対応する単語の検索を辞書メモ
リ12を参照して行う(S3)。この単語検索は長い文
字列から短い文字列へと所謂最長一致法にて順次行う。
Then, in response to execution command signals from both keys 7 and 9, C is pressed.
Based on the cursor address, the PU 10 searches for the beginning of the undefined character string highlighted in step 1 (hereinafter step will be denoted by S), and sets a pointer at the position of the beginning character (S2). Then, the CPU 10 uses the character code data (i.e., "yomi") of up to 10 characters counted from the pointer and stored in the working memory 13 as a character string to be converted, and searches the dictionary memory 12 for a word corresponding to that character string. This is done by referring to it (S3). This word search is performed sequentially from long character strings to short character strings using the so-called longest match method.

そして、辞書メモリ12からその文字列に対応する単語
を選出すると、CPLJloはその選出した単語がその
単語に付与される文法情報に基づいてその区切りの先頭
となり得るかを判別する(S4)oこ゛こで選出した単
語がその区切りの先頭とならない場合には再びS3に戻
る。選出した単語がその区切りの先頭になると判別する
と、S5に移行する。
Then, when a word corresponding to the character string is selected from the dictionary memory 12, CPLJlo determines whether the selected word can be the beginning of the break based on the grammatical information given to the word (S4). If the word selected here is not the beginning of the break, the process returns to S3. If it is determined that the selected word is at the beginning of the break, the process moves to S5.

S5において、CPU10はその選出した単語Wの読み
に対応づる確定かな文字列の直後にポインタをセットす
る。続いて、S6でCPU10は前記選出した単語Wが
区切りの最後になり得るか否かを判別する。即ち、句点
「、」、読点「。」があるか、又はその単語に付与され
る他の文法情報に基づいてその単語が区切りの最後とな
り得るか否かを判別する。
In S5, the CPU 10 sets a pointer immediately after the definite kana character string corresponding to the pronunciation of the selected word W. Subsequently, in S6, the CPU 10 determines whether the selected word W can be the last word of the break. That is, it is determined whether or not the word can be the end of a break based on whether there is a period mark "," or a comma mark "." or other grammatical information given to the word.

CPU10は前記単語Wが区切りの最後になりえないと
判断すると、先にセットしたポインタから数えて作業用
メモリ13に記憶した10字以内の文字コードデータ(
即ち、「読み」)を次の変換対象文字列としてその文字
列に対応する単語の検索を辞書メモリ12を参照して行
う(S7)。
When the CPU 10 determines that the word W cannot be the last of the break, it reads the character code data (within 10 characters) counted from the previously set pointer and stored in the working memory 13.
That is, the dictionary memory 12 is searched for a word corresponding to the next character string to be converted (S7).

この場合、単語検索は前記と同様に長い文字列から短い
文字列へと順次行う。検索した結果、辞書メモリ12か
らその文字列に対応する単語を選出すると、CPU10
はその選出した単語が前に選出した単語と接続が可能か
否かを単品の文法情報に基づいて判別する(S8)。
In this case, the word search is performed sequentially from long character strings to short character strings, as described above. As a result of the search, when a word corresponding to the character string is selected from the dictionary memory 12, the CPU 10
determines whether the selected word can be connected to the previously selected word based on the grammatical information of the single item (S8).

この選出した単語が前に選出した単MTJ Wと接続不
能と判別すると、CPLI 10は再びS7に戻り、接
続可能な単amが選出されるまで同様の処理を行う。そ
して、S8で前の単5m Wと接続可能な単語Xが選出
されたと判断されると、CPU10はS5において、そ
の発見した単語Xの読みに対応する未確定かな文字列の
直後にポインタをセットし、以下、前記と同様に処理を
行う。
If it is determined that this selected word cannot be connected to the previously selected single MTJ W, the CPLI 10 returns to S7 again and performs the same process until a connectable single MTJ W is selected. Then, when it is determined in S8 that a word However, the following processing is performed in the same manner as described above.

そして、S6において選出した単語W(又はW+Xのよ
うに前の単語と接続可能な単語列)が区切りの最後にな
り得ると判別すると、CPtJloは選出した単語の次
の文字コードデータにセラ士されたポインタを基準とし
て数え、作業用メモリ13に記憶した10字以内の文字
コードデータ(即ち、「読み」)を次の区切りに対応す
る変換文字列としてその文字列に対応する単語の検索を
辞書メモリ12を参照して行う(S9)。そして、検索
した結果、辞書メモリ12にその文字列に対応する単ム
Rが有るか否かを判別しく510)、有る場合、CPI
JIOはその選出した単語が前に選出した単語と接続が
可能か否かを単語の文法情報に基づいて判別する(81
0)。
Then, if it is determined in S6 that the selected word W (or a word string that can be connected to the previous word, such as W+X) can be the end of the break, CPtJlo is used to select the character code data next to the selected word. The character code data (i.e., "yomi") of 10 characters or less stored in the working memory 13 is counted using the pointer as a reference, and the word corresponding to the character string is searched in the dictionary as a converted character string corresponding to the next break. This is done with reference to the memory 12 (S9). Then, as a result of the search, it is determined whether or not there is a unit R corresponding to the character string in the dictionary memory 12 (510), and if there is, the CPI
JIO determines whether the selected word can be connected to the previously selected word based on the word's grammatical information (81
0).

この選出した単語Yが前に選出した単語と接続不能と判
別すると、CPU10は再びS9に戻り、接続可能な単
語が選出されるまで同様の処理を行う。そして、S11
で前の単語と接続可能な単語が選出されたと判断される
と、CPU10はS12に移行する。812において、
CPIJloはS9で選出した単語Yが次の区切りの先
頭となり得るか否かを判別する。先頭となりえないとC
PU10が判別した場合にはS9に戻る。
If it is determined that the selected word Y cannot be connected to the previously selected word, the CPU 10 returns to S9 and performs the same process until a connectable word is selected. And S11
When it is determined that a word that can be connected to the previous word has been selected, the CPU 10 moves to S12. At 812,
CPIJlo determines whether the word Y selected in S9 can be the beginning of the next break. C if you can't be the first
If the PU 10 makes a determination, the process returns to S9.

一方、S10でNoと判定されたとき、すなわち、83
〜S8の処理により先頭の区切りに対して選出された単
語(又は単語列)に接続可能な次の区切りにおける単語
が無い場合、S2に戻って先に選出された単語(又は単
語列)とは異なる他の単語(又は単語列)を選出すべく
83〜S8の処理を行う。
On the other hand, when the determination is No in S10, that is, 83
~ If there is no word in the next break that can be connected to the word (or word string) selected for the first break in the process of S8, return to S2 and determine what is the previously selected word (or word string). Processes 83 to S8 are performed to select another different word (or word string).

812において選出した単HYが次の区切りの先頭にな
ると判別すると、CPtJ 10はS4で区切りの先頭
となり得ると判別した単語と、S6で区切りの最後にな
り得ると判別した単語までに対応するかな文字列が一区
切りであると判断し、それらの単語からなる文字列をそ
の区切り対応する候補文字列として選出しく813)、
その候補文字列を候補文字用バッファ部13bに記憶す
る、そして、CPU10はその候補文字列を液晶表示器
制御プログラムに基づいて液晶表示器5に通常表示する
とともにカーソルをその候補文字列の直後に表示する。
If it is determined in step 812 that the single HY selected will be the beginning of the next section, the CPtJ 10 determines whether it corresponds to the word determined in S4 to be the beginning of the division and the word determined to be the end of the division in S6. Determine that the character string is a break, and select a string consisting of these words as a candidate string corresponding to the break (813);
The candidate character string is stored in the candidate character buffer section 13b, and the CPU 10 normally displays the candidate character string on the liquid crystal display 5 based on the liquid crystal display control program and places the cursor immediately after the candidate character string. indicate.

又、さらにCPU10はS1〜S13の処理を繰返し行
って、同一の未確定かな文字列に対応する他の候補文字
列を検索し、最初に検索された候補文字列と共に、作業
用メモリ13の候補文字列バッファ部13bに記憶する
。そして、次候補キー22が押し下げ操作されると、次
候補キー22からの入力信号に基づいてcpuioは次
の候補文字列を候補文字用バッファ部13bから読出し
て先の1候補文字列に代えて液晶表示器5に通常表示す
る。
Furthermore, the CPU 10 repeats the processes of S1 to S13 to search for other candidate character strings corresponding to the same unconfirmed kana character string, and stores the candidates in the working memory 13 together with the first candidate character string searched. It is stored in the character string buffer section 13b. Then, when the next candidate key 22 is pressed down, CPUIO reads the next candidate character string from the candidate character buffer section 13b based on the input signal from the next candidate key 22 and replaces it with the previous one candidate character string. Normally displayed on the liquid crystal display 5.

そして、前記のように候補文字列が液晶表示器5に表示
された後、その候補文字列の直後にカーソルが位置され
た状態で操作者が実行キー8を操作すると、実行キー8
の確定信号に基づいてCPU10は作業用メモリ13の
候補文字用バッファ部13bに記憶した候補文字列を確
定文字列として確定処理する。即ち、入力バッファ部1
3aに記憶された未確定かな文字列の内、確定文字列に
対応するかな文字列を確定文字列に書換えて変換対象か
ら除く。
After the candidate character string is displayed on the liquid crystal display 5 as described above, when the operator operates the execution key 8 with the cursor positioned immediately after the candidate character string, the execution key 8
Based on the confirmation signal, the CPU 10 finalizes the candidate character string stored in the candidate character buffer section 13b of the working memory 13 as a final character string. That is, input buffer section 1
Among the undefined kana character strings stored in 3a, the kana character strings corresponding to the confirmed character strings are rewritten into confirmed character strings and excluded from the conversion target.

一方、候補文字列が確定処理される前に変換キー7を操
作すると、cpuioは次の区切りとの接続とは無関係
にカーソルの前に位置する未確定かな文字列(即ち先頭
の区切りのかな文字列)について通常のかな漢字変換を
行う。
On the other hand, if you operate the conversion key 7 before the candidate character string is confirmed, cpuio will convert the undefined kana character string (i.e. the first delimiter character Performs normal kana-kanji conversion for columns).

次に、具体的なかな漢字変換の処理について例をあげて
説明する。
Next, the specific kana-kanji conversion process will be explained using an example.

まず、文字キー6の入力により、「ふんばりながらさお
をにぎる。jというかな文字列を作業用メモリ13の入
力バッファ13aに記憶させ、反転表示された未確定か
な文字列にカーソルを位置させた状態で機能キー〇と変
換キー7とを共に操作すると、両キー7.9からの実行
指令信号に応答してCPU10はカーソルアドレスに基
づいス反転表示された未確定かな文字列の先頭を検索し
くSl)、先頭文字の位置にポインタをセットする(S
2)。
First, by inputting the character key 6, the character string ``grasp the pole while holding the pole.j'' is stored in the input buffer 13a of the working memory 13, and the cursor is positioned on the highlighted undefined character string. When function key 〇 and conversion key 7 are operated together in this state, in response to execution command signals from both keys 7 and 9, the CPU 10 searches for the beginning of the undefined character string displayed in reverse video based on the cursor address. SL), set the pointer to the position of the first character (S
2).

そして、cpui oは83.S4を繰返し、辞書メモ
リ12からその漢字変換対象文字列の区切りの先頭とな
り得る語「踏張り」を選出する。そして、S5において
、その選出した単語の読みに対応する未確定かな文字列
の直後、即ち、文字「な」の位置にポインタをセットす
る。続いて、S6でCPU10は「踏張り」が区切りの
最後になり得るか否かを判別する。
And cpuio is 83. S4 is repeated to select from the dictionary memory 12 the word "tobori" which can be the beginning of the break in the character string to be converted into kanji. Then, in S5, the pointer is set immediately after the undefined kana character string corresponding to the pronunciation of the selected word, that is, at the position of the character "na". Subsequently, in S6, the CPU 10 determines whether "holding down" can be the end of the break.

CPtJloは「踏張り」の文字コードデータが区切り
の最後になりえないため、セットしたポインタの位置即
ち「な」の文字から数えて作業用メモリ13に記憶した
10字以内の文字コードデータに基づきその文字列に対
応する単語の検索を辞書メモリ12を参照して行い、S
7.S8を繰返す。その結果、辞書メモリ12からその
文字列に対応する単語「なからJを発見すると、CPU
10はその発見した単語が文法情報により前に発見した
単語と接続が可能であると判別する。すると、CPtJ
loはS5に戻り、その発見した単語の読みに対応する
未確定かな文字列の直後、即ち「さ」りの位置にポイン
タをセットする。
CPtJlo is based on the character code data of 10 characters or less stored in the working memory 13 counting from the set pointer position, that is, the character "na", because the character code data for "tobori" cannot be at the end of the break. A search for a word corresponding to the character string is performed with reference to the dictionary memory 12, and S
7. Repeat S8. As a result, when the word "Nakara J" corresponding to that character string is found in the dictionary memory 12, the CPU
10 determines that the discovered word can be connected to a previously discovered word based on the grammatical information. Then, CPtJ
lo returns to S5 and sets the pointer immediately after the undefined kana character string corresponding to the pronunciation of the discovered word, that is, at the position of "sa".

そして、CPUl0はS7,88において選出した語「
踏張りながら」が区切りの最後になり得ると86で判別
すると、CPtJloはS9において前記セットしたポ
インタを基準として文字「ざ」の文字コードデータから
数えて10字以内の文字データに基づいてその文字列に
対応する単語の検索を辞書メモリ12を参照して行い、
39,810、S11.S12を繰返して検索する。検
索した結果、S11においてCPU10は語「竿」を発
見してその単語が詔「なから」と接続可能であり且つ区
切り先頭になると判別すると、CPU 10はS4で区
切りの先頭となり1qると判別した詔「踏張り」と、S
6で区切りの最後になり1すると判別した単語「ながら
」までを区切りの候補文字列として選出しく513)、
その1候補文字列を作業用メモリ13の1候補文字用バ
ッファ部13bに記憶する。そして、CPU10はその
一区切りとして作成した漢字を含む文字ケ1「踏張りな
がら」を候補文字列として液晶表示器制御プログラムに
基づいて液晶表示器5に通常表示するとともにカーソル
をその候補文字列の直後に表示する。
Then, CPU10 selects the word “
When it is determined in 86 that ``While holding on'' can be the end of the break, CPtJlo selects that character based on the character data within 10 characters counted from the character code data of the character ``Za'', using the set pointer as a reference in S9. A search for a word corresponding to the column is performed by referring to the dictionary memory 12;
39,810, S11. Search is performed repeatedly in S12. As a result of the search, in S11, the CPU 10 discovers the word "kan" and determines that the word can be connected to the edict "nakara" and is the first word in the break, and in S4 the CPU 10 determines that it is the first word in the break, 1q. The edict ``Stand on'' and S.
If you set 6 to the end of the delimiter and if you set 1 to the word ``Nagagara'', select it as a candidate character string for delimiter.513)
The one candidate character string is stored in the one candidate character buffer section 13b of the working memory 13. Then, the CPU 10 normally displays character number 1 ``Tonten Nagata'', which includes the kanji created as a break, on the liquid crystal display 5 based on the liquid crystal display control program as a candidate character string, and moves the cursor immediately after the candidate character string. to be displayed.

以下、候補文字列「踏張りながら」が液晶表示器5に表
示された後、操作者が実行キー8を操作すれば、作業用
メモリ13の変換対象文字列である未確定かな文字列「
ふんばりながらさおをにぎる。」の内、確定文字列に対
応するかな文字列「ふんばりながら」が変換対象から除
かれ、即ちそのかな文字列が入力バッファ部13aにお
いて確定文字列に書換えられる。従って、残りの変換対
象文字列は「さおをにぎる。」となる。以下、同様にか
な漢字変換処理を行うことにより、「ふんばりながらさ
おをにぎる。」の未確定かな文字列は最終的に「踏張り
ながら竿を握る。」に確定文字列に変換される。
Hereinafter, after the candidate character string ``Tonashi Nagara'' is displayed on the liquid crystal display 5, if the operator operates the execution key 8, the undetermined kana character string ``Kana'', which is the character string to be converted in the working memory 13, is displayed.
Grip the pole while hanging out. '', the kana character string "Funbarinaga" corresponding to the confirmed character string is excluded from the conversion target, that is, the kana character string is rewritten into the confirmed character string in the input buffer section 13a. Therefore, the remaining character string to be converted is "Sao wo Nigiru." Thereafter, by similarly performing the kana-kanji conversion process, the unconfirmed kana character string ``holding the pole while holding down.'' is finally converted into the confirmed character string ``holding the pole while stepping on it.''

なお、この発明は前記実施例に限定されるものではなく
、例えば前記実施例では先頭のポインタから10字以内
の読みで単語検索を行うようにしたが10字以外の読み
で単語検索を行ってもよいことは勿論である。
Note that the present invention is not limited to the embodiment described above; for example, in the embodiment described above, a word search is performed using the pronunciation of within 10 characters from the first pointer, but a word search is performed using pronunciations other than 10 characters. Of course, this is a good thing.

(発明の効果) 以上詳述したように、この発明は複数の区切りを含む未
確定かな文字列を簡単なキー操作で、先頭からの区切り
毎に正しい候補文字列が選出されたことを確認しながら
かな漢字変換できるので、一括変換時に起こりやすいで
たらめな変換を後で訂正する煩わしさがない。又、その
とき一つの区切りだけでなく、次に続く区切りとの接続
もチェックしながらかな漢字変換を行うため、漢字変換
の正解率を高くすることができ、かな漢字変換作業の労
力を軽減することができる浸れた効果を秦する。
(Effects of the Invention) As detailed above, the present invention allows undefined character strings containing multiple delimiters to be checked by simple key operations to confirm that the correct candidate character string has been selected for each delimiter from the beginning. Since it can perform simple and simple kanji conversion, there is no need to worry about correcting the haphazard conversions that tend to occur when converting all at once. In addition, since Kana-Kanji conversion is performed while checking not only one break, but also the connection with the next break, it is possible to increase the accuracy rate of Kanji conversion and reduce the labor involved in converting Kana-Kanji. Can Qin soaked effect.

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

第1図はこの発明の一実施例を示す電気ブロック回路図
、第2図は同じ(日本語ワードプロセッサの平面図、第
3図はフローチャートである。 1はワードプロセッサ、3はキーボード、4はプリンタ
、7は変換キー、8は実行キー、9は機能キー、10は
中央処理装置(CPU) 、11はROM、12は辞書
メモリ、13は作業用メモリ、18は文書メモリ、19
はプログラムメモリである。
Fig. 1 is an electrical block circuit diagram showing an embodiment of the present invention, Fig. 2 is the same (a plan view of a Japanese word processor), and Fig. 3 is a flow chart. 1 is a word processor, 3 is a keyboard, 4 is a printer, 7 is a conversion key, 8 is an execution key, 9 is a function key, 10 is a central processing unit (CPU), 11 is a ROM, 12 is a dictionary memory, 13 is a working memory, 18 is a document memory, 19
is the program memory.

Claims (1)

【特許請求の範囲】 1、一群のかな文字列に含まれる複数の区切りを割り出
し、各区切りに対応するかな文字列を漢字混じりの変換
文字列に一度に変換可能なかな漢字変換装置において、 かな文字を入力する文字キーと、 その文字キーにより入力されるかな文字列を順次記憶す
る記憶手段と、 各種のかな文字列に対応する漢字混じりの単語のデータ
を各単語間の接続情報とともに予め記憶する辞書メモリ
と、 前記記憶手段内の変換対象となるかな文字列中の先頭の
1区切りを割り出して当該1区切りのかな文字列を前記
辞書メモリに記憶された単語からなる候補文字列に変換
する際に、次の区切りとの接続の可否を判断して接続可
能な候補文字列を優先的に選出して前記先頭の1区切り
に対応する候補文字列とする変換手段と、 その変換手段に実行指令を付与する単位区切り変換手段
と、 前記変換手段により変換された候補文字列を確定文字列
として確定するか否かを選択するための選択キーと、 その選択キーの確定操作に応答して確定された確定文字
列に対応するかな文字列を前記変換対象から取除く確定
処理手段と を備えることを特徴とするかな漢字変換装置。
[Scope of Claims] 1. A kana-kanji conversion device capable of determining a plurality of breaks included in a group of kana character strings and converting the kana character string corresponding to each break into a converted character string containing kanji at one time, comprising: A character key for inputting a character key, a storage means for sequentially storing kana character strings input by the character key, and a storage means for storing in advance data of words mixed with kanji corresponding to various kana character strings along with connection information between each word. a dictionary memory; and determining the first break in the kana character string to be converted in the storage means and converting the kana character string of the one break into a candidate string consisting of the words stored in the dictionary memory. a converting means that determines whether or not it can be connected to the next break and selects connectable candidate character strings preferentially as candidate character strings corresponding to the first break; and an execution command to the converting means. unit delimiter converting means for adding a unit delimiter, a selection key for selecting whether or not to confirm the candidate character string converted by the converting means as a confirmed character string, A kana-kanji conversion device comprising: confirmation processing means for removing a kana character string corresponding to a confirmed character string from the conversion target.
JP61110151A 1986-05-14 1986-05-14 Kana-Kanji conversion device Expired - Fee Related JP2573183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61110151A JP2573183B2 (en) 1986-05-14 1986-05-14 Kana-Kanji conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61110151A JP2573183B2 (en) 1986-05-14 1986-05-14 Kana-Kanji conversion device

Publications (2)

Publication Number Publication Date
JPS62266660A true JPS62266660A (en) 1987-11-19
JP2573183B2 JP2573183B2 (en) 1997-01-22

Family

ID=14528343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61110151A Expired - Fee Related JP2573183B2 (en) 1986-05-14 1986-05-14 Kana-Kanji conversion device

Country Status (1)

Country Link
JP (1) JP2573183B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60103435A (en) * 1983-11-10 1985-06-07 Canon Inc Kana/kanji converter
JPS615368A (en) * 1984-06-18 1986-01-11 Alps Electric Co Ltd Kanji input processor
JPS6139153A (en) * 1984-07-31 1986-02-25 Oki Electric Ind Co Ltd Kana and kanji (chinese character) converting system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60103435A (en) * 1983-11-10 1985-06-07 Canon Inc Kana/kanji converter
JPS615368A (en) * 1984-06-18 1986-01-11 Alps Electric Co Ltd Kanji input processor
JPS6139153A (en) * 1984-07-31 1986-02-25 Oki Electric Ind Co Ltd Kana and kanji (chinese character) converting system

Also Published As

Publication number Publication date
JP2573183B2 (en) 1997-01-22

Similar Documents

Publication Publication Date Title
US5096423A (en) Computer system for teaching abbreviations for text and data processing functions
JPS62266660A (en) Kana-Kanji conversion device
JPS61250768A (en) Device for updating conversion dictionary
KR0164404B1 (en) Character control method and device using a few telephone buttons
JP2575650B2 (en) Kana-Kanji conversion device
JPH081639B2 (en) Word processor
JPS63146157A (en) Document processor
JPS6237430B2 (en)
JPH0565898B2 (en)
JPH0640325B2 (en) Writing device
JPS62266665A (en) Kana-Kanji conversion device
JP3042437B2 (en) How to display conversion candidates for reading input character strings
JP2543501B2 (en) Word processor
JPS5814688B2 (en) Kanji-mixed sentence input device that sequentially displays homophones
JPS62154169A (en) Dictionary retrieving method for kana-to-kanji converting device
JPH0638258B2 (en) Character processor
JPS61190658A (en) Word processor
JPS63257862A (en) Character processor
JPS6365564A (en) Japanese language input processing system for question-answer system
JPH01144158A (en) Input system for chinese sentence
JPS61194560A (en) Character processor
JPH1074199A (en) Character processing device and method and storage medium storing character processing program
JPS6227860A (en) Kanji input device
JPH063595B2 (en) Method and apparatus for displaying conversion candidates of reading input character string
JPS62266664A (en) Kana/kanji converting processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees