JPH0656844U - Kana-Kanji conversion processor - Google Patents

Kana-Kanji conversion processor

Info

Publication number
JPH0656844U
JPH0656844U JP7154193U JP7154193U JPH0656844U JP H0656844 U JPH0656844 U JP H0656844U JP 7154193 U JP7154193 U JP 7154193U JP 7154193 U JP7154193 U JP 7154193U JP H0656844 U JPH0656844 U JP H0656844U
Authority
JP
Japan
Prior art keywords
character string
conversion
kana
input
candidate
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
JP7154193U
Other languages
Japanese (ja)
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP7154193U priority Critical patent/JPH0656844U/en
Publication of JPH0656844U publication Critical patent/JPH0656844U/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 入力された仮名文字列に対する変換処理、解
除処理をスムーズに行なえるようにする。 【構成】 キー入力部11から入力された仮名文字列は
入力バッファ13に記憶され、この仮名文字列を変換辞
書15で変換した変換候補は候補バッファ16に記憶さ
れる。そしてその変換候補は表示部14で表示される。
この変換候補が表示されている状態で確定操作が行なわ
れると、その変換候補はテキストメモリ18に格納され
ると共に、その変換候補及び対応する仮名文字列は入力
バッファ13、候補バッファ16から削除される。
(57) [Summary] [Purpose] To enable smooth conversion and cancellation of input kana character strings. A kana character string input from the key input unit 11 is stored in the input buffer 13, and conversion candidates obtained by converting the kana character string by the conversion dictionary 15 are stored in the candidate buffer 16. Then, the conversion candidate is displayed on the display unit 14.
When the confirmation operation is performed while the conversion candidate is displayed, the conversion candidate is stored in the text memory 18, and the conversion candidate and the corresponding kana character string are deleted from the input buffer 13 and the candidate buffer 16. It

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、入力文字列を漢字混じり文字列に変換する仮名漢字変換処理装置に 関する。 The present invention relates to a kana-kanji conversion processing device for converting an input character string into a mixed kanji character string.

【0002】[0002]

【従来の技術】[Prior art]

従来、ワードプロセッサにおいては、仮名文字列をべた入力した後、変換キー を操作すると、上記仮名文字列は漢字混じりの変換候補文字列に変換されて表示 される。 Conventionally, in a word processor, when a conversion key is operated after a kana character string is completely input, the kana character string is converted into a conversion candidate character string containing kanji and displayed.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

上記のようにして変換された変換候補文字列を表示した後において、この変換 候補文字列に誤りがあることを発見した場合、その誤りが仮名文字列の入力の誤 りであることがある。 このような場合、その誤りのある変換候補文字列を指定して、この変換候補文 字列を元の仮名文字列に戻し、この後この仮名文字列に対して文字削除を行なっ たり文字追加を行なう等の修正作業をすることになる。 例えば、変換候補に誤りがあった場合にその候補に対応する入力仮名文字列の 一部を削除するだけで所望する変換結果が得られるような場合がある。 このような場合、従来においては、上記変換候補文字列を元の仮名文字列に戻 すキー操作と、この仮名文字列に対して削除を行なうキー操作とが全く独立して いたため、上記のような場合にあっても仮名文字列に戻すキー操作と、仮名文字 列の一部を削除するキー操作を別個に行なわなければならず、スムーズな修正作 業が行なえないという問題があった。 本考案の課題は、入力仮名文字列を仮名漢字変換候補文字列に変換した後であ っても、この変換候補文字列を元の仮名文字列に戻し、かつこの仮名文字列の削 除を容易に行なえるようにすることである。 If, after displaying the conversion candidate character string converted as described above, it is found that this conversion candidate character string has an error, the error may be an input error of the kana character string. In such a case, specify the erroneous conversion candidate character string, restore this conversion candidate character string to the original kana character string, and then delete or add characters to this kana character string. It will be necessary to carry out correction work. For example, when a conversion candidate has an error, a desired conversion result may be obtained only by deleting a part of the input kana character string corresponding to the candidate. In such a case, conventionally, the key operation for returning the conversion candidate character string to the original kana character string and the key operation for deleting the kana character string were completely independent. Even in such a case, the key operation for returning to the kana character string and the key operation for deleting a part of the kana character string must be performed separately, and there is a problem that a smooth correction operation cannot be performed. The problem of the present invention is to return the conversion candidate character string to the original kana character string and delete the kana character string even after converting the input kana character string to the kana kanji conversion candidate character string. It should be easy to do.

【0004】[0004]

【課題を解決するための手段】[Means for Solving the Problems]

本考案の手段は次の通りである。 文字列を入力し、この入力文字列を表示し、上記入力文字列を漢字混じりの変 換文字列に変換し、この変換文字列を表示し、特定の操作が行なわれた際に、上 記表示画面上に表示された上記変換文字列を、その変換文字列の変換前の入力文 字列に変更して表示し、上記変更表示の後に、更に上記特定の操作が行なわれた 際に、上記変更表示された入力文字を削除するようにしたことを特徴とする。 The means of the present invention are as follows. Input a character string, display this input character string, convert the above input character string into a conversion character string containing Chinese characters, display this conversion character string, and display the above when a specific operation is performed. When the conversion character string displayed on the display screen is changed to the input character string before conversion of the conversion character string and displayed, and when the above-mentioned specific operation is further performed after the change display, It is characterized in that the changed and displayed input characters are deleted.

【0005】[0005]

【作用】[Action]

本考案の手段の作用は次の通りである。 文字列を入力し、この入力文字列を表示し、上記入力文字列を漢字混じりの変 換文字列に変換し、この変換文字列を表示し、特定の操作が行なわれた際に、上 記表示画面上に表示された上記変換文字列を、その変換文字列の変換前の入力文 字列に変更して表示し、上記変更表示の後に、更に上記特定の操作が行なわれた 際に、上記変更表示された入力文字を削除する。 従って、入力仮名文字列を仮名漢字変換候補文字列に変換した後であっても、 特定の操作を連続して行なうことで、この変換候補文字列を元の仮名文字列に戻 し、かつこの仮名文字列の削除を行なえる。 The operation of the means of the present invention is as follows. Input a character string, display this input character string, convert the above input character string into a conversion character string containing Chinese characters, display this conversion character string, and display the above when a specific operation is performed. When the conversion character string displayed on the display screen is changed to the input character string before conversion of the conversion character string and displayed, and when the above-mentioned specific operation is further performed after the change display, Delete the input characters that have been changed and displayed. Therefore, even after converting the input kana character string to the kana-kanji conversion candidate character string, by performing a specific operation continuously, this conversion candidate character string is returned to the original kana character string, and Kana character strings can be deleted.

【0006】[0006]

【実施例】【Example】

以下、この考案を図1〜図7に示す一実施例に基づいて具体的に説明する。な お、本実施例はワードプロセッサに適用した例を示している。構 成 図1はこのワードプロセッサの基本的な構成を示すブロック回路図である。図 中11はキー入力部で、このキーボード上には文字キー等の他にかな漢字変換を 指定する変換キーKA、かな漢字変換を行なわずにかな文字を確定する無変換キ ーKB、漢字候補を後述するテキストメモリに転送して確定する確定キーKC、 現在実行中の機能を解除する解除キーKD、カーソル位置を左方向に移動させる 左カーソルキーKE、カーソル位置を右方向に移動させる右カーソルキーKFが 設けられている。このテキストメモリ1から操作キーに対応して出力されるキー コードは、CPU(中央演算処理回路)12に入力される。The present invention will be described in detail below with reference to an embodiment shown in FIGS. The present embodiment shows an example applied to a word processor. Structure FIG. 1 is a block circuit diagram showing the basic structure of this word processor. In the figure, numeral 11 is a key input section. In addition to character keys and the like, a conversion key KA for specifying kana-kanji conversion, a non-conversion key KB for fixing kana characters without kana-kanji conversion, and kanji candidates will be described later on this keyboard. Enter key KC to transfer to the text memory to confirm, Release key KD to cancel the function currently being executed, Left cursor key KE to move the cursor position to the left, Right cursor key KF to move the cursor position to the right Is provided. The key code output from the text memory 1 corresponding to the operation key is input to the CPU (central processing unit) 12.

【0007】 CPU12は、予め記憶されているマイクロプログラムにしたがって文章作成 処理、編集処理、表示・印字処理等の実行を制御する。即ち、CPU12は入力 されたかな文字列データを入力バッファ13に格納すると共に、この入力バッフ ァ13内の文字列データを表示部14に表示させる。この場合、入力バッファ1 3は例えば78文字分の未変換かな文字列データを記憶可能なもので、この文字 列データは表示部14に設けられた1行分の入力表示エリアIDAに表示される 。また、CPU12は変換キーKAの操作に応答して入力バッファ13内のかな 文字列データを変換辞書15を用いて1文節毎にかな漢字変換を行って候補バッ ファ16に格納すると共に、表示部14の入力表示エリアIDAに表示させる。 この場合、かな漢字変換された文節を管理する為の文節管理データが文節管理バ ッファ17に格納される。また、CPU12は確定キーKCの操作に応答して候 補バッファ16内の変換候補文字列データを確定しテキストメモリ18に格納す ると共に、確定データを候補バッファ16から削除する。テキストメモリ18は ランダムアクセスメモリによって構成され、複数ページ分の確定文章を記憶し、 キー入力部11からの印字指令に応答してCPU12の制御下でその内容が読み 出され、サーマルプリンタ等の印字部19にセットされている記録紙Pに印字さ れる。The CPU 12 controls execution of text creation processing, editing processing, display / print processing, etc. according to a microprogram stored in advance. That is, the CPU 12 stores the input kana character string data in the input buffer 13 and displays the character string data in the input buffer 13 on the display unit 14. In this case, the input buffer 13 can store unconverted kana character string data of, for example, 78 characters, and this character string data is displayed in the input display area IDA of one line provided in the display unit 14. . In addition, the CPU 12 converts the kana character string data in the input buffer 13 into kana-kanji characters for each phrase using the conversion dictionary 15 in response to the operation of the conversion key KA and stores the kana-kanji characters in the candidate buffer 16 and the display unit 14 Is displayed in the input display area IDA. In this case, the phrase management data for managing the kana-kanji converted phrases is stored in the phrase management buffer 17. Further, the CPU 12 confirms the conversion candidate character string data in the candidate buffer 16 and stores it in the text memory 18 in response to the operation of the confirm key KC, and deletes the confirmed data from the candidate buffer 16. The text memory 18 is composed of a random access memory, stores fixed sentences for a plurality of pages, and the contents thereof are read out under the control of the CPU 12 in response to a print command from the key input unit 11 and printed by a thermal printer or the like. It is printed on the recording paper P set in the section 19.

【0008】 入力バッファ13、候補バッファ16、文節管理バッファ17の内容は、対応 するポインタN1、E1、N2、E2、N3、E3の値にしたがって文節単位で処理さ れる。なお、ポインタN1、N2、N3は対応する入力バッファ13、候補バッフ ァ16、文節管理バッファ17における指定文節の先頭位置を示すポインタ、ポ インタE1、E2、E3は対応する入力バッファ13、候補バッファ16、文節管 理バッファ17に記憶されているデータの最終位置を示すポインタである。また 、カーソルポインタ20は入力バッファ13に対しては1文字毎に、候補バッフ ァ16に対しては1文節毎に指定する為のポインタ、未変換ポインタ21は入力 バッファ13内のデータのうち未変換かな文字列データの先頭位置を示すポイン タである。文節管理バッファ17にはYレジスタおよびKレジスタの値が文節毎 に格納される。Yレジスタ、Kレジスタは文節管理データを求める為の演算用レ ジスタである。The contents of the input buffer 13, the candidate buffer 16, and the phrase management buffer 17 are processed in phrase units according to the values of the corresponding pointers N 1 , E 1 , N 2 , E 2 , N 3 , and E 3 . The pointers N 1 , N 2 and N 3 correspond to the input buffer 13, the candidate buffer 16 and the pointer indicating the head position of the designated phrase in the phrase management buffer 17, and the pointers E 1 , E 2 and E 3 correspond to them. It is a pointer that indicates the final position of the data stored in the input buffer 13, the candidate buffer 16, and the phrase management buffer 17. The cursor pointer 20 is a pointer for designating each character in the input buffer 13 and each candidate buffer 16 for each phrase, and the unconverted pointer 21 is one of the unconverted data in the input buffer 13. This is a pointer indicating the start position of the converted kana character string data. The clause management buffer 17 stores the values of the Y register and the K register for each clause. The Y register and the K register are arithmetic registers for obtaining the phrase management data.

【0009】 次に、文節管理バッファ17の記憶内容を図2を参照して具体的に説明する。 この文節管理バッファ17は1文節3バイト構成で、その1バイト目には入力バ ッファ13の対応文節内の文字列データに含まれる文字数(よみ長)、2バイト 目には候補バッファ16の対応文節内の文字列データに含まれる文字数(候補長 )、3バイト目には属性コードが格納される。この場合、属性コードとしてかな 漢字変換済を示す属性(※)、あるいはかな漢字変換時に解除キーKDが操作さ れた際に、変換候補がその変換前の状態に戻され、かな入力可能状態にセットさ れたことを示す入力可能属性(?)がある。Next, the contents stored in the phrase management buffer 17 will be specifically described with reference to FIG. The phrase management buffer 17 is composed of 1 phrase and 3 bytes, and the first byte corresponds to the number of characters (read length) included in the character string data in the corresponding phrase of the input buffer 13 and the second byte corresponds to the candidate buffer 16. The number of characters (candidate length) included in the character string data in the clause is stored in the third byte. In this case, as an attribute code, an attribute (*) indicating that kana-kanji conversion has been completed, or when the release key KD is operated during kana-kanji conversion, the conversion candidates are returned to the state before the conversion and set to the kana input ready state. There is an inputable attribute (?) That indicates that something was touched.

【0010】動 作 いま、本実施例の動作を図3に示すキー操作に対応する表示内容を参照して具 体的に説明する。 図3(A)は入力バッファ13に格納されている入力かな文字列データがID Aに表示されている状態を示している。この状態において変換キーKAが操作さ れるとかな漢字変換が行なわれ、図3(B)に示すような変換候補文字列データ が入力表示エリアIDAに表示される。[0010] Operation Now, the operation of the present embodiment concrete described with reference to the display content corresponding to the key operations shown in FIG. FIG. 3A shows a state in which the input kana character string data stored in the input buffer 13 is displayed in ID A. When the conversion key KA is operated in this state, kana-kanji conversion is performed, and conversion candidate character string data shown in FIG. 3B is displayed in the input display area IDA.

【0011】 <かな漢字変換処理> 変換キーKAが操作されると、図4に示すフローにしたがった動作が実行され る。即ち、未変換ポインタ21で指定される入力バッファ13内の未変換先頭文 字より最長一致法に基づいて1文節分の文字列データを切り出してかな漢字変換 を行う(ステップA1)。これによって変換された1文節分の候補文字列を候補 バッファ16に格納する(ステップA2)。そして、1文節分のかな漢字変換を 行うと、入力バッファ13、候補バッファ16、文節管理バッファ17に対応す るポインタN1、N2、N3の値をインクリメントする(ステップA3)。即ち、 ポインタE1、E2、E3の値(最初は“0”)に「1」を加算し、その結果を対 応するポインタN1、N2、N3にセットすることによって文節の先頭位置が更新 される。これによって、最初は各ポインタN1、N2、N3に「1」がセットされ る。そして、かな漢字変換を行った文節のかな文字列データに含まれる文字数( よみ数)をYレジスタに、また、変換候補文字列データに含まれる文字数(候補 長)をKレジスタにセットする(ステップA4)。いま、最初の1文節のかな文 字列データ「ふくぶんせつの」の“よみ数”は7文字、また、この変換候補文字 列データ「複文節の」の“候補長”は4文字であるから、Yレジスタには「7」 、Kレジスタには「4」がセットされる。そして、入力バッファ13、候補バッ ファ16、文節管理バッファ17に対応するポインタE1、E2、E3の値をイン クリメントする(ステップA5)。この場合、ポインタE1にYレジスタの値を 、ポインタE2にKレジスタの値、ポインタE3に「3」を加算することによって それらの更新を行なう。この結果、ポインタE1の値は「7」、ポインタE2の値 は「4」、ポインタE3の値は「3」となる。そして、Yレジスタ内の“よみ数 ”(7)とKレジスタ内の候補長(4)をポインタN3で示される位置から文節 管理バッファ17に順次セットし(ステップA6)、そして、属性コード(※) をポインタE3で示される文節管理バッファ17の位置にセットする(ステップ A7)。このようにして文節管理データを文節管理バッファ17にセットしたら 、未変換ポインタ21の値が入力バッファ13内の未変換かな文字列データの先 頭位置となるように未変換ポインタ21の値を更新する(ステップA8)。これ によって、未変換ポインタ21の値は「0」から「8」に更新される。そして、 入力バッファ13内に未変換かな文字列データが残っているかを調べ(ステップ A9)、有れば、ステップA1に戻り、次の1文節分の未変換かな文字列データ を切り出してかな漢字変換を行う。以下、上述の動作を1文節毎に繰り返し実行 してゆき、そして、入力バッファ13の内容全ての変換が終ると、次のステップ A10に進み、表示部14の入力表示エリアIDAに表示されている候補バッフ ァ16内の変換候補文字列データのうち、ポインタN2の値で示される位置から Kレジスタ内の文字数分(3文字分)の文字列データを特にあみかけ表示する。 図3(B)はこの状態を示し、最後の文節の「変換の」があみかけ表示されると 共に、表示されている全ての変換候補文字列データの下にアンダラインが付加さ れ、そのデータが変換候補であることが示される。<Kana-Kanji Conversion Processing> When the conversion key KA is operated, the operation according to the flow shown in FIG. 4 is executed. That is, kana-kanji conversion is performed by cutting out character string data for one phrase based on the longest matching method from the unconverted head character in the input buffer 13 designated by the unconverted pointer 21 (step A1). The one-phrase candidate character string thus converted is stored in the candidate buffer 16 (step A2). When the kana-kanji conversion for one phrase is performed, the values of the pointers N 1 , N 2 and N 3 corresponding to the input buffer 13, the candidate buffer 16 and the phrase management buffer 17 are incremented (step A3). That is, the value of the pointers E 1 , E 2 and E 3 (initially “0”) is incremented by “1” and the result is set to the corresponding pointers N 1 , N 2 and N 3 , so that The start position is updated. As a result, “1” is initially set in each of the pointers N 1 , N 2 and N 3 . Then, the number of characters (the number of readings) included in the kana character string data of the phrase in which the kana-kanji conversion is performed is set in the Y register, and the number of characters (candidate length) included in the conversion candidate character string data is set in the K register (step A4). ). Now, the kana character string data "Fukubunsetsu" for the first 1 phrase has a "reading number" of 7 characters, and the conversion candidate character string data "complex phrase" has a "candidate length" of 4 characters. Therefore, "7" is set in the Y register and "4" is set in the K register. Then, the values of the pointers E 1 , E 2 and E 3 corresponding to the input buffer 13, the candidate buffer 16 and the clause management buffer 17 are incremented (step A5). In this case, the value of the Y register is added to the pointer E 1 , the value of the K register is added to the pointer E 2 , and “3” is added to the pointer E 3 to update them. As a result, the value of the pointer E 1 is “7”, the value of the pointer E 2 is “4”, and the value of the pointer E 3 is “3”. Then, sequentially set from the position shown "reading number" in the Y register (7) and the K candidate length in the register (4) pointer N 3 in clause management buffer 17 (step A6), and the attribute code ( *) Is set to the position of the phrase management buffer 17 indicated by the pointer E 3 (step A7). After setting the phrase management data in the phrase management buffer 17 in this way, the value of the unconverted pointer 21 is updated so that the value of the unconverted pointer 21 becomes the leading position of the unconverted kana character string data in the input buffer 13. (Step A8). As a result, the value of the unconverted pointer 21 is updated from "0" to "8". Then, it is checked whether or not the unconverted kana character string data remains in the input buffer 13 (step A9), and if there is, the process returns to step A1 to extract the unconverted kana character string data for the next one phrase and convert the kana-kanji character. I do. Thereafter, the above-described operation is repeatedly executed for each phrase, and when the conversion of all the contents of the input buffer 13 is completed, the process proceeds to the next step A10, and is displayed in the input display area IDA of the display unit 14. Among the conversion candidate character string data in the candidate buffer 16, the character string data for the number of characters (three characters) in the K register from the position indicated by the value of the pointer N 2 is particularly displayed as a dummy display. Fig. 3 (B) shows this state. The "conversion" of the last clause is displayed in appearance, underline is added under all the displayed conversion candidate character string data, and It indicates that the data is a conversion candidate.

【0012】 <中間処理> いま、解除キーKDを操作することによって「複文節の仮名漢字混じり変換の 」という変換候補文字列データを「複文節の仮名漢字」に修正するものとする。 この場合、解除キーKDを連続して4回操作することにより変換候補文字列デー タは図3(B)から(F)に示す如く変化し、所望する修正が可能となる。<Intermediate Processing> Now, by operating the cancel key KD, it is assumed that the conversion candidate character string data “of compound phrase kana-kanji mixed conversion” is corrected to “compound phrase kana-kanji”. In this case, by operating the release key KD four times in succession, the conversion candidate character string data changes as shown in FIGS. 3B to 3F, and the desired correction can be made.

【0013】 即ち、解除キーKDを操作すると、図5のフローにしたがった動作が実行され 、この図5のフローに従った動作が4回繰り返し行なわれると候補バッファ16 、文節管理バッファ17の内容は図6(A)及び(B)に示す如く変化する。That is, when the release key KD is operated, the operation according to the flow of FIG. 5 is executed, and when the operation according to the flow of FIG. 5 is repeated four times, the contents of the candidate buffer 16 and the clause management buffer 17 are changed. Changes as shown in FIGS. 6 (A) and 6 (B).

【0014】 次に、図3(F)に示す「複文節の仮名漢字」を「複文節のかな漢字変換を」 と修正する場合、先ず図3(F)に示す表示状態において、それに続くかな文字 列を入力すると図3(G)に示すように、入力された文字列が反転表示される。Next, when the “Kana-Kanji of compound phrase” shown in FIG. 3 (F) is modified to “Kana-Kanji conversion of compound phrase”, first, in the display state shown in FIG. When a column is input, the input character string is highlighted as shown in FIG.

【0015】 この状態で、左カーソルキーKEを数回操作すると、図3(K)に示す表示状 態となる。この後、無変換キーKBを操作すると、その指定文節はかな文字列に 戻され、図3(L)に示す如くとなる。なお、この時の候補バッファ16、文節 管理バッファ17の内容を図6(C)及び(D)に示す。If the left cursor key KE is operated several times in this state, the display state shown in FIG. 3 (K) is obtained. After that, when the non-conversion key KB is operated, the designated phrase is returned to the kana character string, as shown in FIG. The contents of the candidate buffer 16 and the clause management buffer 17 at this time are shown in FIGS. 6 (C) and 6 (D).

【0016】 <確定処理> この状態において、変換候補文字列データの先頭から途中までの文字列を確定 する為に、確定キーKCを操作すると、図7のフローにしたがった動作が実行さ れる。先ず、候補バッファ16内の変換候補文字列データの先頭位置から指定文 節までの文字列データを読み出してテキストメモリ18に格納する(ステップD 1)。この場合、指定文節の最終文字位置は、次の如くして求められる。いま、 指定文節は図3(L)に示す如く、あみかけ表示されている「かな」、またN2 位置はその指定文節の先頭文字「か」にあるので、このポインタN2の値にその 文節内の文字数(Kレジスタの値)を加算する。すると、N2位置は次の文節の 先頭位置となる。したがって、この加算結果から「1」を減算することによって N2位置は指定文節の最終文字位置となる。<Confirmation Processing> In this state, when the confirmation key KC is operated to confirm the character string from the beginning to the middle of the conversion candidate character string data, the operation according to the flow of FIG. 7 is executed. First, the character string data from the start position of the conversion candidate character string data in the candidate buffer 16 to the specified phrase is read and stored in the text memory 18 (step D 1). In this case, the final character position of the designated clause is obtained as follows. Now, specified clause as shown in FIG. 3 (L), is displayed shaded "kana", and since N 2 position is the first character "or" in the specification clause, the value of this pointer N 2 Add the number of characters in the phrase (K register value). Then, the N 2 position becomes the start position of the next clause. Thus, N 2 position by subtracting "1" from the addition result becomes the final character position of the specified clause.

【0017】 このようにして変換候補文字列データの先頭位置から指定文節までの文字列デ ータをテキストメモリ18に格納したら、(カーソルポインタ+Y−1)までの よみ文字列を入力バッファ13から削除する(ステップD2)。即ち、カーソル ポインタ20の値(N2位置)にY文字分の値を加算し、この加算結果から「1 」を減算することによって得られた文字位置までのかな文字列データを入力バッ ファ13から削除する。そして、上述の如く候補バッファ16からテキストメモ リ18に格納した変換候補文字列データを候補バッファ16から削除する(ステ ップD3)。次に、ポインタE2の値を削除した文字数分ディクリメントし(ス テップD4)、そして文節管理バッファ17の内容もその先頭から指定文節まで 、即ちポインタN3の値に「2」を加算した(N3+2)バイト目までを削除する (ステップD5)。そして、ポインタE3の値を削除したバイト数分ディクリメ ントし(ステップD6)、次でポインタN2、N3に「1」をセットする(ステッ プD7)。In this way, when the character string data from the start position of the conversion candidate character string data to the specified phrase is stored in the text memory 18, the reading character string up to (cursor pointer + Y−1) is input from the input buffer 13. Delete (step D2). That is, the kana character string data up to the character position obtained by adding the value of the Y character to the value of the cursor pointer 20 (N 2 position) and subtracting “1” from the addition result is input to the input buffer 13 Remove from. Then, the conversion candidate character string data stored in the text memory 18 from the candidate buffer 16 as described above is deleted from the candidate buffer 16 (step D3). Next, the value of the pointer E 2 is decremented by the number of deleted characters (step D4), and the contents of the phrase management buffer 17 are added from the beginning to the specified phrase, that is, "2" is added to the value of the pointer N 3 . Delete up to the (N 3 +2) th byte (step D5). Then, the value of the pointer E 3 is decremented by the number of deleted bytes (step D6), and then the pointers N 2 and N 3 are set to "1" (step D7).

【0018】 このように確定キーKCを操作すると、変換候補文字列データの先頭から指定 文節までの文字列データが確定し、テキストメモリ18に格納されると共に、そ の確定文字列データが候補バッファ16から削除され、しかもそれに対応して入 力バッファ13内の未変換かな文字列データが削除される。図3(M)はこの場 合の表示状態を示している。When the confirm key KC is operated in this way, the character string data from the beginning of the conversion candidate character string data to the specified phrase is confirmed and stored in the text memory 18, and the confirmed character string data is stored in the candidate buffer. 16 is deleted, and correspondingly, the unconverted kana character string data in the input buffer 13 is deleted. FIG. 3 (M) shows the display state in this case.

【0019】 <その他の処理> 図3(M)の状態において、右カーソルキーKFを1回操作すると、図3(N )に示す表示状態となり、カーソルが未変換かな文字列データの先頭位置にセッ トされる。即ち、カーソルは上述した左カーソルキーKEと同様に、変換候補文 字列データ上では1文節単位で、未変換かな文字列データ上では1文字単位で移 動するため、右カーソルキーKFを1回操作するだけで図3(N)に示す如くと なる。<Other Processing> In the state of FIG. 3 (M), if the right cursor key KF is operated once, the display state shown in FIG. 3 (N) is obtained, and the cursor is positioned at the head position of the unconverted kana character string data. Is set. That is, as with the left cursor key KE described above, the cursor moves in phrase units on the conversion candidate character string data and in character units on the unconverted kana character string data, so the right cursor key KF is pressed. Only by operating it once, the result is as shown in FIG.

【0020】 このように、カーソルを未変換かな文字列データの先頭位置にセットした状態 で変換キーKAを操作すると、図4のフローにしたがった動作が実行される結果 、未変換かな文字列データが漢字混じりの候補文字列データに変換されて図3( O)に示す如くとなり、所望の修正内容となる。As described above, when the conversion key KA is operated with the cursor set at the start position of the unconverted kana character string data, the operation according to the flow of FIG. 4 is executed. Is converted into candidate character string data mixed with Chinese characters, as shown in FIG. 3 (O), and the desired correction content is obtained.

【0021】 このようにして修正を行った後、以降それに続くかな文字列を入力する(図3 (P)参照)。 そして、変換キーKAを操作すると、入力したかな文字データが漢字混じりの 候補文字列データに変換されて図3(Q)に示す如くとなる。After the correction is performed in this manner, the kana character string that follows the kana character string is input thereafter (see FIG. 3 (P)). Then, when the conversion key KA is operated, the inputted kana character data is converted into candidate character string data containing kanji, and the result becomes as shown in FIG. 3 (Q).

【0022】 この表示候補が正しければ、確定キーKCを操作する。すると、図7のフロー にしたがった動作が実行される結果、変換候補文字列データが確定し、テキスト メモリ18に格納される。If this display candidate is correct, the enter key KC is operated. Then, as a result of the operation according to the flow of FIG. 7, the conversion candidate character string data is determined and stored in the text memory 18.

【0023】 このように本実施例においては、変換候補を確定する際に、途中までの候補を チェックした段階でとりあえず、確定キーKCを操作すると、変換候補文字列デ ータの先頭から指定文節までの文字列が確定される。したがって、変換候補が長 い場合、それを全てチェックすることは容易ではないが、途中までのチェックが 終った段階でとりあえず、一切りを付くことができ、文章チェック作業をスピー ディにしかも確実におこなうことができる。また、途中までのチェックが終った 段階でそれまでの変換候補を確定することができるので、1度に漢字変換できる 文字数が制限されている場合でもそれを意識することなく、入力操作を行うこと ができる。 なお、上記実施例は変換候補文字列データ上で文節単位で指定するようにした が、1文字単位で指定するようにしてもよい。As described above, in the present embodiment, when the conversion candidates are confirmed, if the confirmation key KC is operated for the time being when the candidates up to the middle are checked, the specified phrase starts from the beginning of the conversion candidate character string data. The character strings up to are fixed. Therefore, if there are long conversion candidates, it is not easy to check all of them, but at the stage when the check up to the middle is completed, you can make a cut for the time being, and the sentence check work can be done quickly and reliably. You can do it. Also, since the conversion candidates up to that point can be confirmed when the check up to the middle is completed, even if the number of characters that can be converted at one time is limited, do not be aware of it and perform input operation. You can In the above embodiment, the conversion candidate character string data is specified in units of phrases, but it may be specified in units of characters.

【0024】[0024]

【考案の効果】[Effect of device]

本考案によれば、入力仮名文字列を仮名漢字変換候補文字列に変換した後であ っても、特定の操作を連続して行なうことで、この変換候補文字列を元の仮名文 字列に戻し、かつこの仮名文字列の削除を行なえる。 According to the present invention, even after the input kana character string is converted into the kana-kanji conversion candidate character string, the conversion candidate character string is converted into the original kana character string by continuously performing a specific operation. , And delete this Kana character string.

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

【図1】実施例のブロック構成図である。FIG. 1 is a block diagram of an embodiment.

【図2】文節管理バッファの記憶内容を説明する図であ
る。
FIG. 2 is a diagram illustrating stored contents of a phrase management buffer.

【図3】表示状態説明図である。FIG. 3 is an explanatory diagram of a display state.

【図4】変換動作のフローチャートである。FIG. 4 is a flowchart of a conversion operation.

【図5】解除動作のフローチャートである。FIG. 5 is a flowchart of a release operation.

【図6】候補バッファと文節管理バッファの記憶内容を
説明する図である。
FIG. 6 is a diagram illustrating stored contents of a candidate buffer and a clause management buffer.

【図7】確定動作のフローチャートである。FIG. 7 is a flowchart of a confirming operation.

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

11 キー入力部 13 入力バッファ 14 表示部 15 変換辞書 16 候補バッファ 17 文書管理バッファ 18 テキストメモリ 11 key input unit 13 input buffer 14 display unit 15 conversion dictionary 16 candidate buffer 17 document management buffer 18 text memory

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】文字列を入力し、 この入力文字列を表示する手段と、 上記入力文字列を漢字混じりの変換文字列に変換する手
段と、 この変換文字列を表示する手段と、 特定の操作が行なわれた際に、上記表示画面上に表示さ
れた上記変換文字列を、その変換文字列の変換前の入力
文字列に変更して表示する手段と、 上記変更表示の後に、更に上記特定の操作が行なわれた
際に、上記変更表示された入力文字列を削除するように
したことを特徴とする仮名漢字変換処理装置。
1. A means for inputting a character string and displaying the input character string, a means for converting the input character string into a converted character string containing kanji, a means for displaying the converted character string, and a specific character string. A means for changing the converted character string displayed on the display screen to an input character string before conversion of the converted character string when the operation is performed, and displaying the changed character string; A kana-kanji conversion processing device characterized by deleting the input character string that has been changed and displayed when a specific operation is performed.
JP7154193U 1993-12-09 1993-12-09 Kana-Kanji conversion processor Pending JPH0656844U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7154193U JPH0656844U (en) 1993-12-09 1993-12-09 Kana-Kanji conversion processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7154193U JPH0656844U (en) 1993-12-09 1993-12-09 Kana-Kanji conversion processor

Publications (1)

Publication Number Publication Date
JPH0656844U true JPH0656844U (en) 1994-08-05

Family

ID=13463714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7154193U Pending JPH0656844U (en) 1993-12-09 1993-12-09 Kana-Kanji conversion processor

Country Status (1)

Country Link
JP (1) JPH0656844U (en)

Similar Documents

Publication Publication Date Title
JPS5913771B2 (en) Editing display method of display device
JPH11328166A (en) Character input device and computer-readable recording medium where character input processing program is recorded
JPH0656844U (en) Kana-Kanji conversion processor
JPH0716192Y2 (en) Text processor
JPH0656843U (en) Kana-Kanji conversion device
JP2688652B2 (en) String converter
JPH0612548B2 (en) Document processor
JP2688651B2 (en) String converter
JPS6010348B2 (en) Automatic conversion method for half-width and full-width characters
JPS6134668A (en) Kana (japanese syllabary) to kanji (chinese character) converting system
JPS6246029B2 (en)
JPH01136270A (en) Word processor device
JP3052339B2 (en) Document data processing device
JP3329476B2 (en) Kana-Kanji conversion device
JP2634926B2 (en) Kana-Kanji conversion device
JPH1091623A (en) Character conversion device
JP2727076B2 (en) Translation support device
JPS605318A (en) Input device of sentence composed of kana and kanji
JP2713942B2 (en) Kana-Kanji conversion device
JPS63265360A (en) Sentence conversion processor
JPH0697455B2 (en) Kana-Kanji conversion device
JPH02299060A (en) Kana-kanji converting device
JPH02116963A (en) Document data processing device
JPH01261775A (en) Method for registering document for document editer
JPS6112308B2 (en)