JPH08190558A - Device and method therefor inter-character insertion - Google Patents

Device and method therefor inter-character insertion

Info

Publication number
JPH08190558A
JPH08190558A JP7000733A JP73395A JPH08190558A JP H08190558 A JPH08190558 A JP H08190558A JP 7000733 A JP7000733 A JP 7000733A JP 73395 A JP73395 A JP 73395A JP H08190558 A JPH08190558 A JP H08190558A
Authority
JP
Japan
Prior art keywords
character
character string
inter
string
conversion
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
JP7000733A
Other languages
Japanese (ja)
Other versions
JP3209870B2 (en
Inventor
Yumiko Yamagata
裕美子 山縣
Tsuneo Yamada
恒夫 山田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP00073395A priority Critical patent/JP3209870B2/en
Priority to TW84113770A priority patent/TW430764B/en
Priority to TW88123404A priority patent/TW432289B/en
Priority to KR1019960000077A priority patent/KR100235523B1/en
Priority to CN 96100625 priority patent/CN1109311C/en
Publication of JPH08190558A publication Critical patent/JPH08190558A/en
Application granted granted Critical
Publication of JP3209870B2 publication Critical patent/JP3209870B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE: To insert a space or the like by a simple processing and operation with respect to the inter-character insertion method and device by which a specific character like a space is inserted between characters of a 2nd character string at the time of converting a 1st arbitrary character string into the 2nd character string. CONSTITUTION: A character conversion processing means 2 which converts the character string inputted by an input means 1 into the 2nd character string and outputs the 2nd character string as an unsettled character string subjected to the conversion operation at present, an inter-character insertion indicating means 3 which gives instruction for insertion of a specific character between characters of the unsettled character string, an insertion instruction effectiveness judging means 4 which judges whether the inter-character insertion instruction from the inter-character insertion instruction means is effective or not in accordance with the state of the unsettled character string, and an unsettled character string processing means 5 which inserts the specific character between characters of the unsettled character string based on the inter-character insertion instruction to obtain the 2nd settled character string in the case of the effective inter-character insertion instruction are provided. These means are successively operated to execute the method for insertion between characters.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、任意の第1の文字列を
他の第2の文字列に変換する際に、この変換後の第2の
文字列の各文字の間に空白や中点「・」等の特定の文字
を挿入して表示するための文字間挿入装置および挿入方
法に関する。さらに詳しくいえば、本発明は、日本語、
中国語または韓国語等を処理するためのパーソナルコン
ピュータやワードプロセッサにおいて、表示画面を見な
がら、かな等からなる第1の文字列により構成される文
字データを入力した後に漢字等を含む第2の文字列に変
換する際に、このような変換後の第2の文字列を見易く
するために、簡単な操作により第2の文字列の各文字の
間に空白や中点「・」等を挿入するための一手法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention, when converting an arbitrary first character string into another second character string, inserts a space or a space between each character of the converted second character string. The present invention relates to an intercharacter insertion device and an insertion method for inserting and displaying a specific character such as a dot “•”. More specifically, the present invention relates to Japanese,
In a personal computer or word processor for processing Chinese or Korean, while looking at the display screen, input the character data composed of the first character string consisting of kana etc., and then input the second character including kanji etc. When converting to a string, in order to make it easier to see the second character string after such conversion, a space or a middle point “•” is inserted between each character of the second character string by a simple operation. One method for

【0002】[0002]

【従来の技術】パーソナルコンピュータやワードプロセ
ッサ等を用いて文書等を作成する場合、表題・見出しを
記載したり、表中の所定の枠に住所・氏名等の項目を記
載したりする際に、これらの表題・見出し等を見易くす
るために文字と文字との間隔を適当に空けて表示したい
ことがある。このようなときに、従来は、変換キー等の
操作により文字データの変換処理動作が完了した状態の
文字列、すなわち、確定後の第2の文字列の各文字間に
空白を挿入したり、各文字間を等間隔で表示するために
確定後の文字列中の各文字を順次移動したりする作業を
繰り返す他なかった。このため、第2の文字列中の漢字
等の数が多くなるに従い、作業が煩雑になるという不都
合が生じてくる。
2. Description of the Related Art When creating a document or the like using a personal computer, a word processor or the like, when writing a title / heading or an item such as an address / name in a predetermined frame in a table, these are used. In order to make it easier to see the title, heading, etc., it is sometimes desirable to display characters with appropriate spacing. In such a case, conventionally, a space is inserted between each character of the character string in which the conversion processing operation of the character data is completed by the operation of the conversion key, that is, the second character string after being confirmed, In order to display each character at equal intervals, there was no choice but to repeat the work of sequentially moving each character in the character string after being determined. Therefore, as the number of Chinese characters and the like in the second character string increases, the inconvenience that the work becomes complicated occurs.

【0003】また一方で、このような不都合に対処する
ために、例えば、日本語のかな漢字変換において、キー
ボードのキー操作により第1の文字列に対応するかなを
入力した直後に、この第1の文字列に対し所望の空白を
キー操作により入力するような手法が、特開平3−25
7660号公報に開示されている。図13は、この特開
平3−257660号公報に示されているような従来の
文字間挿入の手法を説明するための概念図である。ただ
し、ここでは、第1の文字列が複数個のかな「にほん
ご」から構成されており、この「にほんご」を変換処理
して得られる第2の文字列である漢字「日本語」の各文
字間に適当な空白を挿入する場合の手順を代表して説明
することとする。
On the other hand, in order to deal with such an inconvenience, for example, in Japanese kana-kanji conversion, immediately after the kana corresponding to the first character string is input by the key operation of the keyboard, the first kana corresponding to the first character string is input. A method of inputting a desired blank for a character string by a key operation is disclosed in JP-A-3-25.
It is disclosed in Japanese Patent No. 7660. FIG. 13 is a conceptual diagram for explaining a conventional intercharacter insertion method as disclosed in Japanese Patent Laid-Open No. 3-257660. However, here, the first character string is composed of a plurality of kana "nihongo", and each character of the kanji "Japanese" which is the second character string obtained by converting this "nihongo" The procedure for inserting an appropriate space in between will be described as a representative.

【0004】図13の(a)において、まず初めに、
ディスプレイの表示画面を見ながら、キーボードのキー
を操作して「にほんご」と入力する。 次に、カーソルを移動させることにより、入力した文
字データ「にほんご」に続けて空白を5個入力する(同
様に、図13の(a)に示す)。 さらに、図13の(b)に示すように、キーボード内
の変換キーを押下することにより「にほんご」を「日本
語」に変換する。このときに、入力された空白の個数に
従い、かな漢字変換後の文字列「日本語」の各文字間に
適当な空白を一度に配置して表示画面に表示する。
In FIG. 13 (a), first of all,
While looking at the display screen on the display, operate the keys on the keyboard and enter "Japanese". Next, by moving the cursor, five blanks are input following the input character data "Japanese" (similarly, shown in (a) of FIG. 13). Further, as shown in FIG. 13B, the conversion key in the keyboard is pressed to convert "Nihongo" into "Japanese". At this time, according to the number of input blanks, appropriate blanks are arranged at once between each character of the character string “Japanese” after kana-kanji conversion and displayed on the display screen.

【0005】このような手法を用いることにより、文字
データの変換処理動作が完了する前に空白を入力してお
くことができるので、第2の文字列が確定した後に改め
て各文字間に空白を挿入するといったような手間はかか
らないように見える。
By using such a method, it is possible to input a blank before the conversion processing operation of the character data is completed. Therefore, after the second character string is fixed, a blank is newly added between each character. It doesn't seem like you have to insert it.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
特開平3−257660号公報に開示されているような
従来の文字間挿入の手法では、かな漢字変換を行う前に
空白の個数を予め決定しておかなければならない。この
ため、かな漢字変換後に表示画面に表示された結果が所
望の変換結果と食い違っている場合、例えば、かな漢字
変換前に入力した空白の位置を変換後も変えたくない場
合は、簡単なキー操作により対応することができないと
いう問題が生ずる。さらに詳しく説明すると、前述の例
において、「○日○○本○○語○」(○は空白を表す)
ではなく「日本語○○○○○」という変換結果が欲しか
ったというときに、簡単な操作により変換後の文字列を
修正することができないという事態が生ずる。
However, in the conventional inter-character insertion method as disclosed in Japanese Patent Laid-Open No. 3-257660 mentioned above, the number of blanks is determined in advance before the kana-kanji conversion. I have to go. Therefore, if the result displayed on the display screen after Kana-Kanji conversion is inconsistent with the desired conversion result, for example, if you do not want to change the blank position input before Kana-Kanji conversion after conversion, use a simple key operation. The problem of not being able to cope arises. More specifically, in the above example, "○ day XX book XX word ○" (○ represents a blank)
Instead, when the conversion result of "Japanese ○○○○○" is desired, a situation occurs in which the converted character string cannot be corrected by a simple operation.

【0007】さらに、上記の従来の文字間挿入の手法で
は、第2の文字列中の漢字の個数(または、漢字とかな
の混合文中の文字の総数)を変換前に想定した上で、空
白の個数を決定しておかなければならない。このため、
漢字の個数が多くなるに従い、空白の個数を勘定するた
めの手間・工数が増えるという問題も生ずる。本発明は
上記問題点に鑑みてなされたものであり、パーソナルコ
ンピュータやワードプロセッサ等を用いて文書等を作成
する場合、かな等からなる任意の第1の文字列を、漢字
等を含む他の第2の文字列に変換する際に、簡単な処理
・操作により変換後の第2の文字列の各文字の間に空白
や中点等の特定の文字を挿入して表示することが可能な
文字間挿入装置および挿入方法を提供することを目的と
するものである。
Further, in the above-mentioned conventional inter-character insertion method, the number of Kanji characters in the second character string (or the total number of characters in the mixed Kanji and Kana sentence) is assumed before conversion, and then the space is left blank. You have to decide the number of. For this reason,
As the number of kanji increases, there is a problem that the labor and man-hours for counting the number of blanks increase. The present invention has been made in view of the above problems, and when a document or the like is created using a personal computer, a word processor, or the like, an arbitrary first character string composed of kana, etc. Characters that can be displayed by inserting a specific character such as a space or midpoint between each character of the converted second character string by simple processing / operation when converting to the second character string An object of the present invention is to provide an interposing device and an inserting method.

【0008】[0008]

【課題を解決するための手段】図1は、本発明の文字間
挿入装置の原理構成を示すブロック図である。上記目的
を達成するために、本発明の文字間挿入装置は、図1に
示すように、任意の第1の文字列からなる文字データを
入力するための入力手段1と、入力された文字データを
他の第2の文字列に変換し、かつ、この第2の文字列
を、変換動作中の未確定文字列として出力する文字変換
処理手段2と、この未確定文字列の各文字の間に特定の
文字を挿入することを指示する文字間挿入指示手段3
と、この未確定文字列の状態に応じて文字間挿入指示手
段3からの文字間挿入指示が有効であるか否かを判定す
る挿入指示有効判定手段4と、この文字間挿入指示が有
効であると判断された場合に、上記の文字間挿入指示に
基づき上記未確定文字列の各文字の間に上記特定の文字
を挿入し、確定後の第2の文字列として表示するための
未確定文字列処理手段5とを備えている。
FIG. 1 is a block diagram showing the principle configuration of an intercharacter insertion device of the present invention. To achieve the above object, the inter-character insertion device of the present invention, as shown in FIG. 1, has an input means 1 for inputting character data consisting of an arbitrary first character string, and the input character data. Between the character conversion processing means 2 for converting the second character string to another second character string and outputting the second character string as an undetermined character string during the conversion operation, and each character of the undetermined character string. Intercharacter insertion instructing means 3 for instructing to insert a specific character into
And an insertion instruction validity determining means 4 for determining whether the inter-character insertion instruction from the inter-character insertion instruction means 3 is valid according to the state of the unconfirmed character string, and the inter-character insertion instruction is valid. If it is determined that there is an undetermined character, the specific character is inserted between the characters of the undetermined character string based on the intercharacter insertion instruction, and is displayed as the finalized second character string. The character string processing means 5 is provided.

【0009】また一方で、図2は、本発明の文字間挿入
方法を説明するためのフローチャートである。上記目的
を達成するために、本発明の文字間挿入方法は、図2に
示すように、任意の第1の文字列からなる文字データを
入力するステップS1と、入力された文字データを他の
第2の文字列に変換するステップS2と、この第2の文
字列を、変換動作中の未確定文字列として生成するステ
ップS3と、この未確定文字列の各文字の間に特定の文
字を挿入する内容の指示がなされた場合(ステップS
4)、上記未確定文字列の状態から前記の文字間処理が
有効であると判断されたときに、上記の文字間挿入指示
に基づき上記未確定文字列の各文字の間に上記特定の文
字を挿入するステップS5と、上記未確定文字列の各文
字の間に上記特定の文字が挿入された文字列を、確定後
の第2の文字列(確定文字列)として出力するステップ
S6とを有している。
On the other hand, FIG. 2 is a flow chart for explaining the intercharacter insertion method of the present invention. In order to achieve the above object, the inter-character insertion method of the present invention, as shown in FIG. 2, includes a step S1 of inputting character data composed of an arbitrary first character string, and another step of converting the input character data to another. A step S2 of converting into a second character string, a step S3 of generating this second character string as an unconfirmed character string during conversion operation, and a specific character between each character of this unconfirmed character string. When the content to be inserted is instructed (step S
4), when it is determined that the inter-character processing is valid from the state of the undetermined character string, the specific character is inserted between each character of the undetermined character string based on the inter-character insertion instruction. And a step S6 of outputting a character string in which the specific character is inserted between each character of the unconfirmed character string as a second character string after confirmation (confirmed character string). Have

【0010】好ましくは、本発明において、入力の対象
となる第1の文字列は、かなおよびローマ字のいずれか
一方から構成されており、変換後の第2の文字列は、漢
字とかなの混合文から構成されている。さらに、好まし
くは、本発明において、文字間に挿入すべき特定の文字
は、未確定文字列の各文字間に所定の間隔をもたせるた
めの空白からなる。
Preferably, in the present invention, the first character string to be input is composed of either kana or romaji, and the second character string after conversion is a mixture of kanji and kana. It consists of sentences. Further, preferably, in the present invention, the specific character to be inserted between the characters is a blank for providing a predetermined space between each character of the undetermined character string.

【0011】[0011]

【作用】本発明の文字間挿入装置および方法によれば、
かな等からなる任意の第1の文字列を、漢字等を含む他
の第2の文字列に変換する際に、変換動作が完了しない
状態、すなわち、未確定状態の未確定文字列として出力
するようにしている。さらに、この未確定文字列を表示
手段6(図1)の表示画面に表示すれば、この表示画面
を見ながら、簡単なキー操作等により、文字と文字の間
に空白等の特定の文字を、適切な間隔でもって一度にか
つ迅速に挿入することができる。
According to the intercharacter insertion device and method of the present invention,
When converting an arbitrary first character string consisting of kana or the like into another second character string including kanji or the like, the conversion operation is not completed, that is, it is output as an undetermined character string in an undetermined state. I am trying. Further, if this undetermined character string is displayed on the display screen of the display means 6 (FIG. 1), a specific character such as a space between characters can be displayed by a simple key operation while watching this display screen. , Can be inserted at once with appropriate intervals and quickly.

【0012】さらにまた、挿入指示有効判定手段4によ
り、指定された間隔の空白等を各文字間に挿入すること
が可能であるか否かを未確定文字列処理前に判定し、こ
のような空白等を適切に挿入する(例えば、等間隔に挿
入する)ことが可能なときのみ未確定文字列に対し一度
に空白等を挿入するようにしている。したがって、本発
明では、従来の場合と異なり、かな漢字等の変換を行う
前に空白等の個数を予め決定しておく必要がなくなる。
それゆえに、変換後に表示画面に表示された結果が所望
の変換結果と食い違うという事態は生じない。さらに、
上記のとおり空白等の個数を予め決定しておく必要がな
くなるために、第2の文字列中の漢字等の個数が多くな
っても、空白の個数をいちいち勘定しなくて済むように
なるので、従来の場合よりも文字間挿入処理の手間・工
数が節減される。
Furthermore, the insertion instruction validity determining means 4 determines whether or not it is possible to insert a blank or the like at a specified interval between each character before the undetermined character string processing. Only when it is possible to appropriately insert blanks or the like (for example, to insert them at equal intervals), the blanks or the like are inserted into the undetermined character string at once. Therefore, according to the present invention, unlike the conventional case, it is not necessary to determine the number of blanks or the like in advance before converting kana-kanji or the like.
Therefore, the result displayed on the display screen after conversion does not conflict with the desired conversion result. further,
As described above, since it is not necessary to determine the number of blanks in advance, it is not necessary to count the number of blanks even if the number of Chinese characters in the second character string increases. , The time and labor required for the character insertion processing are reduced as compared with the conventional case.

【0013】かくして、本発明では、任意の第1の文字
列を第2の文字列に変換する際に、変換動作が完了しな
い状態の未確定文字列として第2の文字列を生成し、こ
の未確定文字列の各文字間に空白等の特定の文字を挿入
した後に第2の文字列を確定文字列として出力するよう
にしているので、従来の場合よりもはるかに簡単な操作
でもって迅速に文字間挿入を行うことが可能になる。
Thus, according to the present invention, when converting an arbitrary first character string into a second character string, the second character string is generated as an undetermined character string in a state where the conversion operation is not completed. Since a second character string is output as a confirmed character string after inserting a specific character such as a space between each character of the unconfirmed character string, it is much easier and quicker than the conventional case. It becomes possible to insert between characters.

【0014】[0014]

【実施例】以下添付図面(図3〜図12)を用いて本発
明の実施例を詳細に説明する。図3は、本発明の一実施
例の概略的な構成を示すブロック図である。ここでは、
本発明の文字間挿入装置または文字間挿入方法をコンピ
ュータシステムにより実現する場合を代表して示す。な
お、これ以降、前述した構成要素と同様のものについて
は、同一の参照番号を付して表すこととする。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings (FIGS. 3 to 12). FIG. 3 is a block diagram showing a schematic configuration of an embodiment of the present invention. here,
The case where the inter-character insertion device or the inter-character insertion method of the present invention is realized by a computer system is shown as a representative. Note that, hereinafter, the same components as those described above will be denoted by the same reference numerals.

【0015】ここでは、前述の図1の入力手段1とし
て、キー操作により日本語、中国語または韓国語等に関
する文字データを入力するためのキーボード等からなる
入力部10を設けている。さらに、前述の図1の文字変
換処理手段2、文字間挿入指示手段3、挿入指示有効判
定手段4および未確定文字列処理手段5は、CPU(中
央処理装置)を含む制御部7により構成される。さら
に、前述の図1の表示手段6として、ディスプレイ等の
表示部60を設けている。入力部10に入力される文字
データ、および、制御部7から出力される未確定文字列
や確定文字列は、すべて表示部60の表示画面に表示さ
れる。
Here, as the above-mentioned input means 1 of FIG. 1, there is provided an input unit 10 including a keyboard for inputting character data relating to Japanese, Chinese, Korean, etc. by key operation. Further, the character conversion processing means 2, the intercharacter insertion instructing means 3, the insertion instruction validity determining means 4 and the unconfirmed character string processing means 5 in FIG. 1 described above are configured by a control unit 7 including a CPU (central processing unit). It Further, a display unit 60 such as a display is provided as the display means 6 in FIG. The character data input to the input unit 10 and the undetermined character string and the determined character string output from the control unit 7 are all displayed on the display screen of the display unit 60.

【0016】さらに、入力部10内の所定のキー、例え
ば、変換キーを押下することにより第1の文字列を第2
の文字列に変換する際に、この文字列変換動作が完了し
ない状態の未確定文字列を記憶するためのバッファ等か
らなる記憶部40が設けられている。この記憶部40と
して、制御部7内のCPUに内蔵のRAMまたはROM
を用いてもよい。さらに、読み出し専用の辞書のデータ
を前もって保持するための辞書部20が設けられてい
る。第1の文字列から第2の文字列への変換処理を遂行
する場合、制御部7内のCPUにより、辞書中の必要な
情報が検索されて読み出される。
Further, by pressing a predetermined key in the input unit 10, for example, a conversion key, the first character string is changed to the second character string.
A storage unit 40 including a buffer or the like for storing an undetermined character string in a state where the character string conversion operation is not completed when the character string conversion operation is performed is provided. As the storage unit 40, a RAM or ROM built in the CPU in the control unit 7
May be used. Further, a dictionary unit 20 for holding the data of the read-only dictionary in advance is provided. When performing the conversion process from the first character string to the second character string, the CPU in the control unit 7 searches and reads out necessary information in the dictionary.

【0017】入力部10から記憶部40内に一時的に記
憶された未確定文字列の各文字間に、入力部10内の所
定のキー、例えば、空白挿入キーを押下することにより
空白等の特定の文字を挿入して適切な間隔を有する文字
列を生成した後は、同入力部10内の所定のキー、例え
ば、確定キーまたはカーソル移動キーを押下することに
より、確定後の第2の文字列が出力される。
Between the characters of the undetermined character string temporarily stored in the storage unit 40 from the input unit 10, by pressing a predetermined key in the input unit 10, for example, a blank insertion key, a blank or the like can be displayed. After a specific character is inserted and a character string having an appropriate interval is generated, a predetermined key in the input unit 10, for example, a confirmation key or a cursor movement key is pressed, so that the second character after confirmation is generated. The character string is output.

【0018】図3の実施例によれば、文字列変換動作に
よる未確定文字列、および、確定後の第2の文字列は、
単純なキー操作に応じて表示部60の表示画面上に速や
かに表示されるので、文書作成を行う際に、入力部10
の簡単な操作により文字列の各文字間に適切な間隔の空
白等を挿入することが可能になる。図4は、本発明の一
実施例におけるバッファの動作を説明するための流れ図
である。ここでは、図3の記憶部40を構成する各種の
バッファの動作を詳細に説明することとする。
According to the embodiment of FIG. 3, the unconfirmed character string by the character string conversion operation and the second character string after the confirmation are:
Since it is displayed promptly on the display screen of the display unit 60 in response to a simple key operation, when the document is created, the input unit 10
By a simple operation of, it becomes possible to insert a space or the like at an appropriate interval between each character of the character string. FIG. 4 is a flow chart for explaining the operation of the buffer in the embodiment of the present invention. Here, the operations of various buffers that form the storage unit 40 of FIG. 3 will be described in detail.

【0019】まず初めに、図4のステップS10におい
て、入力部10(図3)より入力された第1の文字列か
らなる文字データ(例えば、「にほんご」)は、記憶部
40(図3)内の「読み文字列バッファ」に格納され
る。次に、ステップS11において、変換キー等が押下
されると、変換動作中であることを示す制御部7内の変
換中フラグがオン(ON)状態になり、読み文字列バッ
ファ中の文字データを対象に第2の文字列への変換処理
が行われる。この変換処理による変換結果(例えば、
「日本語」)は、記憶部40内の「変換文字列バッフ
ァ」に格納される。
First, in step S10 of FIG. 4, the character data (for example, "Japanese") consisting of the first character string input from the input unit 10 (FIG. 3) is stored in the storage unit 40 (FIG. 3). It is stored in the "reading character string buffer". Next, in step S11, when the conversion key or the like is pressed, the conversion flag in the control unit 7 indicating that the conversion operation is being performed is turned on (ON), and the character data in the reading character string buffer is stored. The conversion process to the second character string is performed on the target. The conversion result of this conversion process (for example,
“Japanese”) is stored in the “converted character string buffer” in the storage unit 40.

【0020】さらに、ステップS12において、空白挿
入キー等が押下されると、未確定文字列の各文字間に適
切な間隔でもって空白等が挿入される。このような適切
な個数の空白を入れた文字列(例えば、「日○本○
語」)は、記憶部40内の「空白挿入文字列バッファ」
上に作成されて格納される。この空白挿入文字列バッフ
ァは、文字間に空白が最終的に挿入された状態の確定文
字列を保持するのに対し、前述の変換文字列バッファ
は、文字間に空白を挿入しない状態の未確定文字列を保
持する。
Further, in step S12, when the blank insertion key or the like is pressed, blanks or the like are inserted at appropriate intervals between the characters of the unfixed character string. A character string with such an appropriate number of blanks (for example, "day ○ book ○
")" Is the "blank insertion character string buffer" in the storage unit 40.
Created and stored above. This blank insertion character string buffer holds a fixed character string in which a space is finally inserted between characters, whereas the conversion character string buffer described above is an undefined character string in which a space is not inserted between characters. Holds a string.

【0021】なお、この場合、変換文字列バッファを持
つことにより、「変換○文字列」のような空白をもとも
と含む文字列に対し空白を挿入することも可能である。
例えば、「変換○文字列」において、もともとの空白も
文字とみなした場合、各文字間に空白を挿入したとき
は、「変○換○○○文○字○列」の空白挿入文字列が生
成される。
In this case, by having a conversion character string buffer, it is possible to insert a blank into a character string that originally contains a space such as "conversion character string".
For example, if the original white space is also considered as a character in "Conversion ○ Character string", and a blank is inserted between each character, the blank insertion character string of "Conversion ○ ○ ○ sentence ○ character ○ string" Is generated.

【0022】さらに、表示部60の表示画面により空白
挿入文字列バッファ内の文字列を調べた結果、この文字
列が所望の空白を有する文字列であることを確認した場
合には、確定キーまたはカーソル移動キー等を押下して
確定文字列を出力する。このときに、制御部7内の変換
中フラグがオフ(OFF)状態になって第1の文字列か
ら第2の文字列への変換処理が完了する。
Furthermore, as a result of checking the character string in the blank insertion character string buffer on the display screen of the display unit 60, if it is confirmed that this character string has a desired blank, the enter key or Press the cursor movement key etc. to output the confirmed character string. At this time, the in-conversion flag in the control unit 7 is turned off, and the conversion process from the first character string to the second character string is completed.

【0023】図5は、本発明の一実施例における装置構
成の具体例を示すブロック図である。ここでは、図3の
実施例の構成がより具体的に示されている。図5におけ
る文字間挿入装置は、本発明の文字列変換動作および文
字間挿入動作等の各種の動作を制御するためのCPU7
0を備えている。さらに、入力部10(図3)は、任意
の文字データを入力したり特定のキー操作を行ったりす
るためのキーボード12と、このキーボード12からの
信号を変換してCPU70に伝達するためのキーボード
ドライバ14とにより構成される。
FIG. 5 is a block diagram showing a specific example of the apparatus configuration in one embodiment of the present invention. Here, the configuration of the embodiment of FIG. 3 is shown more specifically. The character insertion device in FIG. 5 is a CPU 7 for controlling various operations such as the character string conversion operation and the character insertion operation of the present invention.
It has 0. Further, the input unit 10 (FIG. 3) includes a keyboard 12 for inputting arbitrary character data and performing a specific key operation, and a keyboard for converting a signal from the keyboard 12 and transmitting the signal to the CPU 70. And the driver 14.

【0024】さらに、図5において、表示部60(図
3)は、入力の対象となる文字データを表示したり、C
PU70による文字列変換処理および文字間挿入処理の
結果を表示したりするためのCRT(ブラウン管)等の
ディスプレイ62と、このディスプレイ62を適切に動
作させるためのディスプレイドライバ64とを有してい
る。また、表示部60は、文字列変換処理および文字間
挿入処理の結果を印刷により表示するためのプリンタ6
8と、このプリンタ68を適切に動作させるためのプリ
ンタドライバ66とを有している。
Further, in FIG. 5, the display unit 60 (FIG. 3) displays character data to be input, and C
It has a display 62 such as a CRT (CRT) for displaying the result of the character string conversion processing and the character insertion processing by the PU 70, and a display driver 64 for operating this display 62 appropriately. The display unit 60 also includes a printer 6 for displaying the results of the character string conversion process and the inter-character insertion process by printing.
8 and a printer driver 66 for properly operating the printer 68.

【0025】さらに、図5において、記憶部40(図
3)は、主記憶装置に相当するメモリユニット40と、
コンピュータシステム全体を管理するためのオペレーテ
ィングシステムに関するカーネルプログラムを保持する
ROM等の記憶装置41と、その他のデータを記憶する
外部記憶装置とを有している。上記のメモリユニット4
0は、本発明の文字列変換動作および文字間挿入動作等
をCPU70の制御下で実行するためのプログラムや、
キャッシュ方式で検索するような使用頻度の高い辞書の
データを保持するための辞書キャッシュメモリや、使用
頻度の高い文字列の字体に関するフォントデータを保持
するためのフォントキャシュにより構成される。
Further, in FIG. 5, the storage unit 40 (FIG. 3) includes a memory unit 40 corresponding to a main storage device,
It has a storage device 41 such as a ROM that holds a kernel program related to an operating system for managing the entire computer system, and an external storage device that stores other data. Memory unit 4 above
0 is a program for executing the character string conversion operation and inter-character insertion operation of the present invention under the control of the CPU 70,
It is composed of a dictionary cache memory for holding data of frequently used dictionaries that are searched by a cache method, and a font cache for holding font data related to fonts of frequently used character strings.

【0026】さらに、上記の外部記憶装置は、使用頻度
の比較的低い多量のデータを記憶しておくためのフロッ
ピーディスク装置(FPD)44と、このフロッピーデ
ィスク装置44の機構部を駆動して読み出し/書き込み
動作を行わせるためのフロッピーディスクドライバ(F
Dドライバ)45と、さらに多量のデータを一度に記憶
しておくためのハードディスク装置(HDD)46と、
このハードディスク装置46の機構部を駆動して読み出
し/書き込み動作を行わせるためのハードディスクドラ
イバ(HDドライバ)47とを含む。使用頻度の低いも
のも含めた各種のフォントデータは、通常、ハードディ
スク装置46内に記憶されており、必要に応じてフォン
トドライバ42を動作させることにより所定の字体に対
応するフォントデータが読み出される。さらに、上記ハ
ードディスク装置46内には、第1の文字列を第2の文
字列に変換するために必要なデータが前もって記憶され
ている。
Further, the external storage device described above drives and reads a floppy disk device (FPD) 44 for storing a large amount of data which is relatively infrequently used and a mechanical portion of the floppy disk device 44. / Floppy disk driver (F
D driver) 45, and a hard disk device (HDD) 46 for storing a large amount of data at once,
A hard disk driver (HD driver) 47 for driving the mechanical portion of the hard disk device 46 to perform a read / write operation is included. Various types of font data, including those that are rarely used, are usually stored in the hard disk device 46, and the font driver 42 is operated as necessary to read the font data corresponding to a predetermined font. Further, in the hard disk device 46, data necessary for converting the first character string into the second character string is stored in advance.

【0027】さらに、図5において、辞書部20(図
3)は、読み出し専用の辞書のデータを前もって記憶し
ておくためのCD−ROM装置22と、このCD−RO
M装置の機構部を駆動して読み出し動作を行わせるため
のCD−ROMドライバ24とを有している。さらに、
図5に示すようなコンピュータシステムを用いた本発明
の文字間挿入装置は、ネットワークドライバ43を介し
て、LAN(ローカルエリア・ネットワーク)等の回線
に接続することも可能である。
Further, in FIG. 5, the dictionary unit 20 (FIG. 3) is a CD-ROM device 22 for storing the data of the read-only dictionary in advance, and this CD-RO.
It has a CD-ROM driver 24 for driving a mechanical section of the M apparatus to perform a read operation. further,
The intercharacter insertion device of the present invention using a computer system as shown in FIG. 5 can also be connected to a line such as a LAN (local area network) via the network driver 43.

【0028】上記のコンピュータシステムを用いた本発
明の装置においては、図2で説明したような、文字デー
タを入力するステップから未確定文字列の各文字の間に
特定の文字を挿入して確定文字列を出力するステップま
での一連の処理工程が、メモリユニット40に記憶され
ているプログラム、すなわち、ソフトウェアによって遂
行される。したがって、図5の実施例においては、ハー
ドウェア量を何ら増大させることなく本発明の文字間挿
入の手法を実現することが可能になる。
In the apparatus of the present invention using the above computer system, as described with reference to FIG. 2, from the step of inputting character data, a specific character is inserted between each character of the unfixed character string and the character is fixed. A series of processing steps up to the step of outputting a character string are performed by a program stored in the memory unit 40, that is, software. Therefore, in the embodiment of FIG. 5, it is possible to realize the intercharacter insertion method of the present invention without increasing the amount of hardware.

【0029】図6は、図5のキーボードの具体例を示す
図である。図6に示すように、入力装置10内のキーボ
ード12においては、かなやローマ字等を入力するため
のキーの他に、変換キー14、空白挿入キー15および
空白削除キー16等の各種の機能キーが設けられてい
る。これらの機能キーは、通常用いられるキーボードに
前もって取り付けられており、必要に応じて特定の処理
動作を自由にカストマイズする機能を有している。上記
の変換キー14を押下することによりCPUに信号が伝
達され、かな等からなる第1の文字列を、漢字等を含む
第2の文字列に変換する動作がなされ、変換動作中であ
ることを示す未確定文字列が生成される。さらに、空白
挿入キー15を押下する度にCPUに信号が伝達され、
未確定文字列の各文字間に空白が一個ずつ増加してい
く。また一方で、空白削除キー16を押下する度にCP
Uに信号が伝達され、未確定文字列の各文字間に存在す
る空白が一個ずつ減少していく。上記の空白挿入キー1
5および空白削除キー16の操作により目的の文字列が
得られた時点で確定キーまたはカーソル移動キー等を押
下することにより、未確定文字列が確定されて変換処理
後の第2の文字列が最終的に出力される。このように、
空白挿入キー15および空白削除キー16を別個に設け
ることにより、簡単なキー操作によって未確定文字列の
各文字間の空白の個数を容易に変更することが可能にな
る。
FIG. 6 is a diagram showing a specific example of the keyboard shown in FIG. As shown in FIG. 6, in the keyboard 12 in the input device 10, various function keys such as a conversion key 14, a blank insertion key 15 and a blank deletion key 16 are provided in addition to keys for inputting kana and Roman letters. Is provided. These function keys are attached to a commonly used keyboard in advance and have a function of customizing a specific processing operation as needed. A signal is transmitted to the CPU by pressing the conversion key 14 described above, and an operation of converting the first character string including kana or the like into the second character string including kanji or the like is being performed, and the conversion operation is in progress. An indeterminate character string indicating is generated. Furthermore, each time the blank insertion key 15 is pressed, a signal is transmitted to the CPU,
One space is added between each character in the undetermined character string. On the other hand, every time the blank delete key 16 is pressed, the CP
A signal is transmitted to U, and the white space existing between each character of the undetermined character string decreases by one. Blank insert key 1 above
5 and the blank delete key 16 are pressed to depress the confirmation key or the cursor movement key when the target character string is obtained, the unconfirmed character string is confirmed and the second character string after the conversion processing is Finally output. in this way,
By providing the blank insertion key 15 and the blank deletion key 16 separately, it becomes possible to easily change the number of blanks between each character of the unfixed character string by a simple key operation.

【0030】図7は、本発明の一実施例における文字間
空白挿入表示の手順を説明するためのフローチャートで
ある。ただし、ここでは、かなからなる第1の文字列
を、漢字を含む第2の文字列に変換する場合に、未確定
文字列の各文字間に空白を挿入するときの本発明の動作
を代表して説明することとする。まず初めに、図7のス
テップS20において、ディスプレイの表示画面を見な
がらキーボードの操作を行うことにより、かなからなる
第1の文字列(例えば、「かなかんじへんかん」)を入
力する。
FIG. 7 is a flow chart for explaining the procedure of the intercharacter space insertion display in one embodiment of the present invention. However, here, in the case of converting the first character string composed of kana into the second character string including the kanji, the operation of the present invention when a space is inserted between each character of the undetermined character string is representative. I will explain it. First, in step S20 of FIG. 7, by operating the keyboard while looking at the display screen of the display, the first character string consisting of kana (for example, "kana kanji jenkan") is input.

【0031】次に、ステップS21において、変換キー
14(図6)を押下することにより、第1の文字列を、
漢字とかなの混合文からなる未確定文字列(例えば、
「かな漢字変換」)に変換する。さらに、このような変
換結果が得られると、ステップS22において、空白挿
入キー15(図6)を押下することにより、表示画面の
表示中の各文字間に空白が1文字分ずつ挿入される。
Next, in step S21, the conversion key 14 (FIG. 6) is pressed to change the first character string to
An undetermined character string consisting of a mixture of kanji and kana (for example,
"Kana-Kanji conversion"). Further, when such a conversion result is obtained, in step S22, the blank insertion key 15 (FIG. 6) is pressed to insert a blank for each character between the characters being displayed on the display screen.

【0032】さらに、ステップS23において、空白挿
入キー15を押下することにより、表示画面の表示中の
各文字間に空白がさらに1文字分ずつ挿入される。すな
わち、各文字間に合計2文字分ずつ空白が挿入された状
態で未確定文字列が表示される。さらに、ステップS2
4において、空白挿入キー15を押下することにより、
表示画面の表示中の各文字間に空白がさらに1文字分ず
つ挿入される。すなわち、各文字間に合計3文字分ずつ
空白が挿入された状態で未確定文字列が表示される。以
下、空白挿入キー15を押下する毎に、挿入すべき空白
が1文字分ずつ増加していく。
Further, in step S23, by pressing the blank insertion key 15, a blank is inserted by one character between each character being displayed on the display screen. That is, the unconfirmed character string is displayed in a state in which a space of 2 characters is inserted between each character in total. Further, step S2
In step 4, by pressing the blank insertion key 15,
An additional space is inserted between each character displayed on the display screen. That is, the undetermined character string is displayed in a state in which a total of three spaces are inserted between each character. Thereafter, each time the blank insertion key 15 is pressed, the blank to be inserted is increased by one character.

【0033】さらに、ステップS25において、空白削
除キー16を押下することにより、表示画面の表示中の
各文字間に存在する空白が1文字分ずつ減少する。この
ようにして、各文字間で所望の間隔の空白を有する文字
列が表示画面上で得られた場合、ステップS26におい
て、確定キーまたはカーソル移動キー等を押下すること
により、未確定文字列が確定されて2文字分ずつ空白が
挿入された第2の文字列(例えば、「か○○な○○漢○
○字○○変○○換」)が出力される。
Further, in step S25, by pressing the blank delete key 16, the blank existing between the characters being displayed on the display screen is reduced by one character. In this way, when a character string having a space of a desired space between characters is obtained on the display screen, the undetermined character string is changed by pressing the enter key or the cursor movement key in step S26. A second character string that has been confirmed and has a space inserted for each two characters (for example, "or
○ character ○○ strange ○○ conversion ") is output.

【0034】上記のかな漢字変換処理および文字間空白
挿入/削除処理においては、予め定められた特定のキー
の簡単な操作により、各文字間に適切な空白を挿入した
文字列を迅速に得ることが可能になる。図8は、本発明
の一実施例における文字間空白挿入/削除処理の手順を
詳細に説明するためのフローチャートである。ただし、
この場合も、かなからなる第1の文字列を、漢字を含む
第2の文字列に変換する場合に、未確定文字列の各文字
間に空白を挿入したり既に存在する空白を削除したりす
るときの本発明の動作を代表して説明することとする。
In the above Kana-Kanji conversion process and inter-character space insertion / deletion process, a character string in which an appropriate space is inserted between each character can be quickly obtained by a simple operation of a predetermined specific key. It will be possible. FIG. 8 is a flow chart for explaining in detail the procedure of the inter-character space insertion / deletion processing in the embodiment of the present invention. However,
In this case as well, when converting the first character string consisting of kana to the second character string including kanji, a space is inserted between each character of the undetermined character string, or a space which already exists is deleted. The operation of the present invention will be described as a representative.

【0035】図8のステップS30に示すように、通常
は、CPU内の変換中フラグはオフ状態になっている。
ここで、ステップS31に示すように、表示部の表示画
面を見ながら入力部内のキーボードのキーに対し所定の
操作を行えば、かな等の第1の文字列が入力される。こ
のようにして入力された第1の文字列からなる文字デー
タは、読み文字列バッファに格納される(ステップS3
6)。
As shown in step S30 in FIG. 8, the in-conversion flag in the CPU is normally off.
Here, as shown in step S31, if a predetermined operation is performed on a key of the keyboard in the input unit while looking at the display screen of the display unit, the first character string such as kana is input. The character data consisting of the first character string input in this way is stored in the reading character string buffer (step S3).
6).

【0036】次に、ステップS32において、変換キー
が押下されると、この変換キーからCPUに信号が伝達
され、変換動作中であることを示すCPU内の変換中フ
ラグがオン状態になる(ステップS33)。この状態
で、読み文字列バッファ中の文字データを対象に漢字か
な混合文の第2の文字列への変換処理が行われる(ステ
ップS34)。この変換処理による変換結果は、変換文
字列バッファに格納される。この場合、変換中フラグが
オン状態になっている限りは、変換結果として得られる
第2の文字列は、未確定文字列として変換文字列バッフ
ァに格納される。さらに、ステップS35において、変
換中フラグがオン状態になっている状態で、空白挿入キ
ーが押下されると(ステップS37)、未確定文字列の
各文字間に適切な間隔でもって空白が挿入される。ある
いは、空白削除キーが押下されると、未確定文字列の各
文字間の空白の文字数が減少する(ステップS39)。
このような空白挿入キーおよび空白削除キーは、変換中
フラグがオン状態のときのみ有効であると判断される。
各文字間に空白が挿入された文字列は、空白挿入文字列
バッファに格納される。
Next, in step S32, when the conversion key is pressed, a signal is transmitted from the conversion key to the CPU, and the conversion flag in the CPU indicating that the conversion operation is in progress is turned on (step S33). In this state, conversion processing of the kanji / kana mixed sentence into the second character string is performed on the character data in the reading character string buffer (step S34). The conversion result of this conversion processing is stored in the conversion character string buffer. In this case, as long as the in-conversion flag is in the ON state, the second character string obtained as the conversion result is stored in the converted character string buffer as an undetermined character string. Further, in step S35, when the blank insertion key is pressed while the conversion flag is in the on state (step S37), blanks are inserted at appropriate intervals between the characters of the unfixed character string. It Alternatively, when the blank delete key is pressed, the number of blank characters between each character of the undetermined character string decreases (step S39).
Such a blank insertion key and a blank deletion key are determined to be valid only when the in-conversion flag is on.
A character string with a space inserted between each character is stored in the space insertion character string buffer.

【0037】この空白挿入文字列バッファは、文字間に
空白が最終的に挿入された状態の文字列を保持するのに
対し、前述の変換文字列バッファは、文字間に空白を挿
入しない状態の文字列を保持する。空白挿入キーが押下
された場合、半角モードであれば、未確定文字列の各文
字間に半角空白1個が挿入される。これに対し、全角モ
ードであれば、未確定文字列の各文字間に全角空白1
個、すなわち、半角空白2個が挿入される。また一方
で、空白削除キーが押下された場合、半角モードであれ
ば、未確定文字列の各文字間の半角空白1個が削除され
る。全角モードであれば、未確定文字列の各文字間に全
角空白1個、すなわち、半角空白2個が削除される。
This blank insertion character string buffer holds a character string in which a space is finally inserted between characters, whereas the conversion character string buffer described above is in a state in which no space is inserted between characters. Holds a string. When the blank insertion key is pressed, in the half-width mode, one half-width blank is inserted between each character of the undetermined character string. On the other hand, in the double-byte mode, double-byte space between each character in the undetermined character string 1
, That is, two half-width spaces are inserted. On the other hand, when the blank delete key is pressed, in the half-width mode, one half-width blank between each character of the undetermined character string is deleted. In the full-width mode, one full-width blank, that is, two half-width blanks are deleted between each character of the undetermined character string.

【0038】換言すれば、空白挿入キーまたは空白削除
キーを操作することにより、全角モードおよび半角モー
ドのいずれにおいても、変換文字列バッファの各文字間
に適切な個数の空白が挿入される。この空白挿入処理の
結果として得られる文字列が目的の文字列であると判断
された場合、ステップS31において、確定キーまたは
カーソル移動キー等が押下される。この確定キーまたは
カーソル移動キー等が押下されると、CPU内の変換中
フラグがオン状態からオフ状態になり(ステップ3
7′)、未確定文字列が確定されて変換処理後の第2の
文字列が最終的に出力される(ステップ38)。
In other words, by operating the blank insertion key or the blank deletion key, an appropriate number of blanks are inserted between each character in the conversion character string buffer in both full-width mode and half-width mode. When it is determined that the character string obtained as a result of this blank insertion process is the target character string, the enter key, the cursor movement key, or the like is pressed in step S31. When the confirmation key or the cursor movement key is pressed, the conversion flag in the CPU is changed from the on state to the off state (step 3
7 '), the unconfirmed character string is confirmed and the second character string after the conversion processing is finally output (step 38).

【0039】このように、CPU内の変換中フラグがオ
ン状態からオフ状態になったとき、第1の文字列から第
2の文字列への変換処理が完了する。図9は、本発明に
おける半角モードおよび全角モードでの文字間挿入/削
除処理の第1例を示す概念図である。ここでは、全角の
かなのみからなる第1の文字列(例えば、「にほん
ご」)に対しかな漢字変換を行った未確定文字列(例え
ば、「日本語」)に対し、半角モードおよび全角モード
での文字間挿入/削除処理を実行した場合の様子を、デ
ィスプレイ62の表示画面の動きにより説明する。
In this way, when the in-conversion flag in the CPU changes from the ON state to the OFF state, the conversion processing from the first character string to the second character string is completed. FIG. 9 is a conceptual diagram showing a first example of intercharacter insertion / deletion processing in the half-width mode and the full-width mode in the present invention. Here, for the undetermined character string (for example, "Japanese") obtained by the Kana-Kanji conversion for the first character string (for example, "Nihongo") consisting of only full-width kana, The state when the inter-character insertion / deletion process is executed will be described by the movement of the display screen of the display 62.

【0040】図9の最上部に示すように、変換キーが押
下されて変換中フラグがオン状態になった状態では、変
換処理による変換結果として得られる第2の文字列(例
えば、「日本語」)は、未確定文字列としてディスプレ
イ62の表示画面に表示される。なお、ディスプレイ6
2の表示画面の上部に記載された数字は、文字列中のバ
イト位置を示すものである。この場合、全角文字は、2
バイトにより構成される。
As shown in the uppermost part of FIG. 9, when the conversion key is pressed and the conversion flag is turned on, a second character string (for example, "Japanese )) Is displayed on the display screen of the display 62 as an undetermined character string. The display 6
The number written on the upper part of the display screen of No. 2 indicates the byte position in the character string. In this case, double-byte characters are 2
It consists of bytes.

【0041】文字間挿入/削除処理のモードが半角モー
ドに設定されている場合、空白挿入キーが押下される毎
に文字間挿入指示を示す信号がCPUに伝達され、未確
定文字列の各文字間に半角空白が1個ずつ挿入される。
また一方で、空白挿入キーが押下される毎に文字間削除
指示を示す信号がCPUに伝達され、未確定文字列の各
文字間に存在する半角空白1個が削除される。
When the character insertion / deletion processing mode is set to the half-width mode, a signal indicating the character insertion instruction is transmitted to the CPU every time the blank insertion key is pressed, and each character of the undetermined character string is transmitted. One half-width space is inserted between them.
On the other hand, every time the blank insertion key is pressed, a signal indicating an inter-character deletion instruction is transmitted to the CPU, and one half-width blank existing between each character of the unfixed character string is deleted.

【0042】これに対し、文字間挿入/削除処理のモー
ドが全角モードに設定されている場合、空白挿入キーが
押下される毎に文字間挿入指示を示す信号がCPUに伝
達され、未確定文字列の各文字間に全角空白が1個ずつ
(すなわち、半角空白が2個ずつ)挿入される。また一
方で、空白挿入キーが押下される毎に文字間削除指示を
示す信号がCPUに伝達され、未確定文字列の各文字間
に存在する全角空白が1個ずつ(すなわち、半角空白が
2個ずつ)削除される。
On the other hand, when the character insertion / deletion processing mode is set to the full-width mode, a signal indicating the character insertion instruction is transmitted to the CPU every time the blank insertion key is pressed, and the undetermined character is transmitted. One full-width space (ie, two half-width spaces) is inserted between each character in the column. On the other hand, each time the blank insertion key is pressed, a signal indicating an inter-character deletion instruction is transmitted to the CPU, and one full-width blank existing between each character of the undetermined character string (that is, a half-width blank is 2 Deleted one by one).

【0043】図10は、本発明における半角モードおよ
び全角モードでの文字間挿入/削除処理の第2例を示す
概念図である。ここでは、全角のかなと半角の数字から
なる第1の文字列{例えば、「だい 1かい(本来なら、
図10のように、数字の1を半角づめにすべきである
が、ワープロの操作上の制限により、やむを得ず、左記
のように表示することとする)」}に対しかな漢字変換
を行った未確定文字列{例えば、「第 1回(本来は、図
10のように、数字の1を半角づめにすべきであるが、
ワープロの操作上の制限により、やむを得ず、左記のよ
うに表示することとする)」}に対し、半角モードおよ
び全角モードでの文字間挿入/削除処理を実行した場合
の様子を、ディスプレイ62の表示画面の動きにより説
明する。
FIG. 10 is a conceptual diagram showing a second example of the character insertion / deletion processing in the half-width mode and the full-width mode according to the present invention. Here, the first character string consisting of full-width kana and half-width numbers {For example, "Daily 1
As shown in Fig. 10, the number 1 should be divided into half-width characters, but due to the operational restrictions of the word processor, it is unavoidable that the display should be as shown on the left))}} Character string {For example, "1st time (Originally, the number 1 should be divided into
Due to the operational limitation of the word processor, it is unavoidable that the display will be as shown on the left.) ", But the display 62 shows the state when the inter-character insertion / deletion process in half-width mode and full-width mode is executed. It will be described by the movement of the screen.

【0044】図10の最上部に示すように、変換キーが
押下されて変換中フラグがオン状態になった状態では、
変換処理による変換結果として得られる第2の文字列
(例えば、「第 1回」)は、未確定文字列としてディス
プレイ62の表示画面に表示される。文字間挿入/削除
処理のモードが半角モードに設定されている場合、図9
の場合と同じように、空白挿入キーが押下される毎に文
字間挿入指示を示す信号がCPUに伝達され、未確定文
字列の各文字間に半角空白が1個ずつ挿入される。また
一方で、空白挿入キーが押下される毎に文字間削除指示
を示す信号がCPUに伝達され、未確定文字列の各文字
間に存在する半角空白1個が削除される。
As shown at the top of FIG. 10, when the conversion key is pressed and the conversion in progress flag is turned on,
The second character string (for example, “first time”) obtained as a conversion result by the conversion process is displayed on the display screen of the display 62 as an undetermined character string. When the character insertion / deletion processing mode is set to the half-width mode, FIG.
As in the case of, each time the blank insertion key is pressed, a signal indicating an intercharacter insertion instruction is transmitted to the CPU, and one half-width space is inserted between each character of the undetermined character string. On the other hand, every time the blank insertion key is pressed, a signal indicating an inter-character deletion instruction is transmitted to the CPU, and one half-width blank existing between each character of the unfixed character string is deleted.

【0045】文字間挿入/削除処理のモードが全角モー
ドに設定されている場合も、図9の場合と同じように、
空白挿入キーが押下される毎に文字間挿入指示を示す信
号がCPUに伝達され、未確定文字列の各文字間に全角
空白が1個ずつ(すなわち、半角空白が2個ずつ)挿入
される。また一方で、空白挿入キーが押下される毎に文
字間削除指示を示す信号がCPUに伝達され、未確定文
字列の各文字間に存在する全角空白が1個ずつ(すなわ
ち、半角空白が2個ずつ)削除される。
Even when the character insertion / deletion processing mode is set to the full-width mode, as in the case of FIG.
A signal indicating an inter-character insertion instruction is transmitted to the CPU every time the blank insertion key is pressed, and one full-width blank (that is, two half-width blanks) is inserted between each character of the undetermined character string. . On the other hand, each time the blank insertion key is pressed, a signal indicating an inter-character deletion instruction is transmitted to the CPU, and one full-width blank existing between each character of the unfixed character string (that is, half-width blank is 2 Deleted one by one).

【0046】このように、本発明の文字間挿入(または
文字間削除)の手法においては、第1の文字列が、かな
とそれ以外の文字(数字)から構成されている場合であ
っても、文字列の各文字間で空白を挿入/削除する処理
を適切に遂行することができる。図11および図12
は、本発明の具体的実施例における文字間挿入/削除処
理の手順を詳細に説明するためのフローチャート(その
1およびその2)である。ここでは、本発明の文字間挿
入方法により半角モードおよび全角モードでの文字間挿
入/削除処理をソフトウェアのプログラムにより実行す
る場合の具体的手順を説明することとする。
As described above, in the intercharacter insertion (or intercharacter deletion) method of the present invention, even when the first character string is composed of kana and other characters (numbers). , A process of inserting / deleting a space between each character of a character string can be appropriately performed. 11 and 12
FIG. 4 is a flowchart (No. 1 and No. 2) for explaining in detail the procedure of the inter-character insertion / deletion process in the specific example of the present invention. Here, a specific procedure will be described in the case where the intercharacter insertion / deletion process in the half-width mode and the full-width mode is executed by a software program by the intercharacter insertion method of the present invention.

【0047】まず初めに、この文字間挿入/削除処理の
際にプログラム内で使用される変数を定義する。ここで
は、下記の7つの変数を定義することとする。ただし、
この場合、1文字が2バイト(=16ビット)で構成さ
れるものとする。 (1) T:文字列の各文字間で一度に挿入(または削除)
する空白の数 半角モードの場合は1、全角モードの場合は2とする。
First, the variables used in the program at the time of this character insertion / deletion processing are defined. Here, the following seven variables are defined. However,
In this case, one character is composed of 2 bytes (= 16 bits). (1) T: Insert (or delete) at once between each character of the character string
Number of blanks to be set 1 for half-width mode and 2 for full-width mode.

【0048】 (2) S:文字列の各文字間に挿入する空白の数(累計) (3) I:変換文字列中のバイト位置 (4) J:何文字目かを示す変数(半角モードおよび全角
モードのいずれにおいても1文字とする) (5) H:当該文字以前にある半角文字の個数 (6) K:1文字中の何バイト目かを示す変数(1または
2) (7) L:空白挿入後の文字列中のバイト位置 図11のステップS40において、文字間挿入/削除処
理のモードが半角モードに設定されている場合、変数T
を1にする(ステップS41)。また一方で、文字間挿
入/削除処理のモードが全角モードに設定されている場
合、変数Tを2(ステップS42)にする。
(2) S: Number of blanks inserted between each character of the character string (total) (3) I: Byte position in the converted character string (4) J: Variable indicating the character number (half-width mode (One character in both full-width and full-width mode) (5) H: Number of half-width characters before the character (6) K: Variable indicating the number of bytes in one character (1 or 2) (7) L: Byte position in character string after blank insertion In step S40 of FIG. 11, when the character insertion / deletion process mode is set to the half-width mode, the variable T
Is set to 1 (step S41). On the other hand, when the character insertion / deletion process mode is set to the full-width mode, the variable T is set to 2 (step S42).

【0049】次に、ステップS43において、空白挿入
キーまたは空白削除キーが押下されたことをCPUによ
り検出する。ここで、空白挿入キーが押下されたことを
検出した場合、変数SをS+T(S=S+T)に設定し
(ステップS44)、ステップS47に進む。また一方
で、空白削除キーが押下されたことを検出した場合、変
数SをS−T(S=S−T)に設定する(ステップS4
5)。さらに、新たに設定後の変数Sの値が負の値にな
る(S<0)か否かをCPUによりチェックする(ステ
ップS46)。もし、S<0であれば、現時点で文字列
の各文字間に空白は存在しないので、変数Sの値を0に
設定し直す(ステップS48)。もし、S≧0であれ
ば、現時点で文字列の各文字間に空白が存在しているの
で、空白削除処理が可能であることが確認される。さら
に、ステップ47において、変数I、JおよびHの初期
設定を行う(I=1、J=1、および、H=0)。ここ
で、変数Kは1に設定される(K=1)。
Next, in step S43, the CPU detects that the blank insertion key or the blank deletion key has been pressed. If it is detected that the blank insertion key has been pressed, the variable S is set to S + T (S = S + T) (step S44), and the process proceeds to step S47. On the other hand, when it is detected that the blank delete key has been pressed, the variable S is set to ST (S = ST) (step S4).
5). Further, the CPU checks whether or not the newly set value of the variable S becomes a negative value (S <0) (step S46). If S <0, there is no space between each character of the character string at this time, so the value of the variable S is reset to 0 (step S48). If S ≧ 0, there is a space between each character of the character string at this point, so it is confirmed that the space deletion process is possible. Further, in step 47, variables I, J, and H are initialized (I = 1, J = 1, and H = 0). Here, the variable K is set to 1 (K = 1).

【0050】さらに、図12のステップS49におい
て、未確定文字列の各文字間に空白を挿入した場合の空
白挿入文字列中のバイト位置を示す変数Lの値を算出す
る。この変数Lの値は、L=(S+2)×(J−1)+
K−Hに従い算出される。さらに、ステップS50にお
いて、変換動作中の未確定文字列のIバイト目を空白挿
入文字列バッファのLバイト目に複写することにより、
Iバイト目の文字の後に空白が挿入される。
Further, in step S49 of FIG. 12, the value of the variable L indicating the byte position in the blank insertion character string when a space is inserted between each character of the undetermined character string is calculated. The value of this variable L is L = (S + 2) × (J-1) +
Calculated according to K-H. Further, in step S50, the I-th byte of the undetermined character string being converted is copied to the L-byte of the blank insertion character string buffer,
A blank is inserted after the character of the I-th byte.

【0051】さらに、ステップS51において、未確定
文字列のIバイト目が半角文字になっているか否かをC
PUによりチェックする。もし、未確定文字列のIバイ
ト目が半角文字になっていれば、ステップS52におい
て、このIバイト目の文字以前にある半角文字の個数を
示す変数Hの値を1だけ増加させる(H=H+1)。こ
のような変数Hの再設定後に、フローチャートは次のス
テップS53に進む。
Further, in step S51, it is determined whether or not the I-th byte of the unfixed character string is a half-width character.
Check with PU. If the I-th byte of the undetermined character string is a half-width character, then in step S52, the value of the variable H indicating the number of half-width characters before this I-byte character is increased by 1 (H = H + 1). After such resetting of the variable H, the flowchart proceeds to the next step S53.

【0052】もし、未確定文字列のIバイト目が半角文
字になっていなければ、そのままステップ53に進み、
このステップS53において、変数Iの値を1だけ増加
させる(I=I+1)。さらに、ステップS54におい
て、変換処理がなされた未確定文字列の長さがIより小
さいか否かをCPUによりチェックする。もし、未確定
文字列の長さがIより小さければ、もはや空白挿入/削
除の必要はないので、一連の処理が終了する。
If the I-th byte of the undetermined character string is not a half-width character, proceed to step 53 as it is,
In this step S53, the value of the variable I is increased by 1 (I = I + 1). Further, in step S54, the CPU checks whether or not the length of the converted undetermined character string is smaller than I. If the length of the unconfirmed character string is smaller than I, it is not necessary to insert / delete a blank anymore, and the series of processing ends.

【0053】また一方で、未確定文字列長がI以上であ
れは、空白挿入/削除処理が完了していないので、次の
ステップS55に進む。このステップS55において、
未確定文字列のIバイト目が全角文字の2バイト目にな
っているか否かをCPUによりチェックする。もし、未
確定文字列のIバイト目が全角文字の2バイト目になっ
ていなければ(すなわち、1バイト目になっていれ
ば)、ステップS56において、変数Jの値を1だけ増
加させると共に、変数Kの値を1に設定したままにする
(J=J+1、および、K=1)。すなわち、上記のI
バイト目の全角文字の後に空白を挿入する準備をする。
このような変数の設定後に、フローチャートはステップ
S49に戻り、前述のS49〜S55の処理が再び実行
される。
On the other hand, if the undetermined character string length is I or more, the blank insertion / deletion process has not been completed, and the process proceeds to the next step S55. In this step S55,
The CPU checks whether or not the I byte of the undetermined character string is the second byte of the double-byte character. If the I byte of the undetermined character string is not the second byte of the double-byte character (that is, the first byte), the value of the variable J is incremented by 1 in step S56, and The value of the variable K remains set to 1 (J = J + 1 and K = 1). That is, the above I
Prepare to insert a space after the full-width character of the byte.
After setting such variables, the flowchart returns to step S49, and the above-described processing of S49 to S55 is executed again.

【0054】また一方で、ステップS55において、未
確定文字列のIバイト目が全角文字の2バイト目になっ
ている場合は、1文字中の2バイト目に全角文字がある
ものとみなし、ステップS57において、変数Kの値を
2に設定する(K=2)。すなわち、1文字中の2バイ
ト目の全角文字の後に空白を挿入する準備をする。この
ような変数の設定後に、フローチャートはステップS4
9に戻り、前述のS49〜S55の処理が再び実行され
る。
On the other hand, in step S55, if the I-byte of the undetermined character string is the second byte of the full-width character, it is considered that there is a full-width character in the second byte of one character, and the step In S57, the value of the variable K is set to 2 (K = 2). That is, preparation is made to insert a space after the full-width character of the second byte in one character. After setting such variables, the flow chart is based on step S4.
Returning to step 9, the above-described steps S49 to S55 are executed again.

【0055】以下、未確定文字列長がIより小さくなる
まで、同様のステップS49〜S57の動作を繰り返す
ことにより、未確定文字列のすべての文字と文字との間
に空白が挿入(削除)された文字列が得られる。上記の
一連の動作は、CPUの制御の下で所定のプログラムを
実行させることにより自動的に行うことができるので、
従来よりもはるかに簡単な操作によって変換文字列の各
文字の間に一度に空白等の特定の文字を挿入することが
可能になる。
Thereafter, the same operations in steps S49 to S57 are repeated until the length of the undetermined character string becomes smaller than I, whereby blanks are inserted (deleted) between all the characters in the undetermined character string. The obtained character string is obtained. The above series of operations can be automatically performed by executing a predetermined program under the control of the CPU.
It is possible to insert a specific character such as a space at a time between each character of the conversion character string by a much simpler operation than before.

【0056】これまでは、日本語のかな漢字変換を行う
場合、すなわち、かなから構成される第1の文字列を、
漢字とかなの混合文から構成される第2の文字列に変換
する場合を想定して本発明の文字間挿入装置および挿入
方法の具体例を説明してきた。しかしながら、本発明の
文字間挿入装置および挿入方法は、当然のことながら、
中国語、台湾語または韓国語等に関する任意の第1の文
字列を目的の第2の文字列に変換する場合にも適用する
ことが可能である。
Up to now, when performing the kana-kanji conversion of Japanese, that is, the first character string composed of kana,
A specific example of the intercharacter insertion device and insertion method of the present invention has been described on the assumption that the second character string composed of a mixed sentence of kanji and kana is converted. However, the intercharacter insertion device and insertion method of the present invention are, of course,
It is also applicable when converting an arbitrary first character string relating to Chinese, Taiwanese, Korean, etc. into a target second character string.

【0057】例えば、中国語に関して言えば、この中国
語のキー操作による入力は、2つの仮想キーボードを用
いて声母(b,p,m等)と韵母(a,p,m等)を同
時に打鍵することにより実行される(2ストローク方式
とよばれる)。このような声母および韵母からなる第2
の文字列は、変換キー等の操作により、変換動作中の未
確定文字列として出力される。さらに、この未確定文字
列は、本発明の文字間挿入装置および挿入方法を利用す
ることにより、前述の実施例の場合と同じように、漢字
等の各文字間に空白等を挿入した第2の文字列へ容易に
変換される。
For example, in the case of Chinese, for input by the key operation of this Chinese, two virtual keyboards are used to simultaneously type the voice-mother (b, p, m, etc.) and the skeleton (a, p, m, etc.). It is executed by doing so (called a two-stroke method). The second consisting of such a voice mother and an iron mother
The character string of is output as an undetermined character string during the conversion operation by the operation of the conversion key or the like. Further, this undetermined character string is obtained by using the intercharacter insertion device and the insertion method of the present invention, so that a space or the like is inserted between the characters such as Chinese characters as in the case of the second embodiment. Easily converted to a string of.

【0058】さらに、これまでの具体例では、文字列の
各文字間に挿入するものを空白として説明してきたが、
このような挿入の対象とするものは、空白のみに限定す
る必要はない。例えば、「・」や「−」や「〜」等、ど
のような文字でも挿入することが可能である。
Further, in the above-mentioned specific examples, the one inserted between each character of the character string has been described as a blank.
The target of such insertion need not be limited to white space. For example, it is possible to insert any character such as ".", "-", And "...".

【0059】[0059]

【発明の効果】以上説明したように本発明によれば、か
な等からなる任意の第1の文字列を、漢字等を含む他の
第2の文字列に変換する際に、従来の場合よりもはるか
に簡単な操作により、文字と文字の間に空白等の特定の
文字を、適切な間隔でもって一度にかつ迅速に挿入する
ことができる。このように、変換動作中の第2の文字列
の各文字間に空白等を容易に挿入できるという点は、特
に、文書中の表題、見出し等で変換動作中の第2の文字
列中の各文字を等間隔に表示させたい場合に大きな効果
をもたらす。この結果、文書作成において作業の負担が
軽減される。
As described above, according to the present invention, when converting an arbitrary first character string composed of kana or the like into another second character string including kanji, etc. With a much simpler operation, it is possible to quickly insert a specific character such as a space between characters at once with proper intervals. As described above, the fact that a space or the like can be easily inserted between each character of the second character string during the conversion operation is particularly due to the fact that a title, a headline, etc. in the document are included in the second character string during the conversion operation. This is very effective when you want to display each character at equal intervals. As a result, the work load is reduced in document creation.

【0060】さらに、本発明によれば、かな漢字等の変
換を行う前に空白等の個数を予め決定しておく必要がな
くなる。それゆえに、変換後に表示画面に表示された結
果が所望の変換結果と食い違うという事態は生じない。
さらに、空白等の個数を予め決定しておく必要がなくな
るために、変換動作中の文字列中の漢字等の個数が多く
なっても、空白の個数をいちいち勘定しなくて済むよう
になる。この結果、従来に比べて文字間挿入処理の手間
・工数を著しく節減することが可能になる。
Further, according to the present invention, it is not necessary to determine the number of blanks or the like in advance before converting kana-kanji characters or the like. Therefore, the result displayed on the display screen after conversion does not conflict with the desired conversion result.
Further, since it is not necessary to determine the number of blanks or the like in advance, it is not necessary to count the number of blanks even if the number of Chinese characters or the like in the character string being converted increases. As a result, it becomes possible to significantly reduce the time and labor required for the character-to-character insertion processing as compared with the conventional case.

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

【図1】本発明の文字間挿入装置の原理構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a principle configuration of an inter-character insertion device of the present invention.

【図2】本発明の文字間挿入装置の方法を説明するため
のフローチャートである。
FIG. 2 is a flow chart for explaining a method of the character insertion device according to the present invention.

【図3】本発明の一実施例の概略的な構成を示すブロッ
ク図である。
FIG. 3 is a block diagram showing a schematic configuration of an embodiment of the present invention.

【図4】本発明の一実施例におけるバッファの動作を説
明するための流れ図である。
FIG. 4 is a flowchart illustrating an operation of a buffer according to an exemplary embodiment of the present invention.

【図5】本発明の一実施例における装置構成の具体例を
示すブロック図である。
FIG. 5 is a block diagram showing a specific example of a device configuration according to an embodiment of the present invention.

【図6】図5のキーボードの具体例を示す図である。6 is a diagram showing a specific example of the keyboard of FIG.

【図7】本発明の一実施例における文字間空白挿入表示
の手順を説明するためのフローチャートである。
FIG. 7 is a flow chart for explaining a procedure of intercharacter space insertion display according to an embodiment of the present invention.

【図8】本発明の一実施例における文字間空白挿入/削
除処理の手順を詳細に説明するためのフローチャートで
ある。
FIG. 8 is a flowchart illustrating in detail a procedure of inter-character space insertion / deletion processing according to an embodiment of the present invention.

【図9】本発明における半角モードおよび全角モードで
の文字間挿入/削除処理の第1例を示す概念図である。
FIG. 9 is a conceptual diagram showing a first example of intercharacter insertion / deletion processing in half-width mode and full-width mode in the present invention.

【図10】本発明における半角モードおよび全角モード
での文字間挿入/削除処理の第2例を示す概念図であ
る。
FIG. 10 is a conceptual diagram showing a second example of intercharacter insertion / deletion processing in half-width mode and full-width mode in the present invention.

【図11】本発明の具体的実施例における文字間挿入/
削除処理の手順を詳細に説明するためのフローチャート
(その1)である。
FIG. 11 is an inter-character insertion / in a specific embodiment of the present invention.
9 is a flowchart (part 1) for explaining in detail the procedure of a deletion process.

【図12】本発明の具体的実施例における文字間挿入/
削除処理の手順を詳細に説明するためのフローチャート
(その2)である。
FIG. 12: Character-to-character insertion / in a specific embodiment of the present invention
11 is a flowchart (part 2) for explaining the procedure of the deletion process in detail.

【図13】従来の文字間挿入の手法を説明するための概
念図である。
FIG. 13 is a conceptual diagram for explaining a conventional intercharacter insertion method.

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

1…入力手段 2…文字変換処理手段 3…文字間挿入指示手段 4…挿入指示有効判定手段 5…未確定文字列処理手段 6…表示手段 7…制御部 12…キーボード 20…辞書部 40…記憶部 62…ディスプレイ 70…CPU DESCRIPTION OF SYMBOLS 1 ... Input means 2 ... Character conversion processing means 3 ... Intercharacter insertion instruction means 4 ... Insertion instruction validity determination means 5 ... Undetermined character string processing means 6 ... Display means 7 ... Control part 12 ... Keyboard 20 ... Dictionary part 40 ... Storage 62. Display 70. CPU

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成8年3月19日[Submission date] March 19, 1996

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0041[Correction target item name] 0041

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0041】文字間挿入/削除処理のモードが半角モー
ドに設定されている場合、空白挿入キーが押下される毎
に文字間挿入指示を示す信号がCPUに伝達され、未確
定文字列の各文字間に半角空白が1個ずつ挿入される。
また一方で、空白削除キーが押下される毎に文字間削除
指示を示す信号がCPUに伝達され、未確定文字列の各
文字間に存在する半角空白1個が削除される。
When the character insertion / deletion processing mode is set to the half-width mode, a signal indicating the character insertion instruction is transmitted to the CPU every time the blank insertion key is pressed, and each character of the undetermined character string is transmitted. One half-width space is inserted between them.
On the other hand, each time the blank delete key is pressed, a signal indicating a character deletion instruction is transmitted to the CPU, and one half-width blank existing between each character of the undetermined character string is deleted.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0042[Correction target item name] 0042

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0042】これに対し、文字間挿入/削除処理のモー
ドが全角モードに設定されている場合、空白挿入キーが
押下される毎に文字間挿入指示を示す信号がCPUに伝
達され、未確定文字列の各文字間に全角空白が1個ずつ
(すなわち、半角空白が2個ずつ)挿入される。また一
方で、空白削除キーが押下される毎に文字間削除指示を
示す信号がCPUに伝達され、未確定文字列の各文字間
に存在する全角空白が1個ずつ(すなわち、半角空白が
2個ずつ)削除される。
On the other hand, when the character insertion / deletion processing mode is set to the full-width mode, a signal indicating the character insertion instruction is transmitted to the CPU every time the blank insertion key is pressed, and the undetermined character is transmitted. One full-width space (ie, two half-width spaces) is inserted between each character in the column. On the other hand, each time the blank delete key is pressed, a signal indicating an inter-character deletion instruction is transmitted to the CPU, and one full-width blank existing between each character of the unfixed character string is generated (that is, one half-width blank is 2). Deleted one by one).

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0044[Correction target item name] 0044

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0044】図10の最上部に示すように、変換キーが
押下されて変換中フラグがオン状態になった状態では、
変換処理による変換結果として得られる第2の文字列
(例えば、「第1回」)は、未確定文字列としてディス
プレイ62の表示画面に表示される。文字間挿入/削除
処理のモードが半角モードに設定されている場合、図9
の場合と同じように、空白挿入キーが押下される毎に文
字間挿入指示を示す信号がCPUに伝達され、未確定文
字列の各文字間に半角空白が1個ずつ挿入される。また
一方で、空白削除キーが押下される毎に文字間削除指示
を示す信号がCPUに伝達され、未確定文字列の各文字
間に存在する半角空白1個が削除される。
As shown at the top of FIG. 10, when the conversion key is pressed and the conversion in progress flag is turned on,
The second character string (for example, “first time”) obtained as a conversion result by the conversion process is displayed on the display screen of the display 62 as an undetermined character string. When the character insertion / deletion processing mode is set to the half-width mode, FIG.
As in the case of, each time the blank insertion key is pressed, a signal indicating an intercharacter insertion instruction is transmitted to the CPU, and one half-width space is inserted between each character of the undetermined character string. On the other hand, each time the blank delete key is pressed, a signal indicating a character deletion instruction is transmitted to the CPU, and one half-width blank existing between each character of the undetermined character string is deleted.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0045[Name of item to be corrected] 0045

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0045】文字間挿入/削除処理のモードが全角モー
ドに設定されている場合も、図9の場合と同じように、
空白挿入キーが押下される毎に文字間挿入指示を示す信
号がCPUに伝達され、未確定文字列の各文字間に全角
空白が1個ずつ(すなわち、半角空白が2個ずつ)挿入
される。また一方で、空白削除キーが押下される毎に文
字間削除指示を示す信号がCPUに伝達され、未確定文
字列の各文字間に存在する全角空白が1個ずつ(すなわ
ち、半角空白が2個ずつ)削除される。
Even when the character insertion / deletion processing mode is set to the full-width mode, as in the case of FIG.
A signal indicating an inter-character insertion instruction is transmitted to the CPU every time the blank insertion key is pressed, and one full-width blank (that is, two half-width blanks) is inserted between each character of the undetermined character string. . On the other hand, each time the blank delete key is pressed, a signal indicating an inter-character deletion instruction is transmitted to the CPU, and one full-width blank existing between each character of the unfixed character string is generated (that is, one half-width blank is 2). Deleted one by one).

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 任意の第1の文字列からなる文字データ
を入力するための入力手段(1)と、 該入力された文字データを他の第2の文字列に変換し、
かつ、該第2の文字列を、変換動作中の未確定文字列と
して出力する文字変換処理手段(2)と、 該未確定文字列の各文字の間に特定の文字を挿入するこ
とを指示する文字間挿入指示手段(3)と、 該未確定文字列の状態に応じて、該文字間挿入指示手段
(3)からの文字間挿入指示が有効であるか否かを判定
する挿入指示有効判定手段(4)と、 該文字間挿入指示が有効であると判断された場合に、該
文字間挿入指示に基づき前記未確定文字列の各文字の間
に前記特定の文字を挿入し、確定後の第2の文字列とし
て表示するための未確定文字列処理手段(5)とを備え
ることを特徴とする文字間挿入装置。
1. Input means (1) for inputting character data consisting of an arbitrary first character string, and converting the input character data into another second character string,
And a character conversion processing means (2) for outputting the second character string as an unconfirmed character string during conversion operation, and an instruction to insert a specific character between each character of the unconfirmed character string Inter-character insertion instructing means (3) for determining whether or not the inter-character insertion instruction from the inter-character insertion instruction means (3) is valid according to the state of the undetermined character string. A determining means (4), and when it is determined that the inter-character insertion instruction is valid, the specific character is inserted between each character of the undetermined character string based on the inter-character insertion instruction, and the determination is made. An intercharacter insertion device comprising: an unconfirmed character string processing means (5) for displaying as a second character string later.
【請求項2】 任意の第1の文字列からなる文字データ
を入力するステップ(S1)と、 該入力された文字データを他の第2の文字列に変換する
ステップ(S2)と、該第2の文字列を、変換動作中の
未確定文字列として生成するステップ(S3)と、 該未確定文字列の各文字の間に特定の文字を挿入する内
容の指示がなされた場合(S4)、前記未確定文字列の
状態から前記の文字間処理が有効であると判断されたと
きに、前記の文字間挿入指示に基づき前記未確定文字列
の各文字の間に前記特定の文字を挿入するステップ(S
5)と、 前記未確定文字列の各文字の間に前記特定の文字が挿入
された文字列を、確定後の第2の文字列として出力する
ステップ(S6)とからなることを特徴とする文字間挿
入方法。
2. A step (S1) of inputting character data consisting of an arbitrary first character string, a step (S2) of converting the input character data into another second character string, and a step of converting the input character data to another second character string. The step of generating the character string of No. 2 as an unconfirmed character string during the conversion operation (S3), and the instruction to insert a specific character between each character of the unconfirmed character string (S4) When the inter-character process is valid from the state of the undetermined character string, the specific character is inserted between each character of the undetermined character string based on the inter-character insertion instruction. Step (S
5), and a step (S6) of outputting a character string in which the specific character is inserted between each character of the unconfirmed character string, as a finalized second character string. Character insertion method.
【請求項3】 前記第1の文字列が、かなおよびローマ
字のいずれか一方から構成されており、前記第2の文字
列が、漢字とかなの混合文から構成される請求項1記載
の文字間挿入装置。
3. The character according to claim 1, wherein the first character string is composed of either one of kana and romaji, and the second character string is composed of a mixed sentence of kanji and kana. Intercalation device.
【請求項4】 前記第1の文字列が、かなおよびローマ
字のいずれか一方から構成されており、前記第2の文字
列が、漢字とかなの混合文から構成される請求項2記載
の文字間挿入方法。
4. The character according to claim 2, wherein the first character string is composed of one of kana and romaji, and the second character string is composed of a mixed sentence of kanji and kana. Insert method.
【請求項5】 前記特定の文字が、前記未確定文字列の
各文字間に所定の間隔をもたせるための空白である請求
項1または3記載の文字間挿入装置。
5. The intercharacter insertion device according to claim 1, wherein the specific character is a blank for providing a predetermined space between each character of the undetermined character string.
【請求項6】 前記特定の文字が、前記未確定文字列の
各文字間に所定の間隔をもたせるための空白である請求
項2または4記載の文字間挿入方法。
6. The intercharacter insertion method according to claim 2, wherein the specific character is a space for providing a predetermined space between each character of the undetermined character string.
JP00073395A 1995-01-06 1995-01-06 Character insertion device and insertion method Expired - Fee Related JP3209870B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP00073395A JP3209870B2 (en) 1995-01-06 1995-01-06 Character insertion device and insertion method
TW84113770A TW430764B (en) 1995-01-06 1995-12-22 Apparatus for inserting specified character codes between characters
TW88123404A TW432289B (en) 1995-01-06 1995-12-22 Method for inserting specified character codes between characters
KR1019960000077A KR100235523B1 (en) 1995-01-06 1996-01-05 Character insert device and method
CN 96100625 CN1109311C (en) 1995-01-06 1996-01-05 Apparatus and method for inserting specified character codes between characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00073395A JP3209870B2 (en) 1995-01-06 1995-01-06 Character insertion device and insertion method

Publications (2)

Publication Number Publication Date
JPH08190558A true JPH08190558A (en) 1996-07-23
JP3209870B2 JP3209870B2 (en) 2001-09-17

Family

ID=11481935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00073395A Expired - Fee Related JP3209870B2 (en) 1995-01-06 1995-01-06 Character insertion device and insertion method

Country Status (4)

Country Link
JP (1) JP3209870B2 (en)
KR (1) KR100235523B1 (en)
CN (1) CN1109311C (en)
TW (2) TW432289B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011186847A (en) * 2010-03-09 2011-09-22 Panasonic Corp Character input device, character input method, and program

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848286A (en) * 2010-04-01 2010-09-29 中兴通讯股份有限公司 Dual-tone multi-frequency signal sending method and device
US8701032B1 (en) 2012-10-16 2014-04-15 Google Inc. Incremental multi-word recognition
US8843845B2 (en) 2012-10-16 2014-09-23 Google Inc. Multi-gesture text input prediction
US8850350B2 (en) 2012-10-16 2014-09-30 Google Inc. Partial gesture text entry
US8819574B2 (en) 2012-10-22 2014-08-26 Google Inc. Space prediction for text input
US8832589B2 (en) 2013-01-15 2014-09-09 Google Inc. Touch keyboard using language and spatial models

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011186847A (en) * 2010-03-09 2011-09-22 Panasonic Corp Character input device, character input method, and program

Also Published As

Publication number Publication date
TW432289B (en) 2001-05-01
TW430764B (en) 2001-04-21
JP3209870B2 (en) 2001-09-17
CN1133996A (en) 1996-10-23
KR100235523B1 (en) 1999-12-15
CN1109311C (en) 2003-05-21
KR960029944A (en) 1996-08-17

Similar Documents

Publication Publication Date Title
EP0370774B1 (en) Machine translation system
JP3209870B2 (en) Character insertion device and insertion method
JP2000207392A (en) Document processing system
JPS58151677A (en) Editing method of translated sentence
JP2786260B2 (en) Kana-Kanji conversion device
JP2571043B2 (en) Character replacement device
JPH0697455B2 (en) Kana-Kanji conversion device
JPS5969831A (en) Device for documentation
JPH10198664A (en) Japanese language input system and medium for recorded with japanese language input program
JP2995630B2 (en) Document data processing device
JPS60201467A (en) Japanese processing device
JP2688652B2 (en) String converter
JP3256990B2 (en) Document processing device
JP2688651B2 (en) String converter
JPS59135533A (en) Proofreading system
JPH0721189A (en) Translation assisting system
JPH08287060A (en) Character processor and its method
JPH04332073A (en) Method and device for processing character
JPH0340418B2 (en)
JPH0616281B2 (en) Kana-Kanji conversion result display processing method
JPH0340870B2 (en)
JPH09146936A (en) Device and method for japanese syllabary and chinese character conversion
JPH03129563A (en) Document processor
JPH0581252A (en) Word processor
JPH0619882A (en) Method and device for processing character

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010605

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

Free format text: PAYMENT UNTIL: 20080713

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090713

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees