JP3042284B2 - Japanese input device - Google Patents

Japanese input device

Info

Publication number
JP3042284B2
JP3042284B2 JP5294128A JP29412893A JP3042284B2 JP 3042284 B2 JP3042284 B2 JP 3042284B2 JP 5294128 A JP5294128 A JP 5294128A JP 29412893 A JP29412893 A JP 29412893A JP 3042284 B2 JP3042284 B2 JP 3042284B2
Authority
JP
Japan
Prior art keywords
kana
character string
conversion
candidate
switching
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 - Fee Related
Application number
JP5294128A
Other languages
Japanese (ja)
Other versions
JPH07129579A (en
Inventor
隆夫 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP5294128A priority Critical patent/JP3042284B2/en
Publication of JPH07129579A publication Critical patent/JPH07129579A/en
Application granted granted Critical
Publication of JP3042284B2 publication Critical patent/JP3042284B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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 Japanese input device capable of inputting a Japanese sentence by converting a character string read in Roman characters into Kana-Kanji characters.

【0002】[0002]

【従来の技術】従来、日本語入力装置において、ローマ
字入力によってかな文字を入力する際に、「N」の直後
に母音「A〜O」が入力された場合や、「Y」とこれに
続いて母音「A〜O」が入力された場合に、「N」が
「ん」になるのかそれとも後ろの文字と一緒になって
「な行」のかな、あるいは「にゃ行」のかなになるのか
は、装置側では一意に決められないものであり、その対
応のために様々な方法が考えられている。
2. Description of the Related Art Conventionally, in a Japanese input device, when a kana character is input by inputting a Roman character, a vowel "A to O" is input immediately after "N", or "Y" and subsequent vowels are input. If the vowel "A ~ O" is input, does "N" become "n" or does it become "na line" or "nii line" with the following characters? Cannot be uniquely determined on the device side, and various methods have been considered to cope with this.

【0003】例えば、ローマ字入力で「NN」と入力す
ることにより、始めて「ん」になることとする方法があ
る。このローマ字入力では、「N」の直後に母音が入力
された場合は、必ず「な行」になり、「N」の直後に
「Y」とこれに続いて母音が入力された場合は、必ず
「にゃ行」になる。また、別の方法としては、入力され
た「N」が「ん」と他のかなになる可能性がある場合に
は、ローマ字入力時には、取り敢えずどちらかのかなに
しておいて、かな漢字変換時に両方のかなを用いてかな
漢字変換し、次候補で選べるようにするという方法があ
る。
[0003] For example, there is a method in which "NN" is entered for the first time by inputting "NN" in Roman alphabet input. In this Roman alphabet input, if a vowel is input immediately after "N", it will always be "na-line", and if "Y" and subsequent vowel are input immediately after "N", "Nii line". Also, as another method, if there is a possibility that the input "N" will be "n" and another kana, at the time of inputting Roman characters, temporarily set either kana and both at the time of kana-kanji conversion. There is a method in which kana to kanji conversion is performed using kana so that the next candidate can be selected.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
ようにローマ字入力法を固定してしまうと、例えば「N
NA」と入力して「んあ」としたいところを、間違えて
「NA」と入力してしまい「な」となってしまうと、入
力した文字を削除し、改めて入力し直すしかないことに
なり、利用者にとっては面倒なものになる。また、かな
漢字変換時に自動的に複数の可能性のあるかなを使って
変換し、次候補以下の候補をも表示するという方法で
は、必要のないところでも余分なかな漢字変換が行わ
れ、更に、利用者に予測のできない次候補を提示するこ
とにより、心理的な負担を与えることもあり、かえって
使い勝手が良くないものになるといった問題がある。
However, if the Roman alphabet input method is fixed as described above, for example, "N
If you enter "NA" and enter "NA", but you mistakenly enter "NA" and get "NA", you have to delete the entered character and re-enter it. However, it becomes troublesome for the user. Also, in the method of automatically converting using multiple possible kana during kana-kanji conversion and displaying the candidates below the next candidate, extra kana-kanji conversion is performed even in unnecessary places. Presenting the next candidate that cannot be predicted to the user may impose a psychological burden on the user, making the usability worse.

【0005】本発明は、上述した問題点を解決するため
になされたものであり、ローマ字入力よりかな変換する
際に、複数の変換候補があり一意的に決められない場合
に、そのかな文字列に2種類のかな文字列になり得るこ
とを示す切替情報を付与しておき、かな文字列切替キー
操作があって初めてかな文字列候補を切り替え表示する
ようにし、候補文字列の表示が無用に増えることがな
く、ローマ字入力の複数の変換可能性に容易に対応可能
とし、効率良く文書入力が行える日本語入力装置を提供
することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem. When a kana character is converted from a Roman character input, if a plurality of conversion candidates cannot be uniquely determined, the kana character string is used. Can be two kinds of kana character strings
And the switching information indicating
Switch and display kana character string candidates only after an operation
Display of candidate strings does not increase unnecessarily.
In addition, it is an object of the present invention to provide a Japanese input device which can easily cope with a plurality of conversion possibilities of Roman character input and can efficiently input a document.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に本発明の日本語入力装置は、図1に示すように、ロー
マ字等を入力する入力手段(a)と、入力手段(a)に
より入力されたローマ字列をかな文字列に変換するロー
マ字変換手段(b)と、ローマ字変換手段(b)により
変換されたかな文字列を漢字かな混じり文字列に変換す
るために必要な単語の読みと表記を含む情報を記憶した
変換辞書部(c)と、ローマ字変換手段(b)により変
換されたかな文字列を変換辞書部(c)を用いて候補文
字列に変換するかな漢字変換手段(d)と、かな漢字変
換手段(d)によるかな漢字変換候補文字列を表示する
表示手段(e)と、ローマ字変換手段(b)により変換
されるかな文字列が一意に決められないものであると
き、そのかな文字列に2種類のかな文字列になり得るこ
とを示す切替情報を付与する切替情報付与手段と、前記
切替情報付与手段によりかな文字列に切替情報が付与さ
れたとき、かな文字列を記憶するかな文字列記憶部を二
重化すると共に、それらのかな文字列記憶部に2種類の
かな文字列候補を格納するかな文字列記憶部二重化手段
と、前記かな文字列記憶部に記憶された2種類のかな文
字列候補の切り替えを指示するかな文字列候補切替手段
と、前記かな文字列候補切替手段によりかな文字列候補
の切り替えが指示された場合において、そのかな文字列
候補に切替情報が付与されているときは、前記表示手段
(e)に表示されるかな文字列候補を切り替える表示切
替手段(以上がf)とを備えたものである。
In order to achieve this object, a Japanese input device according to the present invention comprises, as shown in FIG. 1, an input means (a) for inputting Roman characters and the like, and an input means (a). Roman character conversion means (b) for converting an input Roman character string into a kana character string; reading of words necessary for converting a kana character string converted by the Roman character conversion means (b) into a character string mixed with kanji and kana; A conversion dictionary unit (c) storing information including notations, and a kana-kanji conversion unit (d) for converting a kana character string converted by a Roman character conversion unit (b) into a candidate character string using the conversion dictionary unit (c) when a display means for displaying the kana-kanji conversion candidate character string by kana-kanji conversion means (d) (e), when do strings or converted by Roman character conversion means (b) is one which does not uniquely determined, how the String This, which may be two types of kana string
Switching information providing means for providing switching information indicating
Switching information is added to the kana character string by the switching information adding means.
The kana character string storage unit that stores the kana character string
And two types of characters are stored in those kana character string storage units.
Duplicate kana character string storage unit that stores kana character string candidates
And two types of kana sentences stored in the kana character string storage unit.
Kana character string candidate switching means for instructing switching of character string candidates
And a kana character string candidate by the kana character string candidate switching means.
When the switching of the is instructed, the kana character string
When switching information is given to the candidate, the display means
Display off for switching kana character string candidates displayed in (e)
Replacement means (the above is f) .

【0007】[0007]

【作用】上記の構成を有する本発明の日本語入力装置で
は、入力手段aよりローマ字を入力し、ローマ字変換手
段bにてかな文字列に変換し、変換辞書部cを用いてか
な漢字変換手段dによってかな文字列を候補文字列に変
換する。この際に、ローマ字変換の結果のかな文字列が
複数の可能性がある場合に、切替情報付与手段により、
そのかな文字列にその旨の切替情報を付与し、同時に、
かな文字列記憶部二重化手段により、かな文字列を記憶
するかな文字列記憶部を二重化し、2種類のかな文字列
候補を格納する。かな文字列候補切替手段から候補切り
替えが指示された場合で、そのかな文字列候補に切替情
報が付与されているとき、表示切替手段は、表示手段
(e)に表示されるかな文字列候補を切り替える。
In the Japanese input device of the present invention having the above structure, Roman characters are inputted from the input means a, converted into kana character strings by the Roman character conversion means b, and converted into kana-kanji characters using the conversion dictionary c. Converts the kana character string into a candidate character string. At this time, if there is a possibility that there are a plurality of kana character strings as a result of the Roman character conversion ,
Switching information to that effect is added to the kana character string, and at the same time,
Kana character string storage
Duplicate character string storage unit and two kinds of character strings
Stores candidates. Candidate cut from kana character string candidate switching means
When the replacement is instructed, the switching information is
When the information is given, the display switching means
The kana character string candidates displayed in (e) are switched.

【0008】[0008]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図2は本発明の一実施例による日本
語入力装置のブロック構成図である。本実施例の日本語
入力装置1は、文字や編集指示等を入力する本発明の入
力手段としてのキーボード2と、文字や図形を表示する
本発明の表示手段としてのディスプレイ3と、文字や図
形を印字するプリンタ4と、これらが接続され、文書の
入力・変換・編集・印刷を制御する機能を有した電子制
御装置5とを備えている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram of a Japanese input device according to an embodiment of the present invention. The Japanese input device 1 of the present embodiment includes a keyboard 2 as input means of the present invention for inputting characters and editing instructions, a display 3 as a display means of the present invention for displaying characters and figures, a character and a figure. And an electronic control unit 5 to which these are connected and which has a function of controlling input, conversion, editing, and printing of a document.

【0009】キーボード2には、文字を入力する文字キ
ー2a、入力されたかな文字列を漢字かな混じり文に変
換するように指示するかな漢字変換キー2b、変換時の
部分候補の変換し直しを指示する次候補変換キー2c、
変換時における候補文字列の選択等の各種動作を実行さ
せる確定実行キー2d、ディスプレイ3に表示されてい
るカーソルを移動させることにより、文書中の文字入力
位置等を指定するカーソルキー2e、本発明の特徴であ
るローマ字変換別候補への切り替えを指示するローマ字
変換切替キー2f等が設けられており、利用者はこれら
のキーを操作することによって、文書の入力、変換、編
集、印刷等の指示を電子制御装置5に与える。
The keyboard 2 has a character key 2a for inputting characters, a kana-kanji conversion key 2b for instructing to convert an input kana character string into a sentence mixed with kanji and kana, and an instruction for re-converting a partial candidate at the time of conversion. Next conversion key 2c,
A determination execution key 2d for executing various operations such as selection of a candidate character string at the time of conversion; a cursor key 2e for designating a character input position in a document by moving a cursor displayed on the display 3; There is provided a Roman character conversion switching key 2f for instructing switching to another Roman character conversion candidate, which is a feature of the user. By operating these keys, the user can input a document input, conversion, editing, printing, etc. Is given to the electronic control unit 5.

【0010】電子制御装置5は、装置全体の制御を司る
CPU10と、このCPU10に接続されたROM11
及びRAM12を有し、さらに、外部装置の入出力信号
をCPU10の処理可能な信号に変換する入出力ポート
13を介して前記キーボード2と、ディスプレイ3と、
プリンタ4とが接続されている。
The electronic control unit 5 includes a CPU 10 for controlling the entire apparatus, and a ROM 11 connected to the CPU 10.
And a RAM 12, and further via the input / output port 13 for converting input / output signals of an external device into signals that can be processed by the CPU 10, the display 2,
The printer 4 is connected.

【0011】また、前記ROM11には、かな漢字変換
処理のプログラムが格納されるかな漢字変換プログラム
メモリ領域11aの他に、かな漢字変換処理で使用され
る辞書データが格納される辞書領域11b、ローマ字変
換処理のプログラムが格納されるローマ字変換プログラ
ムメモリ領域11c、ローマ字変換及びかな漢字変換候
補の2重化及び切り替えを制御するプログラムが格納さ
れる切替制御プログラムメモリ領域11d、その他各種
制御プログラムを格納する領域等が設けられる。
In the ROM 11, in addition to a kana-kanji conversion program memory area 11a for storing a kana-kanji conversion program, a dictionary area 11b for storing dictionary data used in the kana-kanji conversion processing, A Roman character conversion program memory area 11c for storing programs, a switching control program memory area 11d for storing programs for controlling doubling and switching of Roman character conversion and Kana-Kanji conversion candidates, and other areas for storing various control programs are provided. Can be

【0012】更に、前記RAM12には、作成された文
書が格納される文書領域12a、種々のプログラム処理
に利用される作業領域12b、及び入力されたローマ字
を記憶するローマ字バッファ12c、ローマ字から変換
されたかなを記憶する第1かなバッファ12d、第2か
なバッファ12e、両かなバッファ12d、12eのか
なをかな漢字変換した漢字を記憶する第1候補バッファ
12f、第2候補バッファ12gが設けられる。尚、作
業領域12bには、切替有効フラグも格納されている。
この切替有効フラグは、ローマ字入力された文字の中に
ローマ字変換で2種類のかなになり得る「N+あ行」
「N+や行」が入力されたときにONにされるもので、
第1かなバッファ12dと第2かなバッファ12eの両
方にローマ字変換されたかな文字列が存在し、表示の切
り替えが有効であることを表す。
Further, in the RAM 12, a document area 12a for storing created documents, a work area 12b used for various program processing, a Roman character buffer 12c for storing inputted Roman characters, There are provided a first kana buffer 12d for storing kana, a second kana buffer 12e, a first candidate buffer 12f for storing kana-kanji converted kanji of both kana buffers 12d and 12e, and a second candidate buffer 12g. The work area 12b also stores a switch enable flag.
This switch valid flag can be converted into two types of kana characters in the characters input in Romaji.
It is turned on when "N + or line" is input.
This indicates that Roman character-converted kana character strings exist in both the first kana buffer 12d and the second kana buffer 12e, and that display switching is effective.

【0013】次に、このように構成された日本語入力装
置における日本語入力の処理について、図3及び図4の
フローチャートを用いて詳述する。まず、電源がオンさ
れると、処理が開始され、初期設定として、RAM12
の作業領域12bに設定されている切替有効フラグをO
FFにする(S1)。次いで、キーボード2からのキー
入力を読み込み(S2)、入力されたキーの種類を判定
して(S3,S4,S5)、各々の処理を行い、いずれ
のキーでもない場合には、その他のキー処理を行い(S
6)、前記S2に戻ってキー入力を繰り返す。入力され
たキーがローマ字キーであった場合には(S3・YE
S)、入力されたローマ字キーに対応するデータをRA
M12のローマ字バッファ12cに順に格納する(S
7)。
Next, the processing of Japanese input in the Japanese input device thus configured will be described in detail with reference to the flowcharts of FIGS. First, when the power is turned on, the process is started, and the RAM 12 is initialized as an initial setting.
The switching valid flag set in the work area 12b of
Set to FF (S1). Next, the key input from the keyboard 2 is read (S2), the type of the input key is determined (S3, S4, S5), and each processing is performed. Perform processing (S
6) Return to S2 and repeat key input. If the input key is a Roman key, (S3 · YE
S), the data corresponding to the input Roman character key is
M12 is sequentially stored in the Roman buffer 12c (S
7).

【0014】その後、新たに入力された分のローマ字に
ついてROM11のローマ字変換プログラムメモリ領域
11cのローマ字変換プログラムを用いてローマ字変換
し(S8)、変換されたかな文字をRAM12の第1か
なバッファ12dに格納する(S9)。次いで、切替有
効フラグの判断を行う(S10)。切替有効フラグがO
Nの場合は(S10・YES)、上記S9で既にRAM
12の第1かなバッファ12dに格納されたかな文字を
第2かなバッファ12eにも格納する(S11)。
Thereafter, the newly input Roman characters are converted into Roman characters using the Roman character conversion program in the Roman character conversion program memory area 11c of the ROM 11 (S8), and the converted kana characters are stored in the first kana buffer 12d of the RAM 12. It is stored (S9). Next, the switching valid flag is determined (S10). Switching valid flag is O
In the case of N (S10, YES), the RAM has already been set in S9.
The kana characters stored in the first kana buffer 12d are also stored in the second kana buffer 12e (S11).

【0015】続いて、切替有効フラグの設定のための判
断を行う(S12)。すなわち、入力されたローマ字に
よってバッファの末尾が「N+あ行」あるいは「N+や
行」になったかどうかを判定し、該当する場合には(S
12・YES)、切替有効フラグをONにし(S1
3)、ローマ字変換の2つの処理結果が第1かなバッフ
ァ12dと第2かなバッファ12eに格納されるように
ローマ字バッファ12cの内容をコピーし(S14)、
「N+あ行」「N+や行」が第1かなバッファ12dの
方では「な行」「にゃ行」になり、第2かなバッファ1
2eの方では「ん+あ行」「ん+や行」になって格納さ
れる。これ以降のローマ字入力に対しては前述のように
ローマ字変換結果のかなを第1かなバッファ12dと第
2かなバッファ12eの両方に格納していくことにな
る。
Subsequently, a determination is made for setting the switching enable flag (S12). That is, it is determined whether or not the end of the buffer is “N + a line” or “N + or line” according to the input Roman characters.
12. YES), and turns on the switching valid flag (S1)
3) The contents of the Roman character buffer 12c are copied so that the two processing results of the Roman character conversion are stored in the first kana buffer 12d and the second kana buffer 12e (S14).
“N + a row” and “N + ya row” become “na row” and “ni」 row ”in the first kana buffer 12d, and the second kana buffer 1
In the case of 2e, “n + a line” and “n + ya line” are stored. For the subsequent Roman character input, as described above, the kana of the Roman character conversion result is stored in both the first kana buffer 12d and the second kana buffer 12e.

【0016】上記S14のバッファ2重化の状況の具体
例を図5、図6に示す。図5は、“KONYAHA”と
入力した場合のローマ字バッファ12cの格納状態を示
し、図6はその時の第1かなバッファ12dと第2バッ
ファ12eとの格納状態を示す。この場合の動作を図3
のフローチャートとの対応で説明すると、“K”が入力
されると、S3でYESとなり、S7にてローマ字バッ
ファ12cに“K”が格納される。S10,S12の判
断ではNOでS2に戻る。次に、“O”が入力される
と、上記と同様にして同バッファ12cに“O”が格納
され、同バッファ12cに格納された“KO”が“こ”
にローマ字変換され(S8)、これが第1かなバッファ
12dに格納される(S9)。
FIGS. 5 and 6 show specific examples of the situation of the buffer duplication in S14. FIG. 5 shows the storage state of the Roman character buffer 12c when "KONYAHA" is input, and FIG. 6 shows the storage state of the first kana buffer 12d and the second buffer 12e at that time. The operation in this case is shown in FIG.
If "K" is input, the answer is YES in S3, and "K" is stored in the Roman character buffer 12c in S7. In the determinations of S10 and S12, NO returns to S2. Next, when "O" is input, "O" is stored in the buffer 12c in the same manner as described above, and "KO" stored in the buffer 12c is changed to "".
(S8), which is stored in the first kana buffer 12d (S9).

【0017】その後、“N”,“Y”が入力されると、
S12の判断がYESとなり、切り替えフラグがONさ
れ(S13)、バッファは2重化される。次に、“A”
が入力されると、“NYA”が“にゃ”と“んや”にロ
ーマ字変換され(S8)、前者の“にゃ”が同バッファ
12cに格納され(S9)、さらに、切り替えフラグが
ONであるので、第2バッファ12eに後者の“んや”
が格納される(S11)。その後、“H”,“A”が入
力されると、これが“は”にローマ字変換されて(S
8)、両バッファ12d,12eに“は”が格納される
(S9,S11)。こうして、第1かなバッファ12d
には「こにゃは」と格納され、第2バッファ12eには
「こんやは」と格納される。
Thereafter, when "N" and "Y" are input,
The determination in S12 is YES, the switching flag is turned on (S13), and the buffer is duplicated. Next, "A"
Is input, "NYA" is converted into Roman characters "Ni“ "and" Niya "(S8), the former" Ni ゃ "is stored in the buffer 12c (S9), and the switching flag is ON. Therefore, the second "nya" is stored in the second buffer 12e.
Is stored (S11). Then, when "H" and "A" are input, they are converted to "ha" in Roman characters (S
8) "ha" is stored in both buffers 12d and 12e (S9, S11). Thus, the first kana buffer 12d
Is stored in the second buffer 12e, and is stored in the second buffer 12e.

【0018】キーボード2からの入力がローマ字キーで
なかった時は(S3・NO)、ローマ字変換切替キー2
fが押し下げられたかどうかを判断する(S4)。切替
キー2fが押し下げられていた場合は(S4・YE
S)、さらに、切替有効フラグがONになっているかど
うかを判断し(S15)、同フラグがONになっていれ
ば(S15・YES)、ディスプレイ3に表示されてい
るかなが第1かなバッファ12dに格納されているかな
であれば第2かなバッファ12eに、第2かなバッファ
12eに格納されているかなであれば第1かなバッファ
12dに切り替えて表示する(S16)。以上の切替有
効フラグ設定とかなバッファの2重化及び切替キー2f
によるかなバッファ表示の切り替え処理は、ROM11
の制御プログラムメモリ領域11dに格納されているプ
ログラムにより行われる。
When the input from the keyboard 2 is not a Roman key (S3: NO), the Roman character conversion switch key 2
It is determined whether f has been depressed (S4). If the switching key 2f has been pressed down (S4 · YE
S) Further, it is determined whether or not the switching valid flag is ON (S15). If the flag is ON (S15 / YES), it is determined whether the display is on the display 3 by the first kana buffer. If it is stored in 12d, it is switched to the second kana buffer 12e, and if it is stored in the second buffer 12e, it is switched to the first kana buffer 12d and displayed (S16). The above switch enable flag setting, double kana buffer and switch key 2f
The switching processing of the kana buffer display by the ROM 11
This is performed by a program stored in the control program memory area 11d.

【0019】また、キーボード2からの入力が切替キー
2fでなかった時は(S4・NO)、かな漢字変換キー
2bが押し下げられたかどうかを判断する(S5)。同
変換キー2bが押し下げられていない場合は(S5・N
O)、いずれのキーでもないので、他のキー処理(S
6)に移る。かな漢字変換キー2bが押し下げられてい
た場合は(S5・YES)、図4のS17に進み、RO
M11のかな漢字変換プログラムメモリ領域11aに格
納されたかな漢字変換プログラムと辞書領域11bに格
納されている辞書データを用いて入力されたかな文字列
のかな漢字変換処理を行う。このかな漢字変換処理で
は、切替有効フラグがOFFであれば第1かなバッファ
12dの内容をかな漢字変換し、その候補文字列を第1
候補バッファ12fに格納し、切替有効フラグがONの
場合には、さらに、第2かなバッファ12eの内容につ
いてかな漢字変換を行って、その候補文字列を第2候補
バッファ12gに格納する。そしてディスプレイ3に表
示されている方のかなバッファに対応した候補バッファ
の内容をかな漢字変換候補として表示する。
When the input from the keyboard 2 is not the switching key 2f (S4: NO), it is determined whether the kana-kanji conversion key 2b is depressed (S5). If the conversion key 2b is not depressed (S5 · N
O) Since it is not any key, other key processing (S
Move to 6). If the kana-kanji conversion key 2b has been depressed (S5: YES), the process proceeds to S17 in FIG.
The kana-kanji conversion program stored in the memory area 11a of the M11 and the dictionary data stored in the dictionary area 11b are used to perform the kana-kanji conversion processing of the input kana character string. In this kana-kanji conversion process, if the switching valid flag is OFF, the contents of the first kana buffer 12d are converted to kana-kanji characters and the candidate character string is converted to the first kana-kanji character.
When the switch valid flag is ON, the contents of the second buffer 12e are subjected to Kana-Kanji conversion, and the candidate character string is stored in the second candidate buffer 12g. Then, the contents of the candidate buffer corresponding to the kana buffer displayed on the display 3 are displayed as kana-kanji conversion candidates.

【0020】次いで、キーボードからのキー入力を読み
込み(S18)、入力されたキーの種類に従って各々の
処理を行い(S19、S20)、その他のキーの場合に
はその他の候補文字列変更の処理等を行って(S2
1)、S18に戻ってキー入力を繰り返す。キーボード
2からの入力がローマ字変換切替キー2fであるかどう
かを判断し(S19)、同切替キー2fであった場合は
(S19・YES)、切替有効キーフラグがONになっ
ているかどうかを判断し(S22)、同フラグがONに
なっていれば(S22・YES)、ディスプレイ3に表
示されている候補が第1候補バッファ12fに格納され
ている候補であれば第2候補バッファ12gに、第2候
補バッファ12gに格納されている候補であれば第1候
補バッファ12fに切り替えて候補を表示する(S2
3)。この切替キー2fによる候補バッファ表示の切り
替えの処理も前述のROM11の切替制御プログラムメ
モリ領域11dに格納されているプログラムにより行わ
れる。図5、図6の例では、第2バッファ12eの「こ
んやは」に切り替えることで、「今夜は」にかな漢字変
換することができる。
Next, the key input from the keyboard is read (S18), and each processing is performed according to the type of the input key (S19, S20). In the case of other keys, other candidate character string change processing and the like are performed. (S2
1) Return to S18 and repeat key input. It is determined whether or not the input from the keyboard 2 is the Roman character conversion switching key 2f (S19). If the input is from the keyboard 2f (S19 / YES), it is determined whether or not the switching valid key flag is ON. (S22) If the flag is ON (S22: YES), if the candidate displayed on the display 3 is a candidate stored in the first candidate buffer 12f, the candidate is stored in the second candidate buffer 12g. If the candidate is stored in the second candidate buffer 12g, it is switched to the first candidate buffer 12f to display the candidate (S2).
3). The process of switching the candidate buffer display by the switching key 2f is also performed by the program stored in the switching control program memory area 11d of the ROM 11 described above. In the examples of FIGS. 5 and 6, by switching to “Konyaha” in the second buffer 12e, the kana-kanji conversion to “Tonight is possible” can be performed.

【0021】S19でキーボードからの入力がローマ字
変換切替キー2fでなかった場合は(S19・NO)、
確定実行キー2dであるかを判断する(S20)。同確
定実行キー2dであった場合(S20・YES)、ディ
スプレイ3に表示されている候補の文字列に関してのか
な漢字変換確定処理を行い(S24)、確定された文字
列をRAM12の文書領域12aの指定された位置に格
納する。
If the input from the keyboard is not the Roman character conversion switching key 2f in S19 (NO in S19),
It is determined whether the key is the confirmation execution key 2d (S20). If it is the same key 2d (YES in S20), the kana-kanji conversion determination process is performed on the candidate character string displayed on the display 3 (S24), and the determined character string is stored in the document area 12a of the RAM 12. Store in the specified location.

【0022】以上説明したように、本実施例では、ロー
マ字入力中に2通りのかなに変換可能性のあるローマ字
が入力されると、かなバッファと候補バッファとを共に
2重に持って、ローマ字変換及びかな漢字変換を行い、
各々のバッファはローマ字変換切替キー2fで表示を切
り替えて使うことができる。こうして、かな漢字変換後
においてもその確定前であれば、再度入力をし直すとい
った手間がかかることなく、所望の変換結果に変更でき
る。
As described above, in the present embodiment, when a Roman character that can be converted into two types of kana is input during the Roman character input, both the kana buffer and the candidate buffer are doubled and the Roman character is provided. Perform conversion and Kana-Kanji conversion,
The display of each buffer can be switched by using the Roman character conversion switching key 2f. In this way, even after the Kana-Kanji conversion, before the determination, the desired conversion result can be changed without the trouble of re-inputting.

【0023】[0023]

【発明の効果】以上説明したことから明らかなように本
発明の日本語入力装置によれば、ローマ字入力よりかな
漢字変換する際に、変換候補が複数あって一意的に決め
られない場合に、そのかな文字列に切り替え情報を付与
しておき、その後、切替キーが操作されたときに初めて
かな文字列候補を切り替え、その後にかな漢字変換を行
うようにしたので、ローマ字入力が複数の変換候補を含
む場合に、従来のように無用に多数の候補文字列が増え
るといったことがなく、候補選択を利用者の指示に基づ
いて容易に行うことができ、ローマ字かな変換をやり直
すために入力し直すといった手間がかからなくなり、効
率のよい文書入力を行うことができる。
According From what has been described above in Japanese input device obvious to the present invention, when the kana-kanji conversion from Roman character input, when the conversion candidate can not be determined uniquely by a plurality, that Add switching information to kana character string
And then the first time the switch key is operated
Switch kana character string candidates and then perform kana-kanji conversion
When the Roman alphabet input includes multiple conversion candidates , the number of candidate character strings increases unnecessarily as in the past.
Without Rutoitta, based on the user's instruction to the candidate selection can be easily performed, will not take the trouble to reselect input for redoing the kana conversion a Roman letter, perform efficient document input be able to.

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

【図1】本発明の日本語入力装置のブロック図である。FIG. 1 is a block diagram of a Japanese input device of the present invention.

【図2】本発明の一実施例による日本語入力装置のブロ
ック構成図である。
FIG. 2 is a block diagram of a Japanese input device according to an embodiment of the present invention;

【図3】本実施例の日本語入力処理の動作を示すフロー
チャートである。
FIG. 3 is a flowchart illustrating an operation of a Japanese input process according to the embodiment.

【図4】本実施例の日本語入力処理の動作を示すフロー
チャートである。
FIG. 4 is a flowchart illustrating an operation of a Japanese input process according to the present embodiment.

【図5】本実施例におけるローマ字バッファのデータ格
納状態を示す図である。
FIG. 5 is a diagram illustrating a data storage state of a Roman character buffer according to the present embodiment.

【図6】本実施例における第1かなバッファ及び第2か
なバッファのデータ格納状態を示す図である。
FIG. 6 is a diagram illustrating a data storage state of a first kana buffer and a second kana buffer in the embodiment.

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

1 日本語入力装置 2f ローマ字変換切替キー(文字列候補切替手段) 3 ディスプレイ(表示手段) 4 プリンタ 10 CPU 11 ROM 11a かな漢字変換プログラムメモリ領域 11b 辞書領域 11c ローマ字変換プログラムメモリ領域 11d 切替制御プログラムメモリ領域(文字列記憶部
二重化手段) 12 RAM 12a 文書領域 12b 作業領域 12c ローマ字バッファ 12d 第1かなバッファ 12e 第2かなバッファ 12f 第1候補バッファ 12g 第2候補バッファ
1 Japanese input device 2f Roman character conversion switching key (character string candidate switching means) 3 Display (display means) 4 Printer 10 CPU 11 ROM 11a Kana-Kanji character conversion program memory area 11b Dictionary area 11c Roman character conversion program memory area 11d Switching control program memory area (Character string storage
Duplexing means) 12 RAM 12a Document area 12b Work area 12c Roman character buffer 12d First kana buffer 12e Second kana buffer 12f First candidate buffer 12g Second candidate buffer

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ローマ字等を入力する入力手段と、 前記入力手段により入力されたローマ字列をかな文字列
に変換するローマ字変換手段と、 前記ローマ字変換手段により変換されたかな文字列を漢
字かな混じり文字列に変換するために必要な単語の読み
と表記を含む情報を記憶した変換辞書部と、 前記ローマ字変換手段により変換されたかな文字列を前
記変換辞書部を用いて候補文字列に変換するかな漢字変
換手段と、 前記かな漢字変換手段によるかな漢字変換候補文字列を
表示する表示手段と、 前記ローマ字変換手段により変換されるかな文字列が一
意に決められないものであるとき、そのかな文字列に2
種類のかな文字列になり得ることを示す切替情報を付与
する切替情報付与手段と、 前記切替情報付与手段によりかな文字列に切替情報が付
与されたとき、かな文字列を記憶するかな文字列記憶部
を二重化すると共に、それらのかな文字列記憶部に2種
類のかな文字列候補を格納するかな文字列記憶部二重化
手段と、 前記かな文字列記憶部に記憶された2種類のかな文字列
候補の切り替えを指示するかな文字列候補切替手段と、 前記かな文字列候補切替手段によりかな文字列候補の切
り替えが指示された場合において、そのかな文字列候補
に切替情報が付与されているときは、前記表示手段に表
示されるかな文字列候補を切り替える表示切替手段と、 を備えたことを特徴とする日本語入力装置。
An input unit for inputting a Roman character or the like; a Roman character conversion unit for converting a Roman character string input by the input unit into a Kana character string; and a Kana character kana converted from the Kana character string converted by the Roman character conversion unit. A conversion dictionary unit storing information including readings and notations of words necessary for conversion to a character string; and converting a kana character string converted by the Roman character conversion unit into a candidate character string using the conversion dictionary unit. a kana-kanji conversion means, display means for displaying the kana-kanji conversion candidate character string by the kana-kanji conversion unit, when the do string or converted by Roman character conversion means is one that is not uniquely decided, 2 to the kana character string
Adds switching information indicating that it can be a type of kana character string
Switching information providing means, and the switching information providing means adds the switching information to the kana character string.
Kana character string storage unit that stores a kana character string when given
And two types in their kana character string storage
Duplicate kana character string storage for storing similar kana character string candidates
Means and two kinds of kana character strings stored in the kana character string storage unit
Kana character string candidate switching means for instructing candidate switching, and kana character string candidate switching by the kana character string candidate switching means.
When the replacement is instructed, the kana character string candidate
Is displayed on the display means when switching information is given to the
A display device for switching a kana character string candidate to be indicated .
JP5294128A 1993-10-29 1993-10-29 Japanese input device Expired - Fee Related JP3042284B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5294128A JP3042284B2 (en) 1993-10-29 1993-10-29 Japanese input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5294128A JP3042284B2 (en) 1993-10-29 1993-10-29 Japanese input device

Publications (2)

Publication Number Publication Date
JPH07129579A JPH07129579A (en) 1995-05-19
JP3042284B2 true JP3042284B2 (en) 2000-05-15

Family

ID=17803666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5294128A Expired - Fee Related JP3042284B2 (en) 1993-10-29 1993-10-29 Japanese input device

Country Status (1)

Country Link
JP (1) JP3042284B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3012525B2 (en) * 1996-07-18 2000-02-21 日本電気オフィスシステム株式会社 Character processing method and character processing device

Also Published As

Publication number Publication date
JPH07129579A (en) 1995-05-19

Similar Documents

Publication Publication Date Title
KR100344947B1 (en) Apparatus and method for inputting chinese characters
JPH02253369A (en) Electronic dictionary
JP3042284B2 (en) Japanese input device
JPS605318A (en) Input device of sentence composed of kana and kanji
JPS6362018B2 (en)
JPH081639B2 (en) Word processor
JPH0640325B2 (en) Writing device
JPS6263366A (en) Searching system for unwritten part in word processor
JPH0154744B2 (en)
JPS60238966A (en) Kana and kanji reverse conversion processing system
JP2761622B2 (en) Character converter
JPH0410164A (en) Character processing device
JPS58103029A (en) Sentence editing device
JPH0421901B2 (en)
JPH01220062A (en) Word processor
JPH08314913A (en) Kana (japanese sylalbary)/kanji (chinese syllabary) conversion device
JPH06314277A (en) Document preparing device
JP2000187659A (en) Method and device for converting kana/kanji and storage medium
JPS63257862A (en) Character processor
JPH05128094A (en) Method and device for automatic setting input mode
JP2543501C (en)
JPS62123558A (en) Kana-to-kanji converter
JPH024022A (en) Document preparing device
JPH07152736A (en) Method for converting plural calligraphic styles
JPS59146329A (en) Japanese language input device

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: 20000208

LAPS Cancellation because of no payment of annual fees