JPH0235562A - Processing method for japanese syllabary to chinese character conversion - Google Patents
Processing method for japanese syllabary to chinese character conversionInfo
- Publication number
- JPH0235562A JPH0235562A JP63185228A JP18522888A JPH0235562A JP H0235562 A JPH0235562 A JP H0235562A JP 63185228 A JP63185228 A JP 63185228A JP 18522888 A JP18522888 A JP 18522888A JP H0235562 A JPH0235562 A JP H0235562A
- Authority
- JP
- Japan
- Prior art keywords
- kanji
- kana
- data
- conversion
- output buffer
- 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
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 74
- 238000003672 processing method Methods 0.000 title claims description 8
- 235000016496 Panda oleosa Nutrition 0.000 claims abstract description 12
- 240000000220 Panda oleosa Species 0.000 claims abstract description 12
- 239000000284 extract Substances 0.000 claims description 2
- 238000000034 method Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 241000237502 Ostreidae Species 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 235000020636 oyster Nutrition 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は仮名文字により語句を入力し、仮名漢字変換の
指示を受けてその語句を漢字変換処理する仮名漢字変換
処理方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a kana-kanji conversion processing method for inputting a word using kana characters, receiving an instruction to convert the word from kana to kanji, and converting the word into kanji.
(従来の技術)
従来、ワードプロセッサ等に用いられている逐次仮名漢
字変換処理の動作は一般に、先ず、仮名文字により語句
を入力し、変換キーを押下すると当該語句が第1候補の
漢字に変換されて表示される。これが所望の漢字でない
ならば更に変換キーを押下すると第2候補の漢字に変え
て表示される。(Prior Art) Conventionally, the operation of sequential kana-kanji conversion processing used in word processors, etc. is to first input a word using kana characters, and when a conversion key is pressed, the word is converted into the first candidate kanji. will be displayed. If this is not the desired kanji, press the conversion key again to display the second candidate kanji instead.
このようにして全ての候補が出路ると再び第1候補が表
示される。これら各表示の際に、所望の漢字が得られた
として他の仮名文字を入力するなどの確定契機があると
、その時点で当該仮名漢字変換処理が終了する。In this way, when all the candidates are released, the first candidate is displayed again. At the time of each of these displays, if there is a confirmation opportunity such as inputting another kana character after the desired kanji has been obtained, the kana-to-kanji conversion process ends at that point.
(発明が解決しようとする課題)
しかしながら上記の仮名漢字変換方式では、所望の漢字
が表示されたのに、誤って変換キーを押してしまった場
合、その漢字を再び表示させるためには、全候補を一巡
させるか、仮名漢字変換部による変換処理を逆方向に候
補を変えながら行うようにした機能が必要であった。仮
名漢字変換部部は一般に標準処理によるものであるから
、これに変更を加えることは好ましくなかった。(Problem to be solved by the invention) However, in the above-mentioned kana-kanji conversion method, if the desired kanji is displayed but the conversion key is pressed by mistake, in order to display that kanji again, all candidates must be There was a need for a function that would allow the conversion process to be performed by the kana-kanji converter in the opposite direction while changing the candidates. Since the kana-kanji conversion section generally follows standard processing, it was not desirable to make any changes to it.
本発明の目的は、逐次変換された漢字データの格納位置
を入れ変えることによって、仮名漢字変換部の変更なし
で逆方向に候補を変えることができるようにした仮名漢
字変換処理方法を提供することにある。An object of the present invention is to provide a kana-kanji conversion processing method that allows candidates to be changed in the opposite direction without changing the kana-kanji conversion unit by changing the storage location of sequentially converted kanji data. It is in.
(課題を解決するための手段)
本発明は前記問題点を解決するために、仮名文字により
語句を入力しその漢字変換の指示を受ける毎に当該語句
に対して仮名漢字変換部が漢字候補を変えて逐次仮名漢
字変換しその変換データを取出す仮名漢字変換処理方法
において、当該入力による語句に対して順変換キーが操
作される毎に前記仮名漢字変換しその最新に変換した漢
字データを出力バッファに格納するとともに前回に該出
力バッファに格納した漢字データを退避バッファに格納
替えし、引続き前変換キーが操作されたとき前記出力バ
ッファと退避バッファに格納された各漢字データを相互
に入れ替えし、前記出力バッファに格納された漢字デー
タに基づいて当該語句の漢字候補を取出す仮名漢字変換
処理方法とした。(Means for Solving the Problems) In order to solve the above-mentioned problems, the present invention provides a method for inputting a word using kana characters, and each time receiving an instruction for converting the word into kanji, the kana-kanji conversion unit generates kanji candidates for the word. In a kana-kanji conversion processing method that sequentially converts kana-to-kanji and extracts the converted data, each time the forward conversion key is operated for the input word, the kana-kanji is converted and the most recently converted kanji data is output to the output buffer. and store the kanji data previously stored in the output buffer in the save buffer, and when the previous conversion key is subsequently operated, mutually exchange the kanji data stored in the output buffer and the save buffer, The present invention provides a kana-kanji conversion processing method for extracting kanji candidates for the word based on the kanji data stored in the output buffer.
(作 用)
本発明によれば、順変換キーが複数回操作されて逐次仮
名漢字変換されると前回に変換された漢字データは出力
バッファから退避バッファに格納替えされ、最新に変換
された漢字データは出力バッファに格納され、出力バッ
ファの漢字データが当該語句の漢字データとして取出さ
れ、引続き前変換キーが操作されると、出力バッファと
退避バッファに格納された各漢字データが入れ替えられ
、その結果による出力バッファの漢字データが同様に取
出される。(Function) According to the present invention, when the forward conversion key is operated multiple times to perform successive kana-kanji conversion, the previously converted kanji data is transferred from the output buffer to the save buffer, and the most recently converted kanji data is transferred from the output buffer to the save buffer. The data is stored in the output buffer, and when the kanji data in the output buffer is retrieved as the kanji data for the word or phrase, and the previous conversion key is subsequently operated, the kanji data stored in the output buffer and the save buffer are swapped, and the kanji data stored in the output buffer and save buffer are exchanged. Kanji data in the resulting output buffer is retrieved in the same way.
(実施例)
第1図は本発明の一実施例を示す仮名漢字変換処理回路
のブロック図、第2図は第1図の回路を収容しているワ
ードプロセッサの外観図である。(Embodiment) FIG. 1 is a block diagram of a kana-kanji conversion processing circuit showing an embodiment of the present invention, and FIG. 2 is an external view of a word processor that accommodates the circuit of FIG. 1.
1は装置本体、2は装置本体1に収容されて、標準化さ
れたプログラムにより仮名の語句を各漢字候補に変換す
る仮名漢字変換部、3はキーボード、4は仮名漢字変換
部2に仮名文字による語句を入力する仮名式カキ−であ
る。5は順変換キーで、その操作毎に仮名漢字変換部2
に対して仮名式カキ−4による語句を逐次仮名漢字変換
処理すべく指示し、或いは後記の制御部6によるプログ
ラムに指示する。6は制御部で、装置本体1に収容され
、順変換キー5或は後記する前変換キー11が操作され
たとき、仮名漢字変換部2によって変換された漢字デー
タを後記するプログラムによって格納制御等を行なう。1 is the main body of the device, 2 is a kana-kanji conversion unit housed in the main body 1 of the device and converts kana words into kanji candidates using a standardized program, 3 is a keyboard, and 4 is a kana-kanji conversion unit that converts kana characters into the kana-kanji conversion unit 2. This is a kana-style oyster for entering words. 5 is a forward conversion key, and for each operation, the kana-kanji conversion section 2
The controller instructs the Kana-style Kaki-4 to sequentially convert the words into kana-kanji characters, or instructs a program by the control unit 6 to be described later. Reference numeral 6 denotes a control unit, which is housed in the main body 1 of the device, and when the forward conversion key 5 or the pre-conversion key 11 (described later) is operated, stores the kanji data converted by the kana-kanji conversion unit 2 by a program described later. Do this.
7は漢字データを格納してその漢字候補を後段に出力す
る出力バッファ、8は出力バッファ7の漢字データを格
納替えし或は相互に入れ替えるための退避バッファ、9
は上記入れ替えの際に各漢字データを一時格納するため
の仲介のバッファである。10はカーソル移動指示等を
行なうシフトキーである。11は前変換キーで、順変換
キー5とシフトキー10との同時押下により機能して制
御部6に対して上記の入れ替え制御を指定するものであ
り、該各キー5゜10の組よりなる。12は制御部6に
対して当該仮名漢字変換の終了の契機を示す仮名式カキ
−4などを含む確定契機キーである。7 is an output buffer for storing kanji data and outputting the kanji candidates to a subsequent stage; 8 is a save buffer for restoring the kanji data in output buffer 7 or for mutually replacing the kanji data; 9
is an intermediary buffer for temporarily storing each kanji data during the above exchange. 10 is a shift key for instructing cursor movement and the like. Reference numeral 11 denotes a pre-conversion key, which functions when the forward conversion key 5 and shift key 10 are pressed simultaneously to specify the above-mentioned exchange control to the control unit 6, and is made up of sets of keys 5 and 10. Reference numeral 12 denotes a confirmation trigger key including a kana-style key 4 that indicates to the control unit 6 the trigger for ending the kana-kanji conversion.
13は出力バッファ7の漢字データに基づ(漢字などを
表示するデイスプレィ、14は装置本体1に収容され確
定契機キー12が操作されたときニ出力バッファ7の漢
字データなどを逐次記憶するメモリ、15はメモリ14
の漢字データを適時に格納するフロッピーディスク装置
である。13 is a display that displays kanji (kanji, etc.) based on the kanji data in the output buffer 7; 14 is a memory that is housed in the device body 1 and sequentially stores the kanji data, etc. in the output buffer 7 when the confirmation trigger key 12 is operated; 15 is memory 14
This is a floppy disk device that stores kanji data in a timely manner.
次に第1図の回路の動作を説明する。第3図はその動作
を示すフローチャートである。Next, the operation of the circuit shown in FIG. 1 will be explained. FIG. 3 is a flowchart showing the operation.
仮名式カキ−4により仮名入力されると(ステップSL
)、制御部6において、仮名漢字変換部2から出力され
る漢字候補番号nが0(出力なし)に初期設定され(S
2)、以下の各フラグFl。When a kana name is input using the kana style key-4 (step SL
), the control unit 6 initializes the kanji candidate number n output from the kana-kanji conversion unit 2 to 0 (no output) (S
2), each of the following flags Fl.
F2が0に初期設定される(S3)。F2 is initialized to 0 (S3).
フラグFlは番号nが0でないときに順変換キー5が操
作されたことにより1となるフラグであリ、フラグF2
は前変換キー11が操作されたことによる漢字がデイス
プレィ13に表示されているときに1となるフラグであ
る。The flag Fl is a flag that becomes 1 when the forward conversion key 5 is operated when the number n is not 0, and the flag F2
is a flag that becomes 1 when a kanji character resulting from the operation of the previous conversion key 11 is displayed on the display 13.
引続き順変換キー5が操作されると(S4)、このとき
nmOであって(S 5)、フラグF2が0であるので
(S a)、漢字候補番号nが+1されて最初の候補1
となる(S7)。この場合、番号nが全候補数以内であ
るとして(S8)、当該n−1の候補に漢字変換され(
S 9)、その変換データが出力バッファ7に格納され
(SIO)、該漢字データに基づく漢字がデイスプレィ
13に表示され(S 11)フラグF2はそのままの0
となる( S 12)。なお、前記ステップS8におい
て、番号nが全候補数を越えたときはn−1に戻る(
S 13)。When the forward conversion key 5 is subsequently operated (S4), since it is nmO at this time (S5) and the flag F2 is 0 (S a), the kanji candidate number n is incremented by 1 and the first candidate 1 is selected.
(S7). In this case, assuming that the number n is within the total number of candidates (S8), the kanji is converted to the n-1 candidate (
S9), the converted data is stored in the output buffer 7 (SIO), the kanji based on the kanji data is displayed on the display 13 (S11), and the flag F2 remains 0.
(S12). In addition, in step S8, when the number n exceeds the total number of candidates, the process returns to n-1 (
S13).
この状態で前変換キー11が操作されたときは(S4
、514) 、フラグFlが0であるために(S15)
、後記する出力バッファ7と退避バッファとのデータの
入れ替えは行なわれない。When the previous conversion key 11 is operated in this state (S4
, 514), because the flag Fl is 0 (S15)
, data is not exchanged between the output buffer 7 and the save buffer, which will be described later.
引続き順変換キー5が操作されると(S4)、このとき
n−1であるから(S 5)、フラグF1が1になり(
91B)、n−2となって(S6.S7)、漢字変換さ
れる(S8.89)。n−mlのデータは退避バッファ
8に格納され、n−2のデータが出力バッファ7に格納
され(SIO)、n−2の漢字が表示される( S 1
1)。When the forward conversion key 5 is subsequently operated (S4), since n-1 is at this time (S5), the flag F1 becomes 1 (
91B), becomes n-2 (S6, S7), and is converted into Kanji (S8, 89). n-ml data is stored in the save buffer 8, n-2 data is stored in the output buffer 7 (SIO), and n-2 kanji are displayed (S1
1).
次に例えば前変換キー11が操作されると(S4 、5
L4) 、このとき、フラグFlが1、フラグF2が0
であるから(S15)、出力バッファ7のn=2のデー
タと退避バッファ8のn−1のデータとが相互に入れ替
えられ(S17)、n=1のデータが表示される( S
1g)。そしてフラグF2が1となる( S 19)
。Next, for example, when the previous conversion key 11 is operated (S4, 5
L4), at this time, flag Fl is 1 and flag F2 is 0.
Therefore, the data n=2 in the output buffer 7 and the data n-1 in the save buffer 8 are exchanged (S17), and the data n=1 is displayed (S15).
1g). Then flag F2 becomes 1 (S19)
.
この状態で前変換キー11が操作されたときは前記と同
様にして(S4 、 S13. 5J4) 、データ
の入替えは行なわれない。When the pre-conversion key 11 is operated in this state, data is not replaced in the same manner as described above (S4, S13.5J4).
なお、フローチャートには示していないが、本実施例に
おいては、例えば仮名漢字変換の候補がm個あるとする
と、順変換キー5の操作により第1候補が表示されてい
るときに前変換キー11が操作されると、第m候補が表
示されるようにしている。Although not shown in the flowchart, in this embodiment, for example, if there are m candidates for kana-kanji conversion, when the first candidate is displayed by operating the forward conversion key 5, the previous conversion key 11 is pressed. When is operated, the mth candidate is displayed.
次に順変換キー5が操作されると(S4)、フラグF2
−1であるから順変換キー5の動作は仮名漢字変換部2
に対して無効になり(S6)、前変換により出力バッフ
ァ7に格納されたn−1のデータと退避バッファ8に格
納されたn−2のデータとが相互に入れ替えられ(S2
0)、n−2のデータの漢字が表示される( S 11
)。フラグF2は0となる( S 12)。Next, when the forward conversion key 5 is operated (S4), the flag F2
-1, so the operation of the forward conversion key 5 is the kana-kanji conversion unit 2.
(S6), and the n-1 data stored in the output buffer 7 by the previous conversion and the n-2 data stored in the save buffer 8 are exchanged (S2
0), the kanji of data n-2 is displayed (S 11
). Flag F2 becomes 0 (S12).
この状態においては順変換キー5の操作による仮名漢字
変換と前変換キー11の操作によるデータの入替えを可
能にしている。In this state, it is possible to perform kana-kanji conversion by operating the forward conversion key 5 and to exchange data by operating the pre-conversion key 11.
ここで例えば新たな仮名人カキ−4の操作等による確定
契機キー12が操作されると(S 21)、当該表示中
の出力バッファ7のデータがメモリ14に記憶され、そ
してそのデータは適時にフロッピーディスク装置15の
フロッピーディスクに格納される。Here, when the confirmation trigger key 12 is operated, for example, by operating a new Kanajin Kaki-4 (S21), the data in the output buffer 7 currently being displayed is stored in the memory 14, and the data is stored in a timely manner. It is stored on the floppy disk of the floppy disk device 15.
なお、本実施例においては、最新に変換した漢字データ
以外の前回の変換による漢字データは、最新の変換より
1回前のデータのみ格納して1回前のデータが取出せる
ようにしたが、複数回前の各データが取出せるようにし
てもよい。その場合は、退避バッファ8を多面化して、
最新より各回前のデータを逐次格納し、前変換キー11
が操作される毎にこれを逐次出力バッファ7のデータと
入れ替え、或は順変換キー5が操作されたときはその入
れ替えを戻して、これら各操作毎に出力Aッファ7のデ
ータを取出すようなプログラムにする。In addition, in this embodiment, for the kanji data resulting from the previous conversion other than the most recently converted kanji data, only the data one time before the latest conversion is stored so that the data one time before can be retrieved. Each piece of data from a plurality of times ago may be retrieved. In that case, make the evacuation buffer 8 multifaceted,
The data from each time before the latest is stored sequentially, and the previous conversion key 11
Each time A is operated, this is sequentially replaced with the data in the output buffer 7, or when the forward conversion key 5 is operated, the replacement is undone, and the data in the output A buffer 7 is retrieved for each of these operations. Make it into a program.
(発明の効果)
以上説明したように本発明によれば、仮名漢字変換部に
よる仮名漢字変換の動作に変更を加えることなしに、変
換されたデータの格納位置を入れ替えることによって、
仮名漢字変換部が漢字候補を取出す順序とは逆方向の取
出しを可能にしたので、仮名漢字変換部は標準のプログ
ラムによって構成することができ、低コストで信頼性の
高い仮名漢字変換処理方法を提供することができる。(Effects of the Invention) As explained above, according to the present invention, by changing the storage location of converted data without changing the operation of kana-kanji conversion by the kana-kanji conversion unit,
Since the Kana-Kanji converter is able to extract kanji candidates in the opposite order, the Kana-Kanji converter can be configured using a standard program, providing a low-cost and highly reliable Kana-Kanji conversion processing method. can be provided.
第1図は本発明による仮名漢字変換処理回路のブロック
図、第2図は本発明に係わるワードプロセッサの外観図
、第3図は第1図の回路の動作を示すフローチャートで
ある。
2・・・仮名漢字変換部、4・・・仮名人カキ−5・・
・順変換キー 6・・・制御部、7・・・出力バッファ
、8・・・退避バッファ、11・・・前変換キー 13
・・・デイスプレィ。
特許出願人 沖電気工業株式会社代理人 弁理士
吉 1)精 孝FIG. 1 is a block diagram of a kana-kanji conversion processing circuit according to the present invention, FIG. 2 is an external view of a word processor according to the present invention, and FIG. 3 is a flowchart showing the operation of the circuit of FIG. 1. 2...Kana-kanji conversion section, 4...Kanajin Kaki-5...
・Forward conversion key 6...Control unit, 7...Output buffer, 8...Evacuation buffer, 11...Previous conversion key 13
...display. Patent Applicant Oki Electric Industry Co., Ltd. Agent Patent Attorney Yoshi 1) Takashi Sei
Claims (1)
る毎に当該語句に対して仮名漢字変換部が漢字候補を変
えて逐次仮名漢字変換しその変換データを取出す仮名漢
字変換処理方法において、当該入力による語句に対して
順変換キーが操作される毎に前記仮名漢字変換しその最
新に変換した漢字データを出力バッファに格納するとと
もに前回に該出力バッファに格納した漢字データを退避
バッファに格納替えし、 引続き前変換キーが操作されたとき前記出力バッファと
退避バッファに格納された各漢字データを相互に入れ替
えし、 前記出力バッファに格納された漢字データに基づいて当
該語句の漢字候補を取出す ことを特徴とする仮名漢字変換処理方法。[Claims] Kana-kanji conversion in which a word is input using kana characters, and each time an instruction for kanji conversion is received, a kana-kanji conversion unit changes kanji candidates for the word, sequentially converts the word from kana to kanji, and extracts the converted data. In the processing method, each time the forward conversion key is operated for the input word/phrase, the above-mentioned kana-kanji conversion is performed, and the most recently converted kanji data is stored in the output buffer, and at the same time, the kanji data previously stored in the output buffer is Then, when the previous conversion key is operated, the kanji data stored in the output buffer and the save buffer are exchanged, and the word/phrase is converted based on the kanji data stored in the output buffer. A kana-kanji conversion processing method characterized by extracting kanji candidates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63185228A JPH0235562A (en) | 1988-07-25 | 1988-07-25 | Processing method for japanese syllabary to chinese character conversion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63185228A JPH0235562A (en) | 1988-07-25 | 1988-07-25 | Processing method for japanese syllabary to chinese character conversion |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0235562A true JPH0235562A (en) | 1990-02-06 |
Family
ID=16167118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63185228A Pending JPH0235562A (en) | 1988-07-25 | 1988-07-25 | Processing method for japanese syllabary to chinese character conversion |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0235562A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI557821B (en) * | 2014-02-21 | 2016-11-11 | 新川股份有限公司 | Manufacturing method of semiconductor device and wire bonding device |
-
1988
- 1988-07-25 JP JP63185228A patent/JPH0235562A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI557821B (en) * | 2014-02-21 | 2016-11-11 | 新川股份有限公司 | Manufacturing method of semiconductor device and wire bonding device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0180047B1 (en) | Text editor for speech input | |
JP2005078211A (en) | Chinese input program | |
JPH0235562A (en) | Processing method for japanese syllabary to chinese character conversion | |
JP3259619B2 (en) | Kana input device | |
EP0483368A1 (en) | Method of searching sequence program | |
JPS6389970A (en) | Kana-kanji conversion device | |
JPS60132265A (en) | "kana" "kanji" converting device | |
JP3058423B2 (en) | Document processing device | |
JPS5875234A (en) | Character input equipment | |
JP3148324B2 (en) | Character input device | |
JPS60103389A (en) | Character processor | |
JPS5872234A (en) | Key input system | |
JPH0385670A (en) | Two-step display system document processor | |
JPH0731315Y2 (en) | Electronics | |
JPS62190551A (en) | Word processor | |
JPH0578057B2 (en) | ||
JPS62282364A (en) | Character string retrieval system | |
JPH07210561A (en) | Electronic dictionary | |
JPH03208162A (en) | Input device | |
JPH0721189A (en) | Translation assisting system | |
JPS6346564A (en) | Documentation device | |
JPS6336365A (en) | Japanese language processor | |
JPH07111716B2 (en) | Electronic translator | |
JPH01204174A (en) | Character processor | |
JPH04192068A (en) | Editing system |