JPH0550008B2 - - Google Patents
Info
- Publication number
- JPH0550008B2 JPH0550008B2 JP58211922A JP21192283A JPH0550008B2 JP H0550008 B2 JPH0550008 B2 JP H0550008B2 JP 58211922 A JP58211922 A JP 58211922A JP 21192283 A JP21192283 A JP 21192283A JP H0550008 B2 JPH0550008 B2 JP H0550008B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- input
- character pattern
- string
- conversion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
Description
【発明の詳細な説明】
〔分野〕
本発明は、複数のシフトモードで入力可能な文
字処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field] The present invention relates to a character processing device capable of inputting in a plurality of shift modes.
従来複数のシフトモードで入力できる文字処理
装置、例えば平仮名と片仮名を入力する事のでき
る文字処理装置においては、平仮名と片仮名と同
じ読みの文字に対して同一のキーでもつて併用す
るが為に、平仮名又は、仮名仮名を入力するに際
しては、平仮名又は片仮名文字種に変更する為の
シフトキーを予め操作しておかなければならなか
つた。その結果、平仮名と片仮名の入り混じつた
文書を作成する際に、頻繁に前記シフトキーを操
作せねばならない上に、シフトキーの操作を忘れ
たり、誤つた際には、再び正しい文字種でもつて
入力し直さなければならないという欠点があつ
た。
Conventionally, in character processing devices that can input in multiple shift modes, for example, in character processing devices that can input hiragana and katakana, the same key is used for characters with the same reading as hiragana and katakana. When entering hiragana or kana-kana, it is necessary to operate the shift key in advance to change the character type to hiragana or katakana. As a result, when creating a document containing a mixture of hiragana and katakana, you have to use the shift key frequently, and if you forget to use the shift key or make a mistake, you have to re-enter the correct character type. There was a drawback that it had to be done.
本発明の目的は、複数のシフトモードで入力さ
れた文字情報のうち、指示した文字について、シ
フモードを変換することができる文字処理装置を
提供することである。又、本発明の他の目的は、
シフトモードを誤つたまま入力された文字の修正
時、一定のソフトモードで文字列を入力した後、
必要の文字についてシフトモードを変換する時等
の操作者の労力を軽減することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character processing device that can convert shift modes for designated characters among character information input in a plurality of shift modes. In addition, another object of the present invention is to
When correcting characters entered with the wrong shift mode, after entering a string in a certain soft mode,
The purpose is to reduce the labor of the operator when converting the shift mode for necessary characters.
以下、本発明の一実施例を図面を参照して、説
明する。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings.
先ず本発明の概念を第1図に示す。例えばシフ
トモードとして平仮名、片仮名がある場合を考え
ると、文字入力手段により入力された文字列に対
して位置を指示するカーソル等の位置指示手段に
より指示された文字を平仮名、あるいは片仮名に
変換するものである。 First, the concept of the present invention is shown in FIG. For example, if we consider the case where there are hiragana and katakana as shift modes, it is a system that converts characters specified by a position indicating means such as a cursor that indicates the position of a character string input by a character input means into hiragana or katakana. It is.
本発明の一実施例の構成を示すブロツク図であ
る。KBはキーボードで、文字列、記号、数字、
及び、カーソル移動情報、シフトモード変換情報
等を入力する。CPUは中央処理装置で各種の演
算、判断、制御等を行う。ROMはリードオンリ
メモリで、第5図、第6図a、第6図bのフロー
チヤートに示す制御手順のプログラム、その他の
制御プログラムが記憶されている。RAMはラン
ダムアクセスメモリである。そのうちCBUFは文
字バツフアでキーボードKBから入力された文字
情報が記憶される。又、CREGはカーソルレジス
タで、カーソルを連動して文字バツフアCBUF内
のアドレスを示し、後述するカーソル移動キーな
どによつて値が変更される。CGはキヤラクタジ
エネレータで、各文字、記号等のコードに対応す
るフオントを格納している。DPは表示器で、入
力された文字、カーソル等を可視的に表示する。
DPCは表示器コントローラで、表示器DP制御を
行う。BLはバスラインで、上記の各デバイスを
接続し、情報の伝達を行う。第3図は、キーボー
ドKBのキートツプの概略図である。このうち
KB7は、仮名記号キー群で、文字の他「、」「。」
等の記号を入力する為のキー群である。KB1及
びKB2はカーソル移動キーで、KB1は左へ、
KB2は右へ移動させる。KB3,KB4は、シフ
トモード変換キーで、KB3は平仮名に、KB4
は片仮名に変換する。詳細は後述する。KB5,
KB6は、シフトモード指定キーで、KB5はシ
フトモードを平仮名に、KB6はシフトモードを
片仮名に、各々指定する。文字を入力する場合
は、まずシフトモードを指定キー、KB5、又は
KB6でシフトモードを指定した後、仮名、記号
キーのキーを押す。 FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. KB is a keyboard that can be used to write strings, symbols, numbers,
Then, cursor movement information, shift mode conversion information, etc. are input. The CPU is a central processing unit that performs various calculations, judgments, and controls. The ROM is a read-only memory, and stores programs for control procedures shown in the flowcharts of FIGS. 5, 6a, and 6b, as well as other control programs. RAM is random access memory. Among them, CBUF is a character buffer that stores character information entered from the keyboard KB. Further, CREG is a cursor register, which indicates an address in the character buffer CBUF by interlocking the cursor, and whose value is changed by using the cursor movement keys described later. CG is a character generator that stores fonts that correspond to codes for each character, symbol, etc. DP is a display device that visually displays input characters, cursor, etc.
DPC is a display controller and performs display DP control. BL is a bus line that connects each of the above devices and transmits information. FIG. 3 is a schematic diagram of the key tops of the keyboard KB. this house
KB7 is a group of kana symbol keys, in addition to letters "," and "."
This is a group of keys for inputting symbols such as. KB1 and KB2 are cursor movement keys, KB1 is to the left,
Move KB2 to the right. KB3 and KB4 are shift mode conversion keys, KB3 to hiragana, KB4
is converted to katakana. Details will be described later. KB5,
KB6 is a shift mode designation key; KB5 designates the shift mode to hiragana, and KB6 designates the shift mode to katakana. When entering characters, first select the shift mode using the specified key, KB5, or
After specifying the shift mode in KB6, press the kana and symbol keys.
以上の構成の下で本発明一実施例の動作の説明
を、第4図の表示例、第5図、第6図a、第6図
bのフローチヤート及び第7図の文字コード対応
図を参照しながら説明する。 The operation of one embodiment of the present invention under the above configuration will be explained with reference to the display example in FIG. 4, the flowcharts in FIGS. 5, 6a, and 6b, and the character code correspondence diagram in FIG. I will explain while referring to it.
本発明文字処理装置は電源投入時、第5図のス
テツプS1でキー入力待ちの状態を保つ。そこで
何らかのキーが入力されたならば、ステツプS2
でそのキーの判別を行いステツプS3、ステツプ
S4、ステツプS5、ステツプS6、に分岐する。 When the character processing apparatus of the present invention is powered on, it remains in a state of waiting for key input in step S1 of FIG. If any key is input there, step S2
The key is determined in step S3 and step S3.
Branches to step S4, step S5, and step S6.
仮名・記号キーが押下されたときはステツプ
S3に進む。ステツプS3では入力された文字キー
のコードをランダムアクセスメモリRAM内の文
字バツフアCBUFのカーソルレジスタCREGで指
示されるアドレスに格納し、カーソルレジスタ
CREGを1加算する。その後、文字バツフア
CBUFとカーソルレジスタCREGの内容をキヤラ
クタジエネレータCG、表示器コントローラDPC
を介して表示器DPに表示する。カーソル移動キ
ーKB1又はKB2が押下されたときは、ステツ
プS4に進み、カーソルレジスタCREGの内容を減
算又は加算して、その後、表示器DPに表示する。 Step when kana/symbol key is pressed
Proceed to S3. In step S3, the code of the input character key is stored in the address specified by the cursor register CREG of the character buffer CBUF in the random access memory RAM, and the cursor register is
Add 1 to CREG. After that, the character
The contents of CBUF and cursor register CREG are transferred to character generator CG and display controller DPC.
Display on the display device DP via. When the cursor movement key KB1 or KB2 is pressed, the process advances to step S4, where the contents of the cursor register CREG are subtracted or added, and then displayed on the display DP.
平仮名変換キー、又は、片仮名変換キーが押下
されたときは各々、ステツプS5又はステツプS6
に進む。ステツプS5及び、ステツプS6の詳細な
フロチヤートを第6図a、第6図bに示す。ステ
ツプS5では、まずステツプS5・1でカーソル上
の文字が仮名であるか否か判別し仮名以外のとき
はステツプS5・3、へ仮名のときはステツプ
S5・2を経て、ステツプS5・3へ進む。ステツ
プS5・2は文字コードの先頭ビツトを0にする。 When the hiragana conversion key or katakana conversion key is pressed, step S5 or step S6 respectively.
Proceed to. Detailed flowcharts of step S5 and step S6 are shown in FIGS. 6a and 6b. In step S5, first, step S5.1 determines whether the character on the cursor is a kana or not, and if it is not a kana, the process goes to step S5.3.
After passing through S5.2, proceed to step S5.3. Step S5.2 sets the first bit of the character code to 0.
ここで文字コードについて説明する。第7図に
示したのは、文字コード対応表の例である。ここ
で文字コードは全て2進8ビツト構成であり、平
仮名は「あ」「い」「う」……の順に各々コード数
値が「00000001」から順次1つずつ増加する形式
になつている。他方、片仮名文字コードは対応す
る平仮名の文字のコードの最上位ビツトに1に立
てた形式を有しており、この最上位ビツトが1か
0かで平仮名と片仮名が明確に区別されている訳
である。 The character code will be explained here. What is shown in FIG. 7 is an example of a character code correspondence table. The character codes here are all binary 8-bits, and the hiragana characters are in the order of "a", "i", "u", etc., and the code value increases by one from "00000001". On the other hand, katakana character codes have a format in which the most significant bit of the corresponding hiragana character code is set to 1, and hiragana and katakana are clearly distinguished depending on whether this most significant bit is 1 or 0. It is.
以上のようなコード体系であるから、ステツプ
S5・2において平仮名に変換されたことになる。 Since the code system is as described above, the steps
It was converted to hiragana in S5.2.
その後ステツプS5・3においてカーソルレジ
スタCREGを1加算して、ステツプS5・4で表示
する。これでカーソル上の文字が仮名であつた場
合、それは平仮名コードになり、その平仮名が表
示され、カーソルは、1桁右へ移動する。 Thereafter, in step S5.3, 1 is added to the cursor register CREG, and the result is displayed in step S5.4. Now, if the character on the cursor is a kana, it becomes a hiragana code, the hiragana is displayed, and the cursor moves one digit to the right.
第6図bは平仮名変換の逆でステツプS6・2
において文字コードの先頭ビツトを1にする訳で
ある。 Figure 6b is the reverse of hiragana conversion, and step S6.2
This means that the first bit of the character code is set to 1.
例えば、上述した文字キー及びカーソル移動キ
ーを用いて、第4図aに示した如く「あめりかじ
ん」と入力し、かつカーソルを文頭に持つて来た
とする。ここで「あめりか」という言葉を片仮名
にしたい時、第3図のキーボードに片仮名変換キ
ーKB4を押下する。すると第5図フローチヤー
トにおいてステツプS6に分岐する。ステツプ
S6・1でカーソル上の文字「あ」は仮名である
と判別され、ステツプS6・2に進む。ステツプ
S6・2において、「あ」の文字コードの先頭ビツ
トに1を立てる事により「ア」の文字コードに変
換される訳である。かかる処理の後、ステツプ
S6・3に進み、カーソルレジスタCREGを1加算
してカーソルを1桁進めステツプS6・4で表示
を行う。その結果第4図bに示した如く「あ」が
「ア」になり、カーソルは、「め」の下に来る訳で
ある。かかる処理が終えたなら再し、ステツプ
S1に戻る。 For example, suppose that the character key and cursor movement key described above are used to input "Amerikajin" as shown in FIG. 4A, and the cursor is brought to the beginning of the sentence. If you want to convert the word "Amerika" into katakana, press the katakana conversion key KB4 on the keyboard shown in Figure 3. Then, the process branches to step S6 in the flowchart of FIG. step
At S6.1, the character "A" on the cursor is determined to be a kana, and the process proceeds to step S6.2. step
In S6.2, by setting 1 to the first bit of the character code of "a", it is converted to the character code of "a". After such processing, the step
Proceeding to S6.3, the cursor register CREG is incremented by 1 and the cursor is advanced by one digit and displayed in step S6.4. As a result, "a" becomes "a" as shown in FIG. 4b, and the cursor is placed under "me". After this process is completed, repeat the steps.
Return to S1.
他方、第4図cに示した如く「ジ」を「じ」に
変換したい時、第3図の平仮名変更キーKB3を
操作する事により、ステツプS5に進み、第6図
aに示したフローチヤートの通り処理がされ、第
4図bと同様の過程を経て、第4図aに示した如
く「ジ」が「じ」に変換されてカーソルが1つ歩
進する。 On the other hand, when you want to convert "ji" to "ji" as shown in Fig. 4c, by operating the hiragana change key KB3 in Fig. 3, proceed to step S5 and proceed to the flowchart shown in Fig. 6a. Through the same process as shown in FIG. 4b, "ji" is converted to "ji" and the cursor advances by one, as shown in FIG. 4a.
なお、上述した実施例中の表示器DPは、液晶
表示器、CRT等、可視的に表示するものならば、
何れでも構わない。又、文字コードは1文字につ
き2進8ビツトとしたが16ビツトでも本発明を損
なうことはない。さらに平仮名と片仮名のコード
上の違いを最上位ビツトのON、OFFに依るとし
たが、勿論他の形態の違いにしてもよい。
In addition, the display device DP in the above-mentioned embodiments may be a liquid crystal display, CRT, etc., as long as it displays visually.
It doesn't matter which one. Furthermore, although the character code is 8 binary bits per character, the present invention will not be impaired even if the character code is 16 bits. Furthermore, although the difference in the code between hiragana and katakana is based on the ON/OFF of the most significant bit, it is of course possible to make the difference in other formats.
又、本発明実施例では、シフトモードは、平仮
名、片仮名としたが、他に、アルフアベツトの大
文字、小文字、一つのキーに与えられた、例えば
キー7aのような「;」「『」等の記号についてで
も本発明は適用できることは明らかである。更
に、入力時にシフトモードを指定せず、所望のキ
ーが個別に存在し、シフトモード指定キーがない
場合でも、勿論本発明は適用できる。 In addition, in the embodiment of the present invention, the shift mode is hiragana and katakana, but in addition, uppercase and lowercase letters of the alphabet, and ``;'' and ``'' given to one key, such as key 7a, are also used as shift modes. It is clear that the present invention is also applicable to symbols. Furthermore, the present invention can of course be applied even when the shift mode is not designated at the time of input, the desired keys are individually present, and there is no shift mode designation key.
以上説明したように、本発明によれば、極めて
簡単な装置構成及び簡易な操作により、一旦ある
入力モードで入力され、表示された文字を、他の
入力モードの文字に変換することができるという
効果がある。
As explained above, according to the present invention, characters once input and displayed in one input mode can be converted into characters in another input mode with an extremely simple device configuration and simple operation. effective.
また、これにより、入力モードを誤つた場合の
文字の訂正が容易になり、更には、例えば、平仮
名と片仮名とが混在する文字列を入力する場合
に、文字列全部をどちらか一方の入力モードで入
力し、後から必要な部分だけを変換することが可
能となるので、入力操作の労力を削減し、入力時
間を短縮させるという効果がある。 This also makes it easier to correct characters if you make a mistake in the input mode. Furthermore, for example, when inputting a character string containing a mixture of hiragana and katakana, you can input the entire character string in one input mode. Since it is possible to input data using ``Click here'' and then convert only the necessary parts later, it has the effect of reducing input operation effort and input time.
第1図は、本発明の概念を示す図。第2図は、
本発明の一実施例の構成を示すブロツク図。第3
図は、キーボードのキートツプ概略図。第4図
は、表示例を示す図。第5図は、主制御のフロー
チヤート。第6図aは、平仮名変換処理のフロー
チヤート。第6図bは、片仮名変換処理のフロー
チヤート。第7図は、文字コード対応図。
CBUF……文字バツフア、CREG……カーソル
レジスタ、KB1……カーソル左移動キー、KB
2……カーソル右移動キー、KB3……平仮名変
換キー、KB4……片仮名変換キー。
FIG. 1 is a diagram showing the concept of the present invention. Figure 2 shows
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. Third
The figure is a schematic diagram of the key tops of the keyboard. FIG. 4 is a diagram showing a display example. Figure 5 is a flowchart of main control. FIG. 6a is a flowchart of hiragana conversion processing. FIG. 6b is a flowchart of katakana conversion processing. FIG. 7 is a character code correspondence diagram. CBUF...Character buffer, CREG...Cursor register, KB1...Cursor left movement key, KB
2... Cursor right movement key, KB3... Hiragana conversion key, KB4... Katakana conversion key.
Claims (1)
ードを選択する選択手段と、 該選択手段によつて選択された入力モードに基
づいて文字を入力する入力手段と、 前記入力手段によつて入力された文字列に対応
する文字コード列を記憶する記憶手段と、 前記第1及び第2の入力モードのそれぞれで前
記入力手段における同一の入力操作によつて入力
される文字の文字パターンのそれぞれを、所定ビ
ツト部分の値だけがそれぞれ相異なる第1の値と
第2の値とであり他の部分が同一である文字コー
ドのそれぞれと対応させるようにして、文字パタ
ーンを文字コードと対応させて記憶させた文字パ
ターン記憶手段と、 該文字パターン記憶手段を参照して、前記記憶
手段に記憶された文字コード列に対応する文字パ
ターン列を表示させる第1の表示制御手段と、 該第1の表示制御手段によつて表示された文字
パターン列中の所望の文字パターンを指定する指
定手段と、 前記第1の入力モードにおいて入力された文字
を第2の入力モードにおいて入力される文字に変
換することを指示する変換指示手段と、 前記指定手段により前記第1の入力モードにお
いて入力された文字の文字パターンが指定され、
前記変換指示手段の指示がなされたときに、該指
定された文字パターンに対応する前記記憶手段に
記憶された文字コードの前記所定ビツト部分の値
を前記第1の値から前記第2の値へ変換する変換
手段と、 前記文字パターン記憶手段を参照して、該変換
手段による変換で得られた文字コードに対応する
文字パターンを、前記指定された文字パターンに
代えて表示させる第2の表示制御手段とを有する
ことを特徴とする文字処理装置。 2 前記第2の表示制御手段によつて、前記指定
された文字パターンに代えて文字パターンを表示
させるとともに、当該指定された文字パターンに
隣接する次の文字パターンを前記指定手段が指定
するように制御する制御手段を有し、前記変換指
示手段による順次変換指示により、前記第1の入
力モードにおいて入力された文字列の文字パター
ン列に代えて、前記第2の入力モードにおいて同
一の入力操作で入力される文字列に対応する文字
パターン列を順次表示させることを特徴とする特
許請求の範囲第1項記載の文字処理装置。[Scope of Claims] 1. Selection means for selecting one input mode from the first and second input modes; Input means for inputting characters based on the input mode selected by the selection means; a storage means for storing a character code string corresponding to a character string input by the input means; and a character code string inputted by the same input operation on the input means in each of the first and second input modes. The character patterns are made to correspond to character codes in which the first value and the second value are different only in the value of a predetermined bit part, and the other parts are the same. a character pattern storage means stored in correspondence with a character code; and a first display control means that refers to the character pattern storage means to display a character pattern string corresponding to the character code string stored in the storage means. and specifying means for specifying a desired character pattern in the character pattern string displayed by the first display control means, and inputting the characters input in the first input mode in a second input mode. a conversion instruction means for instructing conversion into a character that is input in the first input mode;
When the conversion instruction means is instructed, the value of the predetermined bit portion of the character code stored in the storage means corresponding to the specified character pattern is changed from the first value to the second value. a second display control that refers to the character pattern storage means and displays a character pattern corresponding to the character code obtained by conversion by the conversion means in place of the designated character pattern; A character processing device comprising: means. 2. The second display control means displays a character pattern in place of the designated character pattern, and the designation means designates the next character pattern adjacent to the designated character pattern. and a control means for controlling, in response to sequential conversion instructions by the conversion instruction means, in place of the character pattern string of the character string input in the first input mode, the same input operation is performed in the second input mode. 2. The character processing device according to claim 1, wherein character pattern strings corresponding to input character strings are sequentially displayed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58211922A JPS60105030A (en) | 1983-11-11 | 1983-11-11 | Character processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58211922A JPS60105030A (en) | 1983-11-11 | 1983-11-11 | Character processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60105030A JPS60105030A (en) | 1985-06-10 |
| JPH0550008B2 true JPH0550008B2 (en) | 1993-07-27 |
Family
ID=16613886
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58211922A Granted JPS60105030A (en) | 1983-11-11 | 1983-11-11 | Character processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60105030A (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5818735A (en) * | 1981-07-27 | 1983-02-03 | Matsushita Electric Ind Co Ltd | character input device |
| JPS5822442A (en) * | 1981-08-03 | 1983-02-09 | Ricoh Co Ltd | Word processor special symbol output method |
| JPS5896332A (en) * | 1981-12-03 | 1983-06-08 | Fujitsu Ltd | Character input system |
-
1983
- 1983-11-11 JP JP58211922A patent/JPS60105030A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60105030A (en) | 1985-06-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0117185B2 (en) | ||
| JPH0550008B2 (en) | ||
| JPH0437951A (en) | document processing device | |
| JPS61250768A (en) | Device for updating conversion dictionary | |
| JPH045224B2 (en) | ||
| JPH0560628B2 (en) | ||
| JPS5948413B2 (en) | character processing device | |
| JPS6236252B2 (en) | ||
| JP2543501B2 (en) | Word processor | |
| JPS59142630A (en) | character processing device | |
| JPH0445875B2 (en) | ||
| JPS61173375A (en) | Word processor | |
| JPH0343633B2 (en) | ||
| JP2944666B2 (en) | Character processor | |
| JP2509554B2 (en) | Character processing method | |
| JPS59165124A (en) | Japanese language word processor | |
| JPH0366699B2 (en) | ||
| JPH0256670A (en) | document processing device | |
| JPS60245074A (en) | Automatic agate display system | |
| JPH0332824B2 (en) | ||
| JPS6265162A (en) | Kana-kanji conversion method and device | |
| JPS6341923A (en) | Method of changing kind of character in keyboard inputting | |
| JPS63121967A (en) | Japanese word processor | |
| JPH0479023B2 (en) | ||
| JPH0619882A (en) | Method and device for processing character |