Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3012525B2 - Character processing method and character processing device - Google Patents
[go: Go Back, main page]

JP3012525B2 - Character processing method and character processing device - Google Patents

Character processing method and character processing device

Info

Publication number
JP3012525B2
JP3012525B2 JP8189376A JP18937696A JP3012525B2 JP 3012525 B2 JP3012525 B2 JP 3012525B2 JP 8189376 A JP8189376 A JP 8189376A JP 18937696 A JP18937696 A JP 18937696A JP 3012525 B2 JP3012525 B2 JP 3012525B2
Authority
JP
Japan
Prior art keywords
character
roman
kana
input
input buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP8189376A
Other languages
Japanese (ja)
Other versions
JPH1040243A (en
Inventor
孝志 河野
Original Assignee
日本電気オフィスシステム株式会社
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 日本電気オフィスシステム株式会社 filed Critical 日本電気オフィスシステム株式会社
Priority to JP8189376A priority Critical patent/JP3012525B2/en
Publication of JPH1040243A publication Critical patent/JPH1040243A/en
Application granted granted Critical
Publication of JP3012525B2 publication Critical patent/JP3012525B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文字処理装置に関
し、特にローマ字/仮名変換機能を有する文字処理装置
及び方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing apparatus, and more particularly to a character processing apparatus and method having a Roman / kana conversion function.

【0002】[0002]

【従来の技術】一般に文字処理装置、特に漢字混じりの
文字入力では、漢字を直接入力できないJIS式キーボ
ードの普及に伴い、JIS式キーボードでも容易に入力
できる仮名(かな)から漢字に変換する仮名漢字変換方
式が主流となっている。また、仮名の入力は英字キーの
操作にて英字・仮名の双方を入力できるローマ字漢字入
力方式が、仮名漢字入力方式に比して、覚えるキー配列
が少ないことや仮名配列を覚える必要がなく操作キーが
少ないこと等いう利点により多く使われている。
2. Description of the Related Art In general, with the spread of JIS keyboards which cannot directly input kanji in character processing devices, especially in the input of characters mixed with kanji, kana kanji which converts kana to kanji which can be easily input with a JIS keyboard. The conversion method has become mainstream. In addition, the Kana input method that can input both English characters and Kana by the alphabet key operation is less than the Kana Kanji input method, so there is less key layout and there is no need to remember the Kana arrangement It is more commonly used due to its advantages such as fewer keys.

【0003】一方、ローマ字漢字入力方式の場合、仮名
を一文字入力するのに対してキーを1〜3回押下しなけ
ればならないため、キー押下数が多い分誤入力してしま
う可能性が高く、また誤入力した箇所を直すのにまた複
数のキーを押さなければならないといった欠点がある。
On the other hand, in the case of the Roman character / kanji input method, a key must be pressed one to three times to input one character of a kana. In addition, there is a disadvantage that a plurality of keys must be pressed again to correct an erroneously input portion.

【0004】その対策として様々なものが提案されてお
り、その一例として、特開昭59−142630号公報
がある。
Various measures have been proposed as a countermeasure, and one example is JP-A-59-142630.

【0005】以下、この公開公報について図4の機能ブ
ロック図を用いて説明する。
Hereinafter, this publication will be described with reference to a functional block diagram of FIG.

【0006】図3において、1は文字情報を入力するの
に用いるキーボード、マウスなどの入力部、2は入力部
1からの入力情報を一時記憶する入力バッファ、3は入
力バッファ2を介してローマ字と仮名の相互変換を行う
ローマ字・仮名相互変換部であり、このローマ字・仮名
相互変換部3により入力部1から入力したローマ字を仮
名に変換し、また一度変換した仮名を元のローマ字に逆
変換する。ローマ字・仮名相互変換部3により変換され
たローマ字または仮名は入力バッファ2に格納される。
In FIG. 3, reference numeral 1 denotes an input unit such as a keyboard and a mouse used for inputting character information, 2 denotes an input buffer for temporarily storing input information from the input unit 1, and 3 denotes a Roman character via an input buffer 2. This is a Romaji / Kana mutual conversion unit that performs mutual conversion between Kana and Kana. The Romaji / Kana mutual conversion unit 3 converts the Romaji input from the input unit 1 into Kana, and converts the once converted Kana back to the original Romaji. I do. The Romaji or Kana converted by the Romaji / Kana mutual conversion unit 3 is stored in the input buffer 2.

【0007】また、4は入力バッファ2、仮名漢字変換
部5、文書バッファ6および表示部7とをそれぞれ制御
する制御部である。仮名漢字変換部5により、ローマ字
・仮名相互変換部3で変換した仮名文字列を漢字に変換
する。漢字に変換された文字列は文書バッファ6に記憶
され、また文書バッファ6を介して制御部4からの制御
に基づいて下編集が行われる。文書バッファ6および入
力バッファ2の内容はそれぞれCRTディスプレイや液
晶ディスプレイ等の表示部7に表示される。
A control unit 4 controls the input buffer 2, the kana-kanji conversion unit 5, the document buffer 6, and the display unit 7, respectively. The kana-kanji conversion unit 5 converts the kana character string converted by the romaji / kana conversion unit 3 into kanji. The character string converted to the kanji is stored in the document buffer 6, and the lower editing is performed under the control of the control unit 4 via the document buffer 6. The contents of the document buffer 6 and the input buffer 2 are displayed on a display unit 7 such as a CRT display or a liquid crystal display.

【0008】図5は、図4の入力部1の配置構成例を示
し、この入力部1はアルファベットキー、数字キーおよ
び仮名などからなる文字群1Aと機能キー群1Bとを有
する。機能キー群1Bは、改行キー1BA、シフトキー
群1BB、バックスペースキー1BCおよび漢字始め/
終わりキー1BD等からなる。また、本装置は入力部1
からキー入力により起動する。
FIG. 5 shows an example of the arrangement of the input unit 1 shown in FIG. 4. The input unit 1 has a character group 1A including alphabet keys, numeric keys, and kana, and a function key group 1B. The function key group 1B includes a line feed key 1BA, a shift key group 1BB, a back space key 1BC, and a kanji start /
It consists of an end key 1BD and the like. In addition, the present apparatus has an input unit 1
Start by key input from.

【0009】次に図6〜図8の表示態様例を参照して図
4および図5の動作例を説明する。入力部1から入力し
た文字データは入力バッファ2に一時蓄積されるが、そ
の際予めシフトキー群1BBのひらがなセットキーの押
圧で仮名変換を指示した後、アルファベットキーを用い
てローマ字で入力すれば、そのローマ字はローマ字・仮
名相互変換部3により平仮名に随時変換され、変換され
た平仮名で入力バッファ2が書き換えられると同時に制
御部4を介して表示部7の表示面の最下段にその入力バ
ッファ2の内容が表示される。さらに、たとえば「株
式」と漢字入力をしたい場合には、入力部1の漢字始め
/終わりキー1BDを押圧し、次にアルファベットキー
を用いて「KABUSIKI」とローマ字入力し、最後
に再び漢字始め/終わりキー1BDを押圧すると、表示
部7の表示面は図6のようになり、表示画面の最下段に
「{かぶしき}」と両端が括弧で囲われた平仮名表示が
行われる。なお、図6の71は入力バッファ2のカーソ
ルであり、四角形状で表示される。
Next, the operation examples of FIGS. 4 and 5 will be described with reference to display examples of FIGS. The character data input from the input unit 1 is temporarily stored in the input buffer 2. At this time, if the kana conversion is instructed by pressing the hiragana set key of the shift key group 1BB in advance, and if the input is made in Roman characters using the alphabet keys, The Roman characters are converted at any time into Hiragana by a Roman / Kana conversion unit 3, and the input buffer 2 is rewritten with the converted Hiragana. At the same time, the input buffer 2 is placed at the bottom of the display screen of the display unit 7 via the control unit 4. Is displayed. Further, for example, when the user wants to input a kanji with "stock", he presses the kanji start / end key 1BD of the input unit 1, then inputs "KABUSIKI" using the alphabet keys, and finally enters the kanji start / end again. When the end key 1BD is depressed, the display surface of the display unit 7 becomes as shown in FIG. 6, and “{KABUKI” is displayed at the bottom of the display screen, and hiragana with both ends enclosed in parentheses is displayed. Incidentally, reference numeral 71 in FIG. 6 denotes a cursor of the input buffer 2, which is displayed in a square shape.

【0010】しかし、その際「KABUSIKI」とロ
ーマ字入力すべきところを[KABUSIKU」と誤っ
て入力したとすると、表示部7の表示画面は図7のよう
になり「{かぶしく}」と平仮名表示が行われる。
[0010] However, at this time, if it is erroneously entered "KABUSIKU" where "KABUSIKI" should be input in Roman characters, the display screen of the display unit 7 becomes as shown in FIG. Is performed.

【0011】そこで、次にその誤った「く」を正しい
「き」に訂正するためにバックスキップキー1BCを1
回押圧すると、制御部4のプログラム制御により「く」
がローマ字・仮名相互変換部3により「KU」とローマ
字に逆変換され、しかる後後者の母音「う」のみが消去
されて前の子音の「K」のみが入力バッファ2に残り、
図8に示すように表示部7の表示画面に表示される。つ
いで、アルファベットキーにより「I」を引き続いてキ
ー入力すれば「KI」となり、ローマ字・仮名相互変換
部3により「き」と平仮名変換されるので、前述の図6
示のように「{かぶしき}」と正確に入力することがで
きる。この訂正時の諸動作は、他の母音についても同様
である。
Then, in order to correct the wrong "ku" to the correct "ki", the back skip key 1BC is set to 1
When pressed twice, “ku” is controlled by the program of the control unit 4.
Is converted back to "KU" and Romaji by the Roman / kana conversion unit 3, and only the latter vowel "U" is deleted, and only the previous consonant "K" remains in the input buffer 2,
It is displayed on the display screen of the display unit 7 as shown in FIG. Then, if "I" is successively input by an alphabet key, it becomes "KI", and is converted to "" by Hiragana by the Roman / kana mutual conversion unit 3.
As shown, you can enter "入 力". The operations at the time of this correction are the same for other vowels.

【0012】[0012]

【発明が解決しようとする課題】従来の技術において、
ローマ字漢字入力中に余分なキーを押してしまった場合
の誤入力箇所の修正に非常に手間がかかるといった問題
がある。その理由は、パーソナルコンピュータを含む文
字処理装置に置いて省スペース化が進む、キーボードも
小さなものへと変わってきた。そのため、キーを押す際
に「目的のキーと同時に隣のキーまでも同時に押してし
まう」等にて余分なキーを押してしまうことがあり、特
にローマ字漢字入力は仮名漢字入力に比べてキー操作数
が多く、こうした誤入力が発生しやすい。このような誤
入力をした場合、前記公開特許による方式では誤入力の
箇所にカーソルを移動して削除した後に再度正しい文字
を入力しなければならない。たとえば、「株式」と入力
する際に「KABUSIKI」と入力せずに「KABU
SIKJI」と入力してしまった場合は、画面表示上
「{かぶしじ}」または「{かぶしKじ}」と表示さ
れ、誤った入力の「じ」をローマ字に逆変換する指示を
して「じ」を「J」に変更し、「J」を削除後に「K
I」または「I」を入力して「KABUSIKI」をロ
ーマ字変換にて「{かぶしき}」とし、仮名漢字変換に
て「株式」としなければならないからである。
SUMMARY OF THE INVENTION In the prior art,
There is a problem that it takes a lot of trouble to correct an erroneous input part when an extra key is pressed while inputting Roman kanji. The reason for this is that the size of the keyboard has been changed to a smaller one, and the space has been reduced in a character processing device including a personal computer. For this reason, when pressing a key, extra keys may be pressed due to `` press the target key and the next key at the same time '', etc.In particular, Roman key kanji input requires fewer key operations than kana kanji input In many cases, such erroneous inputs are likely to occur. In the case of such an erroneous input, in the method disclosed in the above-mentioned patent, it is necessary to move the cursor to the erroneous input, delete the cursor, and then input a correct character again. For example, when entering "stock", do not enter "KABUSIKI" but enter "KABU
If "SIKJI" has been entered, the screen display will indicate "Kabushiji" or "Kabushi Kju", and instruct the user to reverse convert the incorrect input "Ji" to Roman characters. Change "J" to "J", delete "J"
This is because "I" or "I" must be input, and "KABUSIKI" must be converted into "Kabushiki" in Roman alphabet conversion and "stock" in kana-kanji conversion.

【0013】[発明の目的]そこで、本発明の目的は以
上の欠点を解消してローマ字漢字入力中に余分なキーを
押してしまった場合の誤入力箇所の修正が容易にできる
文字処理装置を提供することにある。
Accordingly, an object of the present invention is to provide a character processing apparatus which solves the above-mentioned drawbacks and which can easily correct an erroneous input portion when an extra key is pressed during the input of a Roman kanji. Is to do.

【0014】[0014]

【課題を解決するための手段】本発明による文字処理装
置は、入力部からローマ字を入力して仮名文字に変換す
る文字処理装置において、第1のローマ字を入力部から
入力し、続けて入力された第2のローマ字を入力して順
格納する第1の入力バッファと、前記第1のローマ字
と前記第2のローマ字とが仮名文字として成立する文字
列か否かを判断する手段と、ローマ字から仮名文字に変
換するデータを有するローマ字変換テーブルと、前記第
1のローマ字と前記第2のローマ字とが仮名文字として
成立する文字列でない場合に前記第1の入力バッファの
前記第2のローマ字を移動格納する第2の入力バッファ
と、続けて入力された第3のローマ字を前記第1の入力
バッファ及び前記第2の入力バッファに順次格納して前
記第1の入力バッファ及び前記第2の入力バッファのデ
ータと前記ローマ字変換テーブルとを比較してそれぞれ
仮名文字に変換する変換手段と、前記変換された仮名文
字の候補をそれぞれ表示する表示部と、前記表示部の表
示状態で所望の仮名文字の候補を先頭文字とする仮名文
字列に表示する指示を行う変換文字切換手段と、前記先
頭文字の所望の仮名文字以外の仮名文字を消去させ前記
先頭文字の所望の仮名文字を確定指示する確定指示手段
と、前記前記先頭文字の所望の仮名文字を出力する出力
手段とからなることを特徴とする。
A character processing apparatus according to the present invention inputs a Roman character from an input unit and converts it into a kana character.
In the character processing device, the first Roman character is input from the input unit.
And then enter the second Roman character entered
A first input buffer to be stored next and the first Roman character
And the second Roman character is a kana character
Means to determine whether a column is
A Roman character conversion table having data to be converted,
The first Roman character and the second Roman character are kana characters
If the character string does not hold, the first input buffer
A second input buffer for moving and storing the second Roman character
And the third input of the romaji continuously input
Sequentially stored in the buffer and the second input buffer, and
The data of the first input buffer and the second input buffer
Data and the Roman character conversion table
Conversion means for converting to kana characters, and the converted kana sentence
A display unit for displaying character candidates, and a table of the display unit
Kana sentence with the desired kana character candidate as the first character in the display state
Conversion character switching means for giving an instruction to display a character string;
Delete kana characters other than the desired initial kana character
Confirmation instruction means for instructing the desired kana character as the first character
And an output for outputting a desired kana character of the first character.
Means .

【0015】本発明による文字処理方法は、第1の入力
バッファと、第2の入力バッファと、ローマ字変換テー
ブルと、画面表示を制御する画面制御手段を備え、入力
部からローマ字を入力して仮名文字に変換する文字処理
装置における文字処理方法において、前記入力部からロ
ーマ字文字を入力して前記第1の入力バッファに格納
し、前記ローマ字文字に続いて誤ローマ字文字を入力し
て前記第1の入力バッファに格納し、前記ローマ字文字
と前記誤ローマ字文字とのローマ字文字列が仮名文字と
して成立しない場合に前記ローマ字文字を前記第1の入
力バッファから前記第2の入力バッファに移動し、続い
て前記入力部に入力された次ローマ字文字を前記第1の
入力バッファ及び前記第2の入力バッファに格納し、前
記第1の入力バッファ及び前記第2の入力バッファのロ
ーマ字文字列を前記ローマ字変換テーブルを用いてそれ
ぞれ該当する仮名文字に変換して前記画面制御手段に渡
し、当該仮名文字をそれぞれ第1候補及び第2候補とし
て画面表示し、前記入力部からの変換文字切換指示を行
った場合は前記第2の入力バッファに対応する文字を第
1候補として画面表示し、前記入力部からの確定指示を
受けた場合は前記第1候補以外の仮名文字を消去し、前
記第1候補の仮名文字を確定された仮名文字とする文字
変換結果を得て、前記第1の入力バッファ及び前記第2
の入力バッファをクリアすることを特徴とする。
According to the character processing method of the present invention, the first input
Buffer, a second input buffer, and a romaji conversion table.
And Bull, comprising a screen control means for controlling the screen display, the character processing method in a character processing apparatus for converting by entering the Romaji from the input unit to the kana character, the input unit Kararo
Input a character and store it in the first input buffer
Then, enter the erroneous Roman characters following the Roman characters.
Stored in the first input buffer, and
And the Roman character string of the erroneous Roman character is a kana character
If it does not hold, the Roman characters will be
Move from the input buffer to the second input buffer, and
The next Roman character input to the input unit
Store in the input buffer and the second input buffer,
The log of the first input buffer and the second input buffer.
Character string using the Roman character conversion table
And convert them to the corresponding kana characters and pass them to the screen control unit.
And the kana character as a first candidate and a second candidate, respectively.
To display the screen, and issue the conversion character switching instruction from the input unit.
The character corresponding to the second input buffer
Display on the screen as one candidate, and issue a confirmation instruction from the input unit
If received, delete kana characters other than the first candidate
Characters that use the kana character of the first candidate as the determined kana character
Obtaining a conversion result, the first input buffer and the second
The input buffer is cleared .

【0016】さらに、入力バッファと、ローマ字文字列
から仮名文字に変換するデータを有するローマ字変換テ
ーブルと、画面表示を制御する画面制御手段とを備え、
入力部のローマ字キーが操作され入力されたローマ字文
字列を仮名文字に変換する文字処理装置における文字処
理方法において、前記入力部の操作でローマ字入力中に
余分なキーが押されて前記仮名文字として成立しない前
記ローマ字文字列が発生した場合に、前記成立しないロ
ーマ字文字列をローマ字毎に分割して前記入力バッファ
に格納し、前記分割したローマ字各々に対して次に前記
入力部から入力されたローマ字を追加格納して前記入力
バッファ内に複数のローマ字文字列を形成し、前記入力
バッファ内の各ローマ字文字列を前記ローマ字変換テー
ブルで仮名文字に変換して前記画面制御手段に渡して、
前記入力バッファ内の前記ローマ字文字列毎の仮名文字
をローマ字変換の候補としての仮名文字列として順次画
面表示し、前記入力部からの変換文字切換指示により所
望の仮名文字を先頭文字とする前記仮名文字列を画面表
示し、前記入力部からの確定指示により前記先頭文字の
仮名文字以外を当該画面から消去し、前記先頭文字の仮
名文字を出力することを特徴とする。
Further, an input buffer and a Roman character string
Romanization conversion data with data to convert from kana to kana
Cable and screen control means for controlling screen display,
Roman alphabet sentence input by operating the Roman alphabet key in the input section
In the character processing method in the character processing device that converts a character string to a kana character, during input of a Roman character by operation of the input unit,
Before an extra key is pressed and it does not hold as the kana character
If a Roman character string occurs,
-The input buffer is divided into Roman characters for each Roman character.
And then, for each of the divided Roman characters,
Additional storage of Roman characters input from the input unit and input
Forming a plurality of Roman character strings in a buffer,
Converts each Roman character string in the buffer to the Roman character conversion table.
And convert it to kana characters and pass it to the screen control means,
Kana characters for each of the Roman character strings in the input buffer
As a kana character string as a candidate for Roman conversion
Display on the screen, and in accordance with the conversion character switching instruction from the input unit,
A screen display of the kana character string starting with the desired kana character
The first character by the confirmation instruction from the input unit.
Erase characters other than kana characters from the screen, and
Outputs first name characters .

【0017】更に具体的に説明すれば、本発明の文字処
理装置は、図1のブロック図に全体構成を示すごとく、
オペレータの指示を入力する入力部8と、入力情報を一
時記憶する入力バッファ2と、入力バッファ2内の仮名
を漢字に変換する仮名/漢字変換部5と、仮名/漢字変
換部5より受け取ったデータを格納する文書バッファ6
と、入力バッファ2および仮名/漢字変換部5より受け
取ったデータを表示する表示部10と、入力バッファ2
や文書バッファ6のデータ入出力および入力部8、ロー
マ字編集部11、仮名/漢字変換部5、表示部10間の
データ受け渡しを制御する制御部9とを備える文字処理
装置において、入力バッファ2より受け取ったローマ字
文字列をローマ字変換テーブル12と比較して仮名に変
換し、ローマ字として成立しない文字列はそれら文字を
分割してローマ字として成立できる組み合わせ全てを選
出して仮名に変換して、入力バッファ2へ格納するロー
マ字編集部11と、仮名へ変換できるローマ字の文字列
とその変換結果がすべて格納されたローマ字変換テーブ
ル12により構成される。
More specifically, as shown in the block diagram of FIG.
An input unit 8 for inputting an operator's instruction, an input buffer 2 for temporarily storing input information, a kana / kanji conversion unit 5 for converting kana in the input buffer 2 into kanji, and a kana / kanji conversion unit 5 Document buffer 6 for storing data
A display unit 10 for displaying data received from the input buffer 2 and the kana / kanji conversion unit 5;
And a control unit 9 for controlling the data input / output of the document buffer 6, the input / output unit 8, the Roman character editing unit 11, the kana / kanji conversion unit 5, and the display unit 10 from the input buffer 2. The received Roman character string is converted into a kana by comparing it with a Roman conversion table 12, and a character string that cannot be realized as a Roman character is divided into those characters, all combinations that can be realized as a Roman character are selected and converted into a kana, and the input buffer is converted. 2 and a Roman character conversion table 12 in which all the Roman character strings that can be converted to kana and the conversion results are stored.

【0018】[作用]このようにすることにより、ロー
マ字入力中に余分なキーを押してローマ字として成立し
ない文字列が発生した場合に、ローマ字編集部がそれら
文字を分割してローマ字として成立できる組み合わせ全
てを選出して仮名に変換し、表示部が画面表示して、オ
ペレータが入力部より目的の文字を選ぶことにより、ロ
ーマ字入力中に余分なキーを押してしまった場合の誤入
力箇所の修正が容易にできる。
[Action] By doing so, when a character string that cannot be formed as a Roman character is generated by pressing an extra key while inputting a Roman character, the Roman character editing unit divides the character and forms all the combinations that can be formed as a Roman character. Is selected and converted to kana, the display unit displays it on the screen, and the operator selects the desired character from the input unit, so it is easy to correct incorrect input parts when extra keys are pressed during Roman alphabet input Can be.

【0019】[0019]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

[第1実施形態]以下本発明の実施の形態につき図面を
参照して説明する。図1は本発明の実施の一形態の文字
処理装置を示すブロック図である。
[First Embodiment] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a character processing apparatus according to one embodiment of the present invention.

【0020】図1において、2は入力されたデータを一
時記憶する入力バッファ、5は入力バッファ2のデータ
中の仮名から漢字に変換する仮名/漢字変換部、6は仮
名/漢字変換部5にて変換された文書を一時記憶する文
書バッファ、8はオペレータの操作・指示により文字・
データ等を入力するキーボードやマウス、タブレット、
ライトペン、ジョイステック等の入力部、9は文字処理
装置の全体の制御機能を有するCPU等の制御部、10
はCRTディスプレイや液晶ディスプレイ等の表示部、
11はローマ字入力に応じてローマ字文書を編集するロ
ーマ字編集部、12はローマ字文字列を漢字に変換する
ためのテーブルを記録したローマ字変換テーブルであ
る。
In FIG. 1, 2 is an input buffer for temporarily storing input data, 5 is a kana / kanji conversion unit for converting kana in the data in the input buffer 2 to kanji, and 6 is a kana / kanji conversion unit 5. Buffer for temporarily storing the converted document.
Keyboard, mouse, tablet,
An input unit such as a light pen, a joystick, etc., 9 is a control unit such as a CPU having the overall control function of the character processing device, 10
Is a display unit such as a CRT display or a liquid crystal display,
Reference numeral 11 denotes a Roman character editing unit that edits a Roman character document in response to a Roman character input, and reference numeral 12 denotes a Roman character conversion table that records a table for converting a Roman character string into Chinese characters.

【0021】また、入力バッファ2、仮名/漢字変換部
5および文書バッファ6は従来と同様であり、入力部8
は従来の入力部(図4の1)の機能にオペレータからの
変換候補変更指示のキーを有し、変換候補変更指示を制
御部9へ渡す機能が追加されたものである。制御部9は
従来の制御部(図4の4)よりローマ字/仮名相互変換
部3に渡していたデータおよび変換候補変更指示をロー
マ字編集部11に渡す機能および変換候補変更指示を入
力部8より受けると入力バッファ2内の「候補」が付加
された文字データ削除の機能が変更、追加されたもので
ある。表示部10は従来の表示部(図4の7)の機能に
制御部9より文字データを受け取り、「候補」のデータ
が付加された文字を反転表示する機能が追加されたもの
である。
The input buffer 2, the kana / kanji conversion unit 5 and the document buffer 6 are the same as those of the prior art.
Has a key of a conversion candidate change instruction from the operator in addition to the function of the conventional input unit (1 in FIG. 4), and a function of passing the conversion candidate change instruction to the control unit 9 is added. The control unit 9 receives a function and a conversion candidate change instruction from the conventional control unit (4 in FIG. 4) that have been passed to the Roman character / kana conversion unit 3 and a conversion candidate change instruction to the Roman character editing unit 11, and a conversion candidate change instruction from the input unit 8. When received, the function of deleting character data to which "candidate" in the input buffer 2 has been added is changed or added. The display unit 10 has a function of receiving character data from the control unit 9 in addition to the function of the conventional display unit (7 in FIG. 4), and adding a function of reversely displaying characters to which "candidate" data has been added.

【0022】また、ローマ字編集部11は内部に制御部
9より受け取った文字データを格納するエリアを複数持
つローマ字変換用バッファ111と、何種類の文字列を
ローマ字変換用バッファ111に格納しているのかを登
録する格納文字列カウンタ112と、ローマ字変換用バ
ッファ111に格納されている数種の文字列よりどの文
字列が現在仮名漢字変換の対象になっているのかを登録
する変換候補カウンタ113と、ローマ字変換用バッフ
ァ内の文字列で現在処理しているのはどの文字列かを登
録する処理位置カウンタ114とを有し、後述の図2,
図3の本実施形態によるローマ字編集部11のフローチ
ャートの通り、制御部9より受け取ったローマ字をロー
マ字変換テーブル12と比較して、仮名に変換できる場
合は変換結果を制御部9を介して入力バッファ2に格納
し、仮名として変換できないがローマ字としてあり得る
文字列の場合は次の文字を含めて再度ローマ字変換テー
ブル12と比較する。また、ローマ字としてあり得ない
文字列の場合は文字列を分割して次の文字をそれぞれに
付加し、ローマ字として成立する文字列全てを選出して
仮名に変換する。そして、変換候補カウンタ113が示
す仮名を除き「候補」のデータを付加して、ローマ字変
換用バッファ111内の仮名を全て制御部9へ渡す。
The Roman character editing unit 11 stores a Roman character converting buffer 111 having a plurality of areas for storing character data received from the control unit 9 therein, and stores various types of character strings in the Roman character converting buffer 111. And a conversion candidate counter 113 for registering which character string is currently subject to kana-kanji conversion from several types of character strings stored in the Roman character conversion buffer 111. And a processing position counter 114 for registering which character string is currently being processed in the character string in the Roman character conversion buffer.
As shown in the flowchart of the Roman character editing unit 11 according to the present embodiment in FIG. 3, the Roman character received from the control unit 9 is compared with the Roman character conversion table 12, and if it can be converted into a kana, the conversion result is input to the input buffer via the control unit 9. In the case of a character string which cannot be converted as a kana but can be a Roman character, the character string including the next character is compared with the Roman character conversion table 12 again. In the case of a character string that cannot be a Roman character, the character string is divided and the next character is added to each character, and all character strings that are valid as a Roman character are selected and converted into kana. Then, data of “candidate” is added except for the pseudonym indicated by the conversion candidate counter 113, and all the pseudonyms in the Roman character conversion buffer 111 are passed to the control unit 9.

【0023】また、制御部9より変換候補変更指示を受
けると変換候補カウンタ113の内容を更新し、再度変
換候補カウンタ113が示す仮名を除き「候補」のデー
タを付加して、ローマ字変換用バッファ111内の仮名
を全て制御部9へ渡すものである。ローマ字変換テーブ
ル12は仮名へ変換できるローマ字の文字列とその変換
結果がすべて格納されたものである。
When a conversion candidate change instruction is received from the control unit 9, the contents of the conversion candidate counter 113 are updated, and "candidate" data is added again except for the pseudonym indicated by the conversion candidate counter 113, and the Roman character conversion buffer is added. All the pseudonyms in 111 are passed to the control unit 9. The Roman character conversion table 12 stores all the Roman character strings that can be converted into kana and the results of the conversion.

【0024】次に、本実施形態によるローマ字編集部1
1のフローチャートを参照しつつ、本ローマ字漢字入力
方式の動作を説明する。図2,図3において、まず入力
部8からローマ字の文字列を入力し(S1)、変換候補
変換指示がなければ(S2)、変換候補カウンタ113
から1を引いて変換候補カウンタ113の値に格納し
(S3)、変換候補カウンタ113の値を処理位置カウ
ンタ114の値に置き換え(S4)、処理位置カウンタ
114の値から1を引いて処理位置カウンタ114に格
納し(S5)、処理位置カウンタ114の値が0である
のか否かを判断し(S6)、0であれば格納文字列カウ
ンタ112の値を処理位置カウンタ114の値に格納
し、ステップS6で0である時と共に、処理位置カウン
タ114の値が変換候補カウンタ113の値と等しいか
否かを判断し(S8)、等しければ本ルーチンを終了し
(S9)、等しくなければ処理位置カウンタ114の値
が示すローマ字変換用バッファ111の文字に「候補」
印を付加して入力バッファ2に格納し、ステップS5に
戻る。
Next, the Roman alphabet editing unit 1 according to the present embodiment
1 will be described with reference to the flowchart of FIG. 2 and 3, a Roman character string is first input from the input unit 8 (S1). If there is no conversion candidate conversion instruction (S2), the conversion candidate counter 113 is input.
From the conversion candidate counter 113 (S3), the value of the conversion candidate counter 113 is replaced with the value of the processing position counter 114 (S4), and the processing position is calculated by subtracting 1 from the value of the processing position counter 114. It is stored in the counter 114 (S5), and it is determined whether or not the value of the processing position counter 114 is 0 (S6). If it is 0, the value of the storage character string counter 112 is stored in the value of the processing position counter 114. It is determined whether the value of the processing position counter 114 is equal to the value of the conversion candidate counter 113 together with the time when the value is 0 in step S6 (S8). If the values are equal, this routine is terminated (S9). "Candidate" is added to the character of the Roman character conversion buffer 111 indicated by the value of the position counter 114.
A mark is added and stored in the input buffer 2, and the process returns to step S5.

【0025】また、ステップ2で変換候補変換指示があ
れば、格納文字列カウンタ112と処理位置カウンタ1
14の値に1を格納する(S11)。次に、ローマ字の
文字列の先頭2文字をローマ字変換バッファ111に格
納し(S12)、処理位置カウンタ114の値1が示す
ローマ字変換用バッファ111内の文字とローマ字変換
用テーブル12とを比較し(S13)、ローマ字の文字
列の先頭2文字が仮名に変換できるのかどうかを判断し
(S14)、変換できないとしたらローマ字文字列の先
頭2文字がローマ字としてあり得る文字列かどうかを判
断し(S15)、ローマ字としてあり得る文字列である
ならば後述のステップS31に移行し、またあり得ない
と判断したら処理位置カウンタ114が示すローマ字変
換用バッファ111の最後の文字(2文字目)を格納文
字列カウンタ112の値+1が示すローマ字変換用バッ
ファ111に格納する(S16)。また、格納文字列カ
ウンタ112の値に+1して格納文字列カウンタ112
に格納する(S17)。格納文字列カウンタ112の値
を処理位置カウンタ114に格納する(S18)。次
に、次の文字をデータが格納されている文字バッファ2
からローマ字変換用バッファ111に格納する(S1
9)。処理位置カウンタ114が示すローマ字変換用バ
ッファ111内の文字とローマ字変換用テーブル12と
を比較し(S20)、仮名に変換できるのかどうかを判
断し(S21)、変換できなければ処理位置カウンタ1
14の値から1を引いて処理位置カウンタ114に格納
し(S32)、ステップ32に戻る。ステップS21で
変換できれば処理位置カウンタ114の値が格納文字列
カウンタ112の値と等しいか否かを判断し(S2
2)、等しければ処理位置カウンタ114の値が示すロ
ーマ字変換用バッファ111へ変換結果を格納し(S2
3)、等しくなければ処理位置カウンタ114の値が示
すローマ字変換用バッファ111へ変換結果に「候補」
印を付加して格納し(S24)、処理位置カウンタ11
4の値から1を引いて処理位置カウンタ114に格納
し、処理位置カウンタ114の値が0であるのかどうか
を判断し(S26)、0でなければステップS20に戻
り、0であれば格納文字列カウンタ112の値を変換候
補カウンタ113に格納して本ルーチンを終了する(S
9)。
If there is a conversion candidate conversion instruction in step 2, the stored character string counter 112 and the processing position counter 1
1 is stored in the value of 14 (S11). Next, the first two characters of the Roman character string are stored in the Roman character conversion buffer 111 (S12), and the character in the Roman character conversion buffer 111 indicated by the value 1 of the processing position counter 114 is compared with the Roman character conversion table 12. (S13), it is determined whether or not the first two characters of the Roman character string can be converted to kana (S14). If not, it is determined whether or not the first two characters of the Roman character string are possible character strings as Roman characters ( S15) If it is a character string that can be a Roman character, the process proceeds to step S31 described below. If it is determined that the character string is not a Roman character, the last character (second character) of the Roman character conversion buffer 111 indicated by the processing position counter 114 is stored. The value is stored in the Roman character conversion buffer 111 indicated by the value +1 of the character string counter 112 (S16). Further, the value of the stored character string counter 112 is incremented by +1 to the value of the stored character string counter 112.
(S17). The value of the storage character string counter 112 is stored in the processing position counter 114 (S18). Next, the next character is stored in the character buffer 2 where data is stored.
To the Roman character conversion buffer 111 (S1
9). The character in the Roman character conversion buffer 111 indicated by the processing position counter 114 is compared with the Roman character conversion table 12 (S20), and it is determined whether the character can be converted to a kana (S21).
Subtract 1 from the value of 14 and store it in the processing position counter 114 (S32), and return to step 32. If conversion is possible in step S21, it is determined whether the value of the processing position counter 114 is equal to the value of the stored character string counter 112 (S2).
2) If they are equal, the conversion result is stored in the Roman character conversion buffer 111 indicated by the value of the processing position counter 114 (S2).
3) If they are not equal, the conversion result into the Roman character conversion buffer 111 indicated by the value of the processing position counter 114 is "candidate"
A mark is added and stored (S24), and the processing position counter 11
1 is subtracted from the value of 4 and stored in the processing position counter 114, and it is determined whether the value of the processing position counter 114 is 0 (S26). If it is not 0, the process returns to step S20. The value of the column counter 112 is stored in the conversion candidate counter 113, and this routine ends (S
9).

【0026】また、ステップ14でローマ字変換用バッ
ファ111内の文字が仮名に変換できると判断されれば
変換結果を入力バッファ2に格納し(S28)、ローマ
字変換用バッファ111内の文字をクリアし(S2
9)、次の文字が文字バッファ2に変換されずに有るの
かどうかを判断し(S30)、あれば次の文字をローマ
字変換用バッファ111の一つ目のエリアに格納してス
テップS13に戻り、次の文字がなければ本ルーチンを
終了する(S9)。
If it is determined in step 14 that the characters in the Roman character conversion buffer 111 can be converted into kana, the conversion result is stored in the input buffer 2 (S28), and the characters in the Roman character conversion buffer 111 are cleared. (S2
9) It is determined whether or not the next character exists in the character buffer 2 without being converted (S30). If so, the next character is stored in the first area of the Roman character conversion buffer 111, and the process returns to step S13. If there is no next character, this routine ends (S9).

【0027】次に、本実施形態を具体的な入力例に従っ
て、その動作を詳細に説明する。「株式」のローマ字入
力時に誤って「KABUSIKJI」と入力し、修正す
るまでの動作について説明する。
Next, the operation of this embodiment will be described in detail according to a specific input example. The operation from inputting "KABUSIKJI" by mistake when inputting Roman characters of "stock" and correcting the input will be described.

【0028】まず、ローマ字漢字入力方式として、オペ
レータが入力部8より「KABUSIKJI」と入力す
ると、入力バッファ2に「KABUSIKJI」が格納
される(S1)。次にオペレータが入力部8よりローマ
字/仮名変換指示をキーボードの例えば漢字始め/終わ
りキー1BDを押圧して行うと(S2)、入力バッファ
2内の「KABUSIKJI」がローマ字編集部11に
渡され、ローマ字編集部11は格納文字列カウンタ11
2に「1」を格納し(S11)、受け取った文字列から
先頭2文字「KA」をローマ字変換用バッファ111の
1つ目のエリアに格納して(S12)、“仮名として変
換できる文字列”または“仮名として変換できないが、
ローマ字としてあり得る文字列であるか”をローマ字変
換テーブル12と比較して確認する(S13,S1
4)。
First, when the operator inputs "KABUSIKJI" from the input unit 8 as the Roman-Kanji input method, "KABUSIKJI" is stored in the input buffer 2 (S1). Next, when the operator presses the kanji start / end key 1BD of the keyboard, for example, to input a Roman character / kana conversion instruction from the input unit 8 (S2), "KABUSIKJI" in the input buffer 2 is passed to the Roman character editing unit 11. The Roman character editing unit 11 stores a character string counter 11
2 is stored (S11), the first two characters "KA" from the received character string are stored in the first area of the Roman character conversion buffer 111 (S12), and the "character string that can be converted as a kana""Or" Cannot be converted as a pseudonym,
It is checked whether the character string is a Roman character string by comparing it with the Roman character conversion table 12 (S13, S1).
4).

【0029】ここで、「KA」は「か」に変換できるた
め、「か」を入力バッファ2へ格納する(S28)。次
にローマ字編集部11は次の2文字「BU」およびその
次の2文字「SI」を同様に処理して(S29,S3
0,S31,S13,S14)、「ぶ」および「し」を
入力バッファ2に格納する(S28)。次にローマ字編
集部11は次の2文字「KJ」をローマ字変換用バッフ
ァ111の1つ目のエリアに格納し、“仮名として変換
可能な文字列”または“仮名として変換できないが、ロ
ーマ字としてあり得る文字列であるか”をローマ字変換
テーブル12と比較して確認する(S14,S15)。
「KJ」はローマ字としてあり得ない文字列であるた
め、ローマ字編集部11はローマ字変換用バッファ11
1の1つ目エリア内の「KJ」より「J」を2つ目のエ
リアに移し、格納文字列カウンタ112の値を1加算し
て「2」を格納する(S16,S17)。そして、格納
文字列カウンタ112の値を処理位置カウンタ114に
格納し(S18)、次の文字「I」を双方に付加して
(S19)、ローマ字変換用バッファ111の1つ目の
エリアが「KI」、2つ目のエリアが「JI」となる。
そして、ローマ字変換用バッファ内の文字列が“仮名と
して変換可能な文字列”または“仮名として変換できな
いが、ローマ字としてあり得る文字列であるか”をロー
マ字変換テーブル12と比較して確認し(S20,S2
1,S22)、ローマ字変換用バッファ111の1つ目
のエリアの「KI」は「き」に変換できるため「き」を
入力バッファ2に格納し(S23)、処理位置カウンタ
114より1減算して「1」を格納する(S25)。ま
た、ローマ字変換用バッファ111の2つ目の「JI」
は「じ」に変換できるため、「JI」を「じ」に置き換
えて入力バッファ2に「候補」のデータを付加して格納
する(S24)。そして、ローマ字編集部11は格納文
字列カウンタ112内の「2」を変換候補カウンタ11
3に格納する。次に、ローマ字編集部11は処理位置カ
ウンタ114の「1」より1減算すると「0」となるた
め(S26)、格納文字列カウンタ112の「2」を処
理位置カウンタ114に格納する(S27)。そして、
処理位置カウンタ114内と変換候補カウンタ113内
が同一の値「2」であるため、ローマ字編集部11は終
了する。
Here, since "KA" can be converted into "?", "?" Is stored in the input buffer 2 (S28). Next, the Roman character editing unit 11 similarly processes the next two characters “BU” and the next two characters “SI” (S29, S3).
0, S31, S13, S14), "bu" and "shi" are stored in the input buffer 2 (S28). Next, the Roman character editing unit 11 stores the next two characters “KJ” in the first area of the Roman character conversion buffer 111, and reads “character string that can be converted as a kana” or “character string that cannot be converted as a kana, The character string to be obtained is checked by comparing it with the Roman character conversion table 12 (S14, S15).
Since “KJ” is a character string that cannot be a Roman character, the Roman character editing unit 11 outputs the Roman character conversion buffer 11.
“J” is moved from “KJ” in the first area of “1” to the second area, the value of the storage character string counter 112 is incremented by 1, and “2” is stored (S16, S17). Then, the value of the storage character string counter 112 is stored in the processing position counter 114 (S18), and the next character "I" is added to both (S19), and the first area of the Roman character conversion buffer 111 becomes "1". KI "and the second area are" JI ".
The character string in the Roman character conversion buffer is compared with the Roman character conversion table 12 to determine whether the character string is a character string that can be converted as a kana or a character string that cannot be converted as a kana but is a Roman character. S20, S2
(1, S22), since "KI" in the first area of the Roman character conversion buffer 111 can be converted to "ki", "ki" is stored in the input buffer 2 (S23), and 1 is subtracted from the processing position counter 114. To store "1" (S25). Also, the second “JI” in the Roman character conversion buffer 111
Since “JI” can be converted to “Jiji”, “JI” is replaced with “Jiji” and “candidate” data is added and stored in the input buffer 2 (S24). Then, the Roman character editing unit 11 converts “2” in the stored character string counter 112 into the conversion candidate counter 11.
3 is stored. Next, the Roman character editing unit 11 stores "2" of the stored character string counter 112 in the processing position counter 114 because "1" is obtained by subtracting 1 from "1" of the processing position counter 114 (S27). . And
Since the inside of the processing position counter 114 and the inside of the conversion candidate counter 113 have the same value “2”, the Roman character editing unit 11 ends.

【0030】制御部9は、ローマ字編集部11の処理が
終了すると、入力バッファ2内の文字列「かぶしじき
(候補)」を表示部10へ渡し、表示部10は「かぶし
じき」を表示して、「候補」のデータが付加された
「き」のみ反転表示する。そして、次の文字位置にカー
ソルを表示する。
When the processing of the Roman alphabet editing unit 11 is completed, the control unit 9 passes the character string “Kabushijiki (candidate)” in the input buffer 2 to the display unit 10, and the display unit 10 transmits “Kabushijiki”. The display is displayed, and only the “g” to which the “candidate” data is added is highlighted. Then, the cursor is displayed at the next character position.

【0031】次に、オペレータが表示部10より誤入力
の「じ」を見つけて変換候補変更指示を入力部1より行
うと、変換候補変更指示は制御部4を介してローマ字編
集部8に渡り、ローマ字編集部11は変換候補カウンタ
113内の「2」より1減算して「1」を変換候補カウ
ンタ113および処理位置カウンタ114に格納する。
そして、変換候補カウンタ113が示すローマ字変換用
バッファ内の文字、つまりローマ字変換用バッファ内で
「1」つ目のエリアに格納されている文字「KI」をロ
ーマ字変換テーブル12を参照して「き」に変換して入
力バッファに2格納する。そして、処理位置カウンタ1
14の「1」より1減算すると「0」となるため、格納
文字列カウンタ112の「2」を処理位置カウンタ11
4に格納し、処理位置カウンタ114が示すローマ字変
換用バッファ内の文字、「2」つ目のエリアに格納され
ている「JI」をローマ字変換テーブル12を参照して
「じ」に変換して「候補」のデータを付加して、入力バ
ッファ2に格納する。次に、ローマ字編集部11は処理
位置カウンタ114の「2」より1減算して「1」を格
納する。そして、処理位置カウンタ114内と変換候補
カウンタ113内が同一の値「1」であるため、ローマ
字編集部11は終了する。
Next, when the operator finds an erroneous input “ji” from the display unit 10 and issues a conversion candidate change instruction from the input unit 1, the conversion candidate change instruction is transferred to the Roman character editing unit 8 via the control unit 4. The Roman character editing unit 11 subtracts 1 from “2” in the conversion candidate counter 113 and stores “1” in the conversion candidate counter 113 and the processing position counter 114.
The character in the Roman character conversion buffer indicated by the conversion candidate counter 113, that is, the character “KI” stored in the “1” -th area in the Roman character conversion buffer is referred to by referring to the Roman character conversion table 12. ”And stores 2 in the input buffer. Then, the processing position counter 1
Since “1” is subtracted from “1” of “14”, “0” is obtained.
4, the character in the Roman character conversion buffer indicated by the processing position counter 114 and the "JI" stored in the "second" area are converted to "ji" with reference to the Roman character conversion table 12. The data of “candidate” is added and stored in the input buffer 2. Next, the Roman character editing unit 11 subtracts 1 from “2” of the processing position counter 114 and stores “1”. Then, since the inside of the processing position counter 114 and the inside of the conversion candidate counter 113 have the same value “1”, the Roman character editing unit 11 ends.

【0032】制御部9は、ローマ字編集部11の処理が
終了すると入力バッファ内の文字列「かぶしきじ(候
補)」を表示部10へ渡し、表示部10は「かぶしき
じ」を表示して、「候補」のデータが付加された「じ」
のみ反転表示する。そして、次の文字位置にカーソルを
表示する。
When the processing of the Roman character editing unit 11 is completed, the control unit 9 passes the character string "Kabashi Kiji (candidate)" in the input buffer to the display unit 10, and the display unit 10 displays "Kabashi Kiji". The “Ji” with the “Candidate” data added
Only reverse display. Then, the cursor is displayed at the next character position.

【0033】次にオペレータが入力部8より仮名漢字変
換指示を行うと制御部8は入力バッファ2内より「候
補」が付加されたデータ「じ」を除く「かぶしき」を仮
名/漢字変換部5へ渡し、仮名/漢字変換部5は受け取
った仮名の文字列に相当する漢字を選出して、制御部9
を介して表示部10に渡す。そして、オペレータが画面
より仮名漢字変換の結果を見て、希望する漢字でない場
合は仮名漢字変換指示を再度入力部9より行い、仮名漢
字変換指示が制御部9を介して仮名/漢字変換部5へ渡
ると仮名/漢字変換部5は受け取った仮名文字列に相当
する次の漢字を選出し、制御部9を介して表示部10に
漢字を渡す。また、オペレータが画面より仮名漢字変換
の結果を見て、希望する漢字「株式」であった場合は仮
名漢字変換の確定指示を入力部8より行い、確定指示が
制御部9を介して仮名/漢字変換部5へ渡ると仮名/漢
字変換部5は仮名漢字変換結果を制御部9を介して文書
バッファ6に格納する。
Next, when the operator gives an instruction to convert kana to kanji from the input unit 8, the control unit 8 converts the "kabushiki" excluding the data "ji" to which the "candidate" is added from the input buffer 2 into a kana / kanji conversion unit. 5, and the kana / kanji conversion unit 5 selects a kanji corresponding to the character string of the received kana, and
To the display unit 10 via the. Then, the operator looks at the result of the kana-kanji conversion from the screen, and if the kana-kanji conversion instruction is not the desired one, the kana-kanji conversion instruction is again input from the input unit 9, and the kana-kanji conversion instruction is transmitted via the control unit 9 to the kana / kanji conversion unit 5. Then, the kana / kanji conversion unit 5 selects the next kanji corresponding to the received kana character string, and passes the kanji to the display unit 10 via the control unit 9. The operator looks at the result of the kana-kanji conversion on the screen, and if the desired kanji is “stock”, issues an instruction to determine the kana-kanji conversion from the input unit 8. Upon passing to the kanji conversion section 5, the kana / kanji conversion section 5 stores the kana / kanji conversion result in the document buffer 6 via the control section 9.

【0034】以上の説明でわかるように、例えば「KA
BUSIKI」を誤って「KABUSIKJI」と誤入
力した場合、その修正に前記従来技術によれば4ストロ
ークのキー操作を必要とするが、本発明の形態によれば
1ストロークのキー操作で済み、その効果は明かであ
る。
As can be seen from the above description, for example, “KA
If "BUSIKI" is erroneously input as "KABUSIKJI", the correction requires a four-stroke key operation according to the above-described prior art, but according to the embodiment of the present invention, a one-stroke key operation is sufficient. The effect is clear.

【0035】[第2実施形態]本実施形態では、具体的
なローマ字漢字入力方式に従って、その表示状態を加味
しつつ、従来例とを対比して説明する。ローマ字漢字入
力で例えば「ら」と入力する場合、「R」,「A」の順
にキーを押す。
[Second Embodiment] In the present embodiment, a description will be given in comparison with a conventional example while taking into account the display state thereof in accordance with a specific Roman-Kanji input method. In the case of inputting, for example, "ra" in Roman kanji input, the keys are pressed in the order of "R", "A".

【0036】しかし、「R」を押す際に誤って隣のキー
の「T」も押してしまい「R」,「T」,「A」の順に
入力されると、従来のローマ字漢字入力ではローマ字と
して成立する「T」,「A」の文字列を「た」に変換し
て、「R」は無効または英字として扱っていた。この事
例を従来のローマ字入力例として表1に示す。この表1
で、オペレーションにはオペレータが入力キーボードか
ら入力操作を順次示し、ローマ字変換機構の動作概要に
は、文字変換装置内の機構的動作を示し、入力バッファ
には入力バッファ2に格納された文字情報を示し、画面
表示には具体的な表示部7の表示面状態を示している。
However, when "R" is pressed, the next key "T" is erroneously pressed, and "R", "T", and "A" are input in this order. The character strings of "T" and "A" that are satisfied are converted to "ta", and "R" is treated as invalid or alphabetic. This case is shown in Table 1 as a conventional Roman character input example. This Table 1
In the operation, the operator sequentially indicates the input operation from the input keyboard, the outline of the operation of the Roman character conversion mechanism indicates the mechanical operation in the character conversion device, and the input buffer stores the character information stored in the input buffer 2. The screen display shows a specific display surface state of the display unit 7.

【0037】[0037]

【表1】 [Table 1]

【0038】本実施形態によるローマ字入力は、ローマ
字入力中の入力文字列内でローマ字として成立しない文
字を検出した際、「従来通りにローマ字として成立しな
い文字を無効または英字としてローマ字変換する(前記
入力例では「た」or「Rた」と変換)」と「ローマ字
として成立しない文字を有効とし、以降に入力された子
音を無効として変換する(前記入力例では「ら」と変
換)」とをキータッチ一つで切り換え、「キー入力時に
目的のキーの隣りのキーまで一緒に押してしまった」等
の入力ミスを簡単に修正できるものである。本第2実施
形態によるローマ字入力の変換方式による操作と画面表
示等を表2に示し、この例ではローマ字入力で、「R
A」と入力する際に誤って「RTA」と入力してしまい
「た」に変換された文字を「ら」に修正する動作概要例
を用いて説明する。
In the Roman alphabet input according to the present embodiment, when a character that cannot be formed as a Roman character is detected in the input character string during the Roman character input, a character that is not formed as a Roman character as in the related art is converted into a Roman character as invalid or as an alphabetic character. In the example, "ta" or "Rta" is converted) and "characters that do not hold as Roman characters are made valid, and consonants input thereafter are converted to be invalid (in the above input example, converted to" ra ")". It is possible to easily correct an input error such as "switching with the touch of a key" and "pressing a key next to a target key together at the time of key input". Table 2 shows the operation and screen display of the Roman character input conversion method according to the second embodiment.
A description will be given using an example of an operation outline in which a character that is erroneously input as “RTA” when inputting “A” and converted into “ta” is corrected to “ra”.

【0039】[0039]

【表2】 [Table 2]

【0040】まず、オペレータが「R」,「T」の順に
入力すると、入力バッファを内部に持つローマ字変換手
段が入力バッファ1に「R」,「T」の順に格納し、こ
のバッファ内が仮名文字として成立する文字列か否かを
ローマ字の変換パターンを格納したローマ字変換テーブ
ルと比較して判断する。そして、「RT」は仮名文字と
して成立しない文字列のため、入力バッファ1の一字目
(R)を入力バッファ2に移動する。
[0040] First, when the operator enters the order of "R", "T", "R" in romaji conversion means input buffer 1 with input buffer inside, and stores the order of "T", in this buffer pseudonym whether string not be satisfied as character determines compared to romaji conversion table storing Roman conversion pattern. Then, "RT" for character string does not hold as a publication in Kana characters, moves one character th input buffer 1 (R) in the input buffer 2.

【0041】次に、「A」が入力されると「A」を入力
バッファ1および入力バッファ2に格納して、結果的に
それぞれの入力バッファに格納された「TA」および
「RA」の文字列をローマ字変換テーブルと比較して、
「た」および「ら」に変換する。
Next, when "A" is input, "A" is stored in the input buffer 1 and the input buffer 2, and as a result, the characters "TA" and "RA" stored in the respective input buffers are stored. Compare the column with the Roman conversion table,
Convert to "ta" and "ra".

【0042】そして、入力バッファ1の「た」をローマ
字変換の第一候補として、入力バッファ2の「ら」を第
二候補として画面制御手段に渡す。(画面表示は、“た
ら”となる) ここで、オペレータが確定指示を行うと第一候補の
「た」が画面上残り、上位にも入力データとして「た」
が渡されるが、今回入力したい文字は「ら」のためオペ
レータは変換文字切換指示を行う。
Then, "ta" in the input buffer 1 is passed to the screen control means as a first candidate for Roman character conversion, and "ra" in the input buffer 2 is passed as a second candidate. (The screen display is "Tara".) Here, when the operator gives a determination instruction, the first candidate "T" remains on the screen, and "T" is also input data at a higher rank.
Is passed, but the character to be input this time is "ra", so the operator issues a converted character switching instruction.

【0043】ローマ字変換手段は、この変換文字切換指
示を受けると入力バッファ2の「ら」をローマ字変換の
第一候補として、入力バッファ1の「た」を第二候補と
して画面制御手段へ渡す。(画面表示は、“らた”とな
る) そして、オペレータが確定指示を行うと第一候補の
「ら」が画面上残り、上位にも入力データとして「ら」
が渡される。
Upon receiving the converted character switching instruction, the Roman character conversion means passes "ra" in the input buffer 2 as a first candidate for Roman character conversion and "ta" in the input buffer 1 as a second candidate to the screen control means. (The screen display will be “Lata”.) When the operator issues a confirmation instruction, the first candidate “La” will remain on the screen, and “La” will also be input as the upper-level input data.
Is passed.

【0044】以上のようにして、本実施形態では、「ロ
ーマ字漢字入力時に目的のキーの隣りのキーまで一緒に
押してしまう」等の入力ミスの修正を容易にするもので
ある。また、ローマ字の誤入力の場合には従来例で説明
した方法を適用し、漢字変換のできないローマ字列を入
力した場合には本発明の変換方法を適用すれば、さらに
ローマ字漢字入力方式による欠点を操作ステップを縮小
して正確な文字変換ができる。
As described above, in the present embodiment, it is easy to correct an input error such as "Pressing a key next to a target key at the time of inputting a Roman Chinese character". In addition, in the case of erroneous input of Roman characters, the method described in the conventional example is applied, and when a Roman character string that cannot be converted into kanji is input, the conversion method of the present invention is applied. Accurate character conversion can be performed by reducing operation steps.

【0045】[0045]

【発明の効果】本発明によれば、ローマ字漢字入力方式
において、ローマ字文字列よりローマ字として成立しな
い文字列を分割して、ローマ字として成立できる組み合
わせの全てを選出・表示することにより、ローマ字入力
中に余分なキーを押してしまい誤った仮名の文字列が入
力されてしまった場合の修正が容易にできるようにな
る。その理由は、ローマ字入力中に余分なキーを押して
しまった場合、従来では誤入力の箇所を削除した後に再
度正しい文字を入力するのに対して、本発明は誤入力に
て表示される変換候補から目的の文字を選択するだけの
操作になることから、修正が簡単になる。
According to the present invention, in a Roman character input method, a character string that cannot be formed as a Roman character is divided from a Roman character string, and all combinations that can be formed as a Roman character are selected and displayed. When an extra key is pressed and a wrong character string is input, correction can be easily made. The reason is that if an extra key is pressed during Roman character input, the correct character is input again after deleting the erroneous input, whereas the present invention proposes a conversion candidate displayed by erroneous input. Since the operation is simply to select the target character from the, the correction is simplified.

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

【図1】本発明の一実施形態のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】本発明によるローマ字編集部11のフローチャ
ートである。
FIG. 2 is a flowchart of the Roman character editing unit 11 according to the present invention.

【図3】本発明によるローマ字編集部11のフローチャ
ートである。
FIG. 3 is a flowchart of the Roman character editing unit 11 according to the present invention.

【図4】従来の技術を示すブロック図である。FIG. 4 is a block diagram showing a conventional technique.

【図5】従来の入力部の配置構成図を示す平面図であ
る。
FIG. 5 is a plan view showing a layout of a conventional input unit.

【図6】従来の表示部の表示態様例を示す使用態様図で
ある。
FIG. 6 is a diagram illustrating a usage example showing a display example of a conventional display unit.

【図7】従来の表示部の表示態様例を示す使用態様図で
ある。
FIG. 7 is a view showing a usage example showing a display example of a conventional display unit.

【図8】従来の表示部の表示態様例を示す使用態様図で
ある。
FIG. 8 is a diagram illustrating a usage example showing a display example of a conventional display unit.

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

1 入力部 1A 文字キー群 1B 機能キー群 1BA 改行キー 1BB シフトキー群 1BC バックスペースキー 1BD 漢字始め/終わりキー 2 入力バッファ 3 ローマ字/仮名相互変換部 4 制御部 5 仮名/漢字変換部 6 文書バッファ 7 表示部 71 カーソル 8 入力部 9 制御部 10 表示部 11 ローマ字編集部 12 ローマ字変換テーブル DESCRIPTION OF SYMBOLS 1 Input part 1A Character key group 1B Function key group 1BA Line feed key 1BB Shift key group 1BC Backspace key 1BD Kanji start / end key 2 Input buffer 3 Roman / kana mutual conversion part 4 Control part 5 Kana / Kanji conversion part 6 Document buffer 7 Display unit 71 Cursor 8 Input unit 9 Control unit 10 Display unit 11 Roman character editing unit 12 Roman character conversion table

フロントページの続き (56)参考文献 特開 平7−200566(JP,A) 特開 平7−129579(JP,A) 特開 平4−299448(JP,A) 特開 平4−177565(JP,A) 特開 平3−225462(JP,A) 特開 昭62−27858(JP,A) 特開 昭61−194560(JP,A) 特開 昭60−142467(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 17/21 G06F 17/22 G06F 17/24 Continuation of front page (56) References JP-A-7-200566 (JP, A) JP-A-7-129579 (JP, A) JP-A-4-299448 (JP, A) JP-A-4-177565 (JP) JP-A-3-225462 (JP, A) JP-A-62-27858 (JP, A) JP-A-61-194560 (JP, A) JP-A-60-142467 (JP, A) (58) Field surveyed (Int.Cl. 7 , DB name) G06F 17/21 G06F 17/22 G06F 17/24

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力部からローマ字を入力して仮名文字
に変換する文字処理装置において、 第1のローマ字を入力部から入力し、続けて入力された
第2のローマ字を入力して順次 格納する第1の入力バッ
ファと、前記第1のローマ字と前記第2のローマ字とが
仮名文字として成立する文字列か否かを判断する手段
と、ローマ字から仮名文字に変換するデータを有するロ
ーマ字変換テーブルと、前記第1のローマ字と前記第2
のローマ字とが仮名文字として成立する文字列でない場
合に前記第1の入力バッファの前記第2のローマ字を移
動格納する第2の入力バッファと、続けて入力された第
3のローマ字を前記第1の入力バッファ及び前記第2の
入力バッファに順次格納して前記第1の入力バッファ及
び前記第2の入力バッファのデータと前記ローマ字変換
テーブルとを比較してそれぞれ仮名文字に変換する変換
手段と、前記変換された仮名文字の候補をそれぞれ表示
する表示部と、前記表示部の表示状態で所望の仮名文字
の候補を先頭文字とする仮名文字列に表示する指示を行
う変換文字切換手段と、前記先頭文字の所望の仮名文字
以外の仮名文字を消去させ前記先頭文字の所望の仮名文
字を確定指示する確定指示手段と、前記前記先頭文字の
所望の仮名文字を出力する出力手段とからなることを特
徴とする文字処理装置。
1. A kana character by inputting a Roman character from an input unit.
In the character processing device for converting to the first character, the first Roman character is input from the input unit, and is successively input.
A first input buffer for inputting and sequentially storing a second Roman character , wherein the first Roman character and the second Roman character are
Means for determining whether or not a character string is satisfied as a kana character
And a file containing data to convert from Roman characters to Kana characters.
Character conversion table, the first Roman character and the second
Is not a character string that can be established as a kana character
The second Roman character in the first input buffer
A second input buffer for dynamic storage and a second input buffer
3 in the first input buffer and the second
The first input buffer and the first input buffer are sequentially stored in the input buffer.
And the data of the second input buffer and the Roman character conversion
Conversion to compare with table and convert to kana character respectively
Displaying the means and the converted kana character candidate
Display unit, and desired kana characters in the display state of the display unit
Instruction to display in a kana character string starting with the candidate
Conversion character switching means, and a desired kana character as the first character
Delete the kana characters other than the desired kana sentence of the first character
Confirmation instruction means for instructing a character, and
A character processing apparatus comprising output means for outputting a desired kana character .
【請求項2】 第1の入力バッファと、第2の入力バッ
ファと、ローマ字変換テーブルと、画面表示を制御する
画面制御手段を備え、入力部からローマ字を入力して仮
名文字に変換する文字処理装置における文字処理方法に
おいて、前記入力部からローマ字文字を入力して前記第1の入力
バッファに格納し、前記ローマ字文字に続いて誤ローマ
字文字を入力して前記第1の入力バッファに格納し、前
記ローマ字文字と前記誤ローマ字文字とのローマ字文字
列が仮名文字として成立しない場合に前記ローマ字文字
を前記第1の入力バッファから前記第2の入力バッファ
に移動し、続いて前記入力部に入力された次ローマ字文
字を前記第1の入力バッファ及び前記第2の入力バッフ
ァに格納し、 前記第1の入力バッファ及び前記第2の入力バッファの
ローマ字文字列を前記ローマ字変換テーブルを用いてそ
れぞれ該当する仮名文字に変換して前記画面制 御手段に
渡し、当該仮名文字をそれぞれ第1候補及び第2候補と
して画面表示し、前記入力部からの変換文字切換指示を
行った場合は前記第2の入力バッファに対応する文字を
第1候補として画面表示し、前記入力部からの確定指示
を受けた場合は前記第1候補以外の仮名文字を消去し、
前記第1候補の仮名文字を確定された仮名文字とする文
字変換結果を得て、前記第1の入力バッファ及び前記第
2の入力バッファをクリアする ことを特徴とする文字処
理方法。
2. A first input buffer and a second input buffer.
To control the screen display
A character processing method in a character processing device, comprising a screen control unit, for inputting Roman characters from an input unit and converting the characters to kana characters, wherein the first input is performed by inputting Roman characters from the input unit.
Stored in a buffer and followed by the Roman character
Input the character and store it in the first input buffer.
Romanized characters of the romaji characters and the erroneous Roman characters
The Roman character if the column does not hold as a kana character
From the first input buffer to the second input buffer
And then the next Roman character sentence entered in the input section
Characters into the first input buffer and the second input buffer.
Stored in the first input buffer and the second input buffer.
The Roman character string is converted using the Roman character conversion table.
On the screen control means it is converted to kana characters applicable respectively
Hand over the kana characters to the first and second candidates, respectively.
To display the screen, and receive the conversion character switching instruction from the input unit.
If so, the character corresponding to the second input buffer is
Display on the screen as the first candidate and confirm instruction from the input unit
Received, delete kana characters other than the first candidate,
A sentence in which the first candidate kana character is a determined kana character
Character conversion result, the first input buffer and the second
2. A character processing method comprising clearing an input buffer of No. 2 .
【請求項3】 請求項2に記載の文字処理方法におい
て、前記誤ローマ字文字は前記入力部の操作キーの前記
ローマ字文字に隣接する子音の操作キーで入力される
とを特徴とする文字処理方法。
3. The character processing method according to claim 2, wherein the erroneous Romaji character is one of operation keys of the input unit.
A character processing method characterized by being input with a consonant operation key adjacent to a Roman character .
【請求項4】 入力バッファと、ローマ字文字列から仮
名文字に変換するデータを有するローマ字変換テーブル
と、画面表示を制御する画面制御手段とを備え、入力部
のローマ字キーが操作され入力されたローマ字文字列を
仮名文字に変換する文字処理装置における文字処理方法
において、前記入力部の操作でローマ字入力中に余分なキーが押さ
れて前記仮名文字として成立しない前記ローマ字文字列
が発生した場合に、前記成立しないローマ字文字列をロ
ーマ字毎に分割して前記入力バッファに格納し、前記分
割したローマ字各々に対して次に前記入力部から入力さ
れたローマ字を追加格納して前記入力バッファ内に複数
のローマ字文字列を形成し、前記入力バッファ内の各ロ
ーマ字文字列を前記ローマ字変換テーブルで仮名文字に
変換して前記画面制御手段に渡して、前記入力バッファ
内の前記ローマ字文字列毎の仮名文字をローマ字変換の
候補としての仮名文字列として順次画面表示し、前記入
力部からの変換文字切換指示により所望の仮名文字を先
頭文字とする前記仮名文字列を画面表示し、前記入力部
からの確定指示により前記先頭文字の仮名文字以外を当
該画面から消去し、前記先頭文字の仮名文字を出力する
ことを特徴とする文字処理方法。
4. An input buffer, comprising :
Roman character conversion table with data to be converted to first name characters
And a screen control means for controlling screen display.
Roman key is operated and the entered Roman character string is
In the character processing method in the character processing device for converting to kana characters, an extra key is pressed during Roman character input by operating the input unit.
The Roman character string that is not established as the kana character
When the occurrence of a character string, the Roman character string
Divided into individual characters and stored in the input buffer.
Next, for each of the divided Roman characters,
Additional stored Roman characters and store them in the input buffer
Of each character in the input buffer.
Character string in the Kana character conversion table
The input buffer is converted and passed to the screen control means.
Of the Kana character for each Roman character string in
The screen is displayed sequentially as kana character strings as candidates, and
The desired kana character is first
The kana character string as an initial character is displayed on a screen, and the input unit
The other than the kana character of the first character
A character processing method comprising erasing the screen and outputting the first character of the kana character .
JP8189376A 1996-07-18 1996-07-18 Character processing method and character processing device Expired - Lifetime JP3012525B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8189376A JP3012525B2 (en) 1996-07-18 1996-07-18 Character processing method and character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8189376A JP3012525B2 (en) 1996-07-18 1996-07-18 Character processing method and character processing device

Publications (2)

Publication Number Publication Date
JPH1040243A JPH1040243A (en) 1998-02-13
JP3012525B2 true JP3012525B2 (en) 2000-02-21

Family

ID=16240291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8189376A Expired - Lifetime JP3012525B2 (en) 1996-07-18 1996-07-18 Character processing method and character processing device

Country Status (1)

Country Link
JP (1) JP3012525B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003282823A (en) 2002-03-26 2003-10-03 Toshiba Corp Semiconductor integrated circuit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03225462A (en) * 1990-01-30 1991-10-04 Nec Corp Roman character/kanji converter
JPH04177565A (en) * 1990-11-09 1992-06-24 Matsushita Electric Ind Co Ltd Kana-Kanji conversion method and device
JP3042284B2 (en) * 1993-10-29 2000-05-15 ブラザー工業株式会社 Japanese input device

Also Published As

Publication number Publication date
JPH1040243A (en) 1998-02-13

Similar Documents

Publication Publication Date Title
JP3012525B2 (en) Character processing method and character processing device
JP2000148367A (en) Character processing apparatus and method, and storage medium storing the program
JPS5831006B2 (en) Kana-Kanji conversion device
JPS61121185A (en) Input and output device for character graphic
JPS5844528A (en) Selecting system of homonym
JPH0650504B2 (en) Kana-Kanji converter
JPS59142630A (en) character processing device
JPS60238966A (en) Kana and kanji reverse conversion processing system
JPH0850542A (en) Input device for plural windows
JP2728341B2 (en) Information processing device
JPH067398Y2 (en) Kana-Kanji conversion system
JPH0314069A (en) document processing device
JPH0423297B2 (en)
JPH0322639B2 (en)
JPH0782493B2 (en) Character processing device with dictionary registration function
JPH0778045A (en) Japanese input device
JPH0863477A (en) Electronics
JPH02735B2 (en)
JPS61275970A (en) Document forming device
JPH04215174A (en) Key input device for japanese language
JPH09179858A (en) Document creation device and display method
JPH0535723A (en) Document creation device
JPH08129471A (en) Method for inputting program processing signal for computer and device therefor
JPH0423298B2 (en)
JPH05158923A (en) Information processing equipment