JPS60105030A - Character processor - Google Patents

Character processor

Info

Publication number
JPS60105030A
JPS60105030A JP58211922A JP21192283A JPS60105030A JP S60105030 A JPS60105030 A JP S60105030A JP 58211922 A JP58211922 A JP 58211922A JP 21192283 A JP21192283 A JP 21192283A JP S60105030 A JPS60105030 A JP S60105030A
Authority
JP
Japan
Prior art keywords
character
katakana
cursor
shift mode
hiragana
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58211922A
Other languages
Japanese (ja)
Other versions
JPH0550008B2 (en
Inventor
Kazunobu Sugitani
和宣 杉谷
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58211922A priority Critical patent/JPS60105030A/en
Publication of JPS60105030A publication Critical patent/JPS60105030A/en
Publication of JPH0550008B2 publication Critical patent/JPH0550008B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To reduce the labor of an operator when a shift mode is changed for desired characters by attaining the conversion of the shift mode for an indicated character among the character information fed in a shift mode. CONSTITUTION:When a HIRAGANA (cursive form of Japanese syllabary) or KATAKANA (square form of Japanese syllabary) conversion key is pushed on a keyboard KB, it is decided whether the character on a cursor is a KANA charactor or not. The head bit of a character code is set at 0 in a HIRAGANA conversion mode and then at 1 in a KATAKANA conversion mode respectively. The codes of using characters all consist of binary 8 bits, and the least significant bit is increased successively from 1 for both HIRAGANA and KATAKANA. For a KATAKANA character code, 1 is set at the most significant bit of the code of the corresponding HIRAGANA. Therefore it is possible to discriminate the HIRAGANA from the KATAKANA according to 1 or 0 of the most significant bit. Then a cursor register CREG receives +1 and the cursor is advanced by a digit for display at a display device DP.

Description

【発明の詳細な説明】 〔分野〕本発明は、複数のシフトモードで入力可能な文
字処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field] The present invention relates to a character processing device capable of inputting data in a plurality of shift modes.

〔従来技術〕従来複数のシフトモードで入力できる文字
処理装置、例えば平板名と片仮名を入力する事のできる
文字処理装置においては、平板名と片仮名とは同じ読み
の文字に対して同一のキーでもって併用するが為に、平
板名又は、片仮名を入力するに際しては、平板名又は片
仮名文字種に変更する為のシフトキーを予め操作してお
かなければならなかった。その結果、平板名と片仮名の
入り混じった文書を作成する際に、頻繁に前記シフトキ
ーを操作せねばならない上に、シフトキーの操作を忘れ
たり、誤った際には、再び正しい文字J11iてもって
入力し直さなければならないという欠点があった。
[Prior Art] Conventionally, in character processing devices that can input in multiple shift modes, for example, character processing devices that can input flat names and katakana, the same key is used for characters with the same reading for flat names and katakana. Therefore, when inputting a plain name or katakana, it was necessary to operate the shift key in advance to change to the plain name or katakana character type. As a result, when creating a document containing a mixture of plain name and katakana, it is necessary to operate the shift key frequently, and if you forget to operate the shift key or make a mistake, input it again using the correct character J11i. The drawback was that it had to be redone.

〔目的〕本発明の目的は、複数のシフトモードで入力さ
れた文字情報のうち、指示した文字について、シフトモ
ードを変換することができる文字処理装置を提供するこ
とである。又、本発明の他の目的は、シフトモードを誤
ったまま入力された文字の修正時、一定のシフトモード
で文字列を入力した後、必要な文字についてシフトモー
ドを変換する時等の操作基の労力を軽減することである
[Object] An object of the present invention is to provide a character processing device that can convert the shift mode of a specified character among character information input in a plurality of shift modes. Another object of the present invention is to provide an operating base for correcting characters input with an incorrect shift mode, or for converting the shift mode for necessary characters after inputting a character string in a fixed shift mode. The goal is to reduce the labor involved.

〔説明〕以下、本発明の一実施例を図面を参照して、説
明する。
[Explanation] An embodiment of the present invention will be described below with reference to the drawings.

先ず本発明の概念を第1図に示す。例えばシ2トモード
として平板名、片仮名がある場合を考えると、文字入力
手段により入力された文字列に対して位置を指示するカ
ーソル等の位置指示手段により指示された文字を平板名
、あるいは片仮名に変換するものである。
First, the concept of the present invention is shown in FIG. For example, if we consider a case where there is a plain name or katakana as a sheet mode, the character specified by a position indicating means such as a cursor that indicates the position with respect to a character string input by a character input means is converted into a plain name or katakana. It is something that converts.

本発明の一実施例の構成を示すブロック図である。KB
はキーボードで、又字列、記号、数字、及び、カーソル
移動情報、シフトモード変換情報等を入力する。CPU
は中央処理装置で各種の演算、判断、制御等を行う。R
OMはリードオンリメモリで、第5図、第6図(a)、
第6図(b)のフローチャー1・に示す制御子11「(
のプログラム、その他の制御プログラムが記憶されてい
る。RAMはランダムアクセスメモリである。そのうち
CBUFは文字バ・ンファでキーボードKBから入力さ
れた文字情報が記憶される。又、CREGはカーソルレ
ジスタで、カーソルを連動して文字バッファCBUF内
のアドレスを示し、後述するカーソル移動キーなどによ
って個が更新される。CGはキャラクタジェネレータで
、各文字、記号等のコードに対応するフォントを格納し
ている。DPは表示器で、入力された文字、カーソル等
を可視的に表示する。DPCは表示器コントローラで、
表示器DP副制御行う。BLはパスラインで、上記の各
デバイスを接続し、情報の伝達を行う。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. KB
Use the keyboard to input character strings, symbols, numbers, cursor movement information, shift mode conversion information, etc. CPU
The central processing unit performs various calculations, judgments, controls, etc. R
OM is a read-only memory, as shown in Figures 5 and 6 (a).
The controller 11 "(
program and other control programs are stored. RAM is random access memory. Of these, CBUF is a character buffer in which character information input from the keyboard KB is stored. Further, CREG is a cursor register, which indicates an address in the character buffer CBUF by interlocking the cursor, and the address is updated using a cursor movement key, which will be described later. CG is a character generator that stores fonts corresponding to codes for each character, symbol, etc. The DP is a display device that visually displays input characters, a cursor, and the like. DPC is a display controller.
Performs display DP sub-control. BL is a pass line that connects each of the above devices and transmits information.

第3図は、キーホードKBのキートップの概略図である
。このうちK B、 7は、仮名記号キ一群で、文字の
他「、j 「。」等の記号を入力する為のキ一群である
。KBI及びKB2はカーソル移動キーで、KBIは左
へ、KB2は右へ移動させる。
FIG. 3 is a schematic diagram of the key tops of the keyboard KB. Among these, KB, 7 is a group of kana symbol keys, which is a group of keys for inputting symbols such as ``, j ``.'' in addition to characters. KBI and KB2 are cursor movement keys; KBI moves the cursor to the left and KB2 moves the cursor to the right.

KB3、KB4は、シフトモード変換キーで、KB3は
平板名に、KB4は片仮名に変換する。詳細は後述する
。KB5、KB6は、シフトモード指定キーで、K’B
5はシフトモードを平板名に、KB6はシフトモードを
片仮名に、各々指定する。文字を入力する場合は、まず
シフトモード指定キー、KB5、又はKB6でシフトモ
ードを指定した後、仮名、記号キーのキーを押す。
KB3 and KB4 are shift mode conversion keys; KB3 converts to plain name, and KB4 converts to katakana. Details will be described later. KB5 and KB6 are shift mode specification keys, and K'B
5 specifies the shift mode as a plain name, and KB6 specifies the shift mode as katakana. To input characters, first specify the shift mode using the shift mode designation key KB5 or KB6, and then press the kana or symbol key.

以上の構成の下での本発明一実施例の動作の説明を、第
4図の表示例、第5図、第6図(a)、第6図(b)の
フローチャート及び第7図の文字コード対応図を参照し
ながら説明する。
The operation of the embodiment of the present invention under the above configuration will be explained by the display example shown in FIG. 4, the flowcharts shown in FIGS. This will be explained with reference to a code correspondence diagram.

本発明文字処理装置は電源投入時、第5図のステップS
1でキー人力待ちの状jEを保つ。そこで何らかのキー
が入力されたからば、ステップS2でそのキーの判別を
行いステップS3、ステップS4、ステップS5、ステ
ップS6、に分岐する。
When the character processing device of the present invention is powered on, step S in FIG.
1 to maintain the state of waiting for key personnel. If any key is input, the key is determined in step S2, and the process branches to step S3, step S4, step S5, and step S6.

仮名・記号キーが押下されたときはステップS3に進む
。ステップS3では入力された文字キーのコードをラン
タムアクセスメモリRAM内の文字/<ッファCBUF
のカーソルレジスタCREGで指示されるアドレスに格
納し、カーソルレジスタCREGを1加算する。その後
、文字バッファCBUFとカーソルレジスタCREGの
内容をキャラクタジェネレータCG、表示器コントロー
ラDPCを介して表示器DPに表示する。 カーソル移
動キーKBI又はKB2が押下されたときは、ステップ
S4に進み、カーソルレジスタCREGの内容を減算又
は加算して、その後、表示器DPに表示する。
When the kana/symbol key is pressed, the process advances to step S3. In step S3, the code of the input character key is stored in the random access memory RAM as the character /<ffa CBUF.
, and adds 1 to the cursor register CREG. Thereafter, the contents of the character buffer CBUF and cursor register CREG are displayed on the display DP via the character generator CG and the display controller DPC. When the cursor movement key KBI or KB2 is pressed, the process proceeds 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でカーソル上の文字が仮名である
か否か判別し仮名以外のときはステップ55−3、へ仮
名のときはステップS5・2を経て、ステップS5・3
へ進む。ステップS5・2は文字コードの先頭ビットを
Oにする。
When the hiragana conversion key or the katakana conversion key is pressed, the process proceeds to step S5 or step S6, respectively. Detailed flowcharts of step S5 and step S6 are shown in FIGS. 6(a) and 6(b). In step S5,
First, in step S5.1, it is determined whether or not the character on the cursor is a kana.
Proceed to. Step S5.2 sets the first bit of the character code to O.

ここで文字コードについて説明する。第7図に示したの
は、文字コード対応表の例である。ここで文字コードは
全て2進8ビツト構成であり、平板名は「あ」 「い」
 「う」・・・・・・の順に各々コード数値がrooo
oooolJから順次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 plain names are "A" and "I".
"U"......The code number is rooo
The format is such that the number is increased one by one starting from oooolJ. On the other hand, the katakana character code has a format in which the most significant bit of the code of the corresponding flat name character is set to 1,
Plain names and katakana are clearly distinguished depending on whether this most significant bit is 1 or 0.

以上のようなコード体系であるから、ステップ5502
において平板名に変換されたことになる。
Since the code system is as described above, step 5502
This means that it was converted to a flat name in .

その後ステップs5・3においてカーソルレジ7!、夕
CREGをl /III算シテ、ステップ55−4で表
示する。これでカーソル上の文字が仮名であった場合、
それは平板名コードになり、その平板名が表示され、カ
ーソルは、1桁右へ移動する。
After that, in step s5.3, cursor register 7! , CREG is calculated and displayed in step 55-4. Now, if the character on the cursor is a kana,
It becomes the plate name code, the plate name is displayed, and the cursor moves one digit to the right.

第6図(b)は平仮名変換の逆でステップS6・2にお
いて文字コードの先頭ビットを1にする訳である。
FIG. 6(b) is the reverse of hiragana conversion, in which the first bit of the character code is set to 1 in step S6.2.

例えば、上述した文字キー及びカーソル移動キーを用い
て、第4図(a)に示した如く「あめりかじん」と入力
し、かつカーソルを文頭に持って来たとする。ここで「
あめりか」という言葉を片仮名にしたい時、第3図のキ
ーボードに片仮名変換キーKB4を押下する。するとm
 5 bフローチャートにおいてステップS6に分岐す
る。ステ・ンプS6・lでカーソル上の文字「あ」は仮
名であると判別され、ステップS6・2に進む。ステラ
7”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. 4(a), and the cursor is brought to the beginning of the sentence. here"
When you want to convert the word "Amerika" into katakana, press the katakana conversion key KB4 on the keyboard shown in Figure 3. Then m
5b The flowchart branches to step S6. At step S6.1, the character "A" on the cursor is determined to be a kana, and the process advances to step S6.2. In Stella 7"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 this processing, the process proceeds to step S6.3, where the cursor register CREG is added by 1 and the cursor is set to 1.
Display is performed in advance step S6.4. As a result, "a" becomes "a" as shown in FIG. 4(b), and the cursor is placed under "me". Once this process is completed, the process returns to step S1.

他方、第4図(c)に示した如く「ジjを「じ」に変換
したい時、第3図の平板名変更キーKB3を操作する事
により、ステップS5に進み、第6図(a)に示したフ
ローチャートの通り処理がされ、第4図(b)と同様の
過程を経て、第4図(a)に示した如く「シ」が「じ」
に変換されてカーソルが1つ歩進する。
On the other hand, when you want to convert "ji j" to "ji" as shown in FIG. 4(c), by operating the plate name change key KB3 in FIG. The process is carried out as shown in the flowchart shown in Figure 4(b), and "shi" is changed to "ji" as shown in Figure 4(a).
, and the cursor advances by one.

〔他の実施例〕なお、上述した実施例中の表示器DPは
、液晶表示器、CRT等、可視的に表示するものならば
、何れでも構わない。又、文字コードは1文字につき2
進8ピツI・としたが16ビツトでも本発明を損なうこ
とはない。さらに平板名と片仮名のコード上の違いを最
上位ビ・ントのON、OFFに依るとしたが、勿論他の
形態の違いにしてもよい。
[Other Embodiments] Note that the display device DP in the above-described embodiments may be any device that visually displays, such as a liquid crystal display or a CRT. Also, the character code is 2 for each character.
Although the system is set to 8 bits, the present invention will not be impaired even if it is set to 16 bits. Furthermore, although the difference in the code between the flat name and the katakana is based on the ON/OFF of the top bit, it is of course possible to make the difference in other formats.

又、本発明実施例では、シフトモードは、平板名、片仮
名としたが、他に、アルファベットの大文字、小文字、
一つのキーに与えられた、例えば+−7aのような「;
J 「「j等の記号についてでも本発明は適用できるこ
とは明らかである。更に、入力時にシフトモードを指定
せず、所望のキーが個別に存在し、シフトモード指定キ
ーがない場合でも、勿論本発明は適用できる。
In addition, in the embodiment of the present invention, the shift mode is set to plain name and katakana, but in addition, uppercase letters, lowercase letters, and
A key given to one key, such as +-7a;
It is clear that the present invention can be applied to symbols such as "j".Furthermore, even if the shift mode is not specified at the time of input, the desired key exists individually, and there is no shift mode specifying key, of course the present invention can be applied to symbols such as "j". The invention is applicable.

〔効果〕 以上の説明から明らかな様に本発明によれば
、平板名、片仮名混じりの文字列を入力するに当たって
シフトモードをその都度切り替える必要がなく、また更
に一旦入力してしまった文字についても後から逐次に別
のシフトモードの文字に変更出来、これは文字のみに限
定されず、一つのキーに複数の記号が与えられた場合に
も効果を発する。
[Effects] As is clear from the above explanation, according to the present invention, there is no need to change the shift mode each time when inputting a character string containing a combination of flat name and katakana, and furthermore, it is not necessary to change the shift mode each time the character string that has been input is changed. Later on, you can sequentially change to a different shift mode character, and this effect is not limited to only characters, but also applies when multiple symbols are given to one key.

又、本発明によると操作者の労力の軽減、入力時間の短
縮等の効果がある。 更に、シフトモード指定キーのな
いフルキーボードで入力した文字についても、一定の場
所にあるキーを操作するだけで、シフトモードの違う文
字に変更できるという効果がある。
Further, according to the present invention, there are effects such as reducing the labor of the operator and shortening the input time. Furthermore, characters input using a full keyboard without a shift mode designation key can be changed to characters with a different shift mode by simply operating a key at a fixed location.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の概念を示す図。 第2図は、本発明の一実施例の構成を示すブロック図。 第3図は、キーボードのキートップ概略図。 第4図は、表示例を示す図。 第5図は、主制御のフローチャート。 第6図(a)は、平仮名変換処理のフローチャート。 第6図(b)は、片仮名変換処理のフローチャート。 第7図は、文字コード対応図。 CB U F 100文字バッファ、CREG・・・カ
ーソルレジスタ、KBI・・・カーソル左移動キー、K
H2・・・カーソル右移動キー、KH2・・・平仮名変
換キー、KH4・・・片仮名変換キー。
FIG. 1 is a diagram showing the concept of the present invention. FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 3 is a schematic diagram of the key tops of the keyboard. FIG. 4 is a diagram showing a display example. FIG. 5 is a flowchart of main control. FIG. 6(a) is a flowchart of hiragana conversion processing. FIG. 6(b) is a flowchart of katakana conversion processing. FIG. 7 is a character code correspondence diagram. CB U F 100 character buffer, CREG...Cursor register, KBI...Cursor left movement key, K
H2...Cursor right movement key, KH2...Hiragana conversion key, KH4...Katakana conversion key.

Claims (1)

【特許請求の範囲】[Claims] 複数のシフトモードの文字情報を入力する入力手段と、
前記入力手段により入力された文字情報を格納するメモ
リと、前記メモリに格納された文字情報に対して位置を
指示する位置指示手段を有し、前記位置指示手段により
指示された文字に対して、該文字のシフトモード以外の
、他のシフトモードの文字に変換する手段を有すること
を特徴とする文字処理装置。
an input means for inputting character information of multiple shift modes;
A memory for storing character information inputted by the input means, and a position indicating means for indicating a position with respect to the character information stored in the memory, and with respect to the character specified by the position specifying means, A character processing device comprising means for converting the character into a character in a shift mode other than the shift mode of the character.
JP58211922A 1983-11-11 1983-11-11 Character processor Granted JPS60105030A (en)

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 true JPS60105030A (en) 1985-06-10
JPH0550008B2 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)

Citations (3)

* Cited by examiner, † Cited by third party
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 Special symbol output system of word processor
JPS5896332A (en) * 1981-12-03 1983-06-08 Fujitsu Ltd Character input system

Patent Citations (3)

* Cited by examiner, † Cited by third party
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 Special symbol output system of word processor
JPS5896332A (en) * 1981-12-03 1983-06-08 Fujitsu Ltd Character input system

Also Published As

Publication number Publication date
JPH0550008B2 (en) 1993-07-27

Similar Documents

Publication Publication Date Title
JPH0348545B2 (en)
JPS60105030A (en) Character processor
JPS61250768A (en) Device for updating conversion dictionary
JP2841555B2 (en) Data input device
JPS6346566A (en) Character processor
JPH1158U (en) Document input device
JPS63121967A (en) Japanese word processor
JPS6194173A (en) Japanese language input device
JPS60245074A (en) Automatic agate display system
JPS5958531A (en) Japanese syllabary inputting method
JPH01213747A (en) Keyboard input device
JPS61156193A (en) Electronic appliance
JPS6327967A (en) Documentation device
JPH02291059A (en) Japanese language processor
JPS60157660A (en) Character processing device
JPS63257862A (en) Character processor
JPH04133165A (en) Kana/kanji converter
JPH0366699B2 (en)
JPH09319738A (en) Conversion candidate display method and device for read input character string
JPH03206551A (en) Method and device for display of conversion candidate of read input character string
JPS6272056A (en) Japanese language information processing system
JPH04128966A (en) Document processor
JPH03206550A (en) Method and device for display of conversion candidate of read input character string
JPS59146329A (en) Japanese language input device
JPS62266662A (en) Kana/kanji converting device