JPS60157660A - Character processing device - Google Patents

Character processing device

Info

Publication number
JPS60157660A
JPS60157660A JP59013100A JP1310084A JPS60157660A JP S60157660 A JPS60157660 A JP S60157660A JP 59013100 A JP59013100 A JP 59013100A JP 1310084 A JP1310084 A JP 1310084A JP S60157660 A JPS60157660 A JP S60157660A
Authority
JP
Japan
Prior art keywords
character
key
katakana
hiragana
register
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.)
Pending
Application number
JP59013100A
Other languages
Japanese (ja)
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 JP59013100A priority Critical patent/JPS60157660A/en
Publication of JPS60157660A publication Critical patent/JPS60157660A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/53Processing of non-Latin text

Abstract

PURPOSE:To convert HIRAGANA (round form of Japanese syllabary) and KATAKANA (square form of Japanese syllabary) which have been inputted already, to KATAKANA and HIRAGANA, respectively, by providing a means for converting a character within a range indicated by an indicating means, to a character of other shift mode. CONSTITUTION:In case one key of a KANA (Japanese syllabary) and symbol key group CK is operated, a code of an inputted character key is stored in an address displayed on a cursor register CREG of a character buffer CBUT, and also ''1'' is added to the register CREG. Therefore, the contents of the buffer CBUF and the register CREG are displayed on an indicators DIS through a display controller DISC. When a range initial key AB is depressed, the contents of the register CREG are transferred to a range register HREG. When a KATAKANA converting key CC or a HIRAGANA converting key HC is depressed, a designated character is converted to KATAKANA or HIRAGANA.

Description

【発明の詳細な説明】 (分 野) 本発明は、文書等の作成を行う文字処理装置に関する。[Detailed description of the invention] (branch) The present invention relates to a character processing device for creating documents and the like.

装置において、平板名と片仮名は同じ読みの文字に対し
て、同一のキーを併用するために、入力するに際しては
予め必要な文字81(シフトモード)に切替えておかな
ければならなかった。その結果、平板名と片仮名の入り
混った文書を作成するに際して、頻繁にシフトキーを操
作せねばならない上に、その操作を誤った場合は、再び
正しい文字種でもって入力し直さなければならないとい
う欠点があった。
In the device, since the same key is used for characters with the same pronunciation as plain name and katakana, it is necessary to switch to the required character 81 (shift mode) in advance when inputting. As a result, when creating a document containing a combination of plain name and katakana, the user must frequently press the shift key, and if the user makes a mistake, the user must input the correct character type again. was there.

(目 的) 本発明の目的は、上述の欠点に鑑みて、既に入力しであ
る平板名を片仮名に、或いは片仮名を平板名に変換する
ことのできる文字処理装置を提供することである。又本
発明の目的は、変換すべき文字の範囲を指定して複数の
文字を一度に変換する文字処理装置を提供することであ
る。
(Objective) In view of the above-mentioned drawbacks, it is an object of the present invention to provide a character processing device that can convert an already input plain name into katakana, or convert katakana into a plain name. Another object of the present invention is to provide a character processing device that converts a plurality of characters at once by specifying a range of characters to be converted.

(説 明) 以下、本発明の実施例を図面を参照して、説明する。(explanation) Embodiments of the present invention will be described below with reference to the drawings.

本発明の構成を第1図のブロック図に示す一山はキーボ
ードで文字の入力、制御信号その他の入力端を成す。C
PUは中央処理装置で、各棺論理演算、判断、その他の
制御等を行う装置である。
The structure of the present invention is shown in the block diagram of FIG. 1. The keyboard is a keyboard which serves as an input terminal for inputting characters, control signals, and the like. C
PU is a central processing unit that performs various logical operations, judgments, and other controls.

ROMはリードオンリメモリで、制御プログラム等が記
憶されている。CBUPは文字バッファで人力された文
字コードを記憶する。HREGは、範囲始端レジスタで
、文字バッファCBUF内で、文字種変換の対象となる
先頭文字のアドレスを記憶する。CPLEGはカーソル
レジスタでカーソルの位置を示す値が記憶される。DI
SCは表示コントローラで表示器DISを制御する。D
I8は表示器で、入力された文字等を可視的に表示する
ものである。CGはキャラクタジェネレータで、文字コ
ードに対応する文字パターンが記憶されている。BLは
パスラインで、上述の各装置を結んで信号の伝送を行う
The ROM is a read-only memory in which control programs and the like are stored. CBUP stores manually entered character codes in a character buffer. HREG is a range start register and stores the address of the first character to be converted into a character type in the character buffer CBUF. CPLEG is a cursor register in which a value indicating the cursor position is stored. D.I.
SC is a display controller that controls the display device DIS. D
I8 is a display device that visually displays input characters, etc. CG is a character generator that stores character patterns corresponding to character codes. BL is a pass line that connects each of the above-mentioned devices to transmit signals.

キーボードKBの外観図を第2図に示す。CKは仮名・
記号キ一群で、平仮名・片仮名の他「、」・「。」等の
記号を入力する為のキ一群である。CLはカーソル左移
動キー、CRはカーソル右移動キーで、カーソルを左に
右に各々動かすためのキーである。A、 Bは範囲始端
キーで、変換対象範囲の始端を指示するものである。H
Cは平仮名変換キーで、範囲始端キー或いはカーソルで
指示された文字を平仮名に変換するものである。CCは
片仮名変換キーで、平仮名変換キーHCと同様に、指定
された文字を片仮名に変換するものである。
FIG. 2 shows an external view of the keyboard KB. CK is a pseudonym.
This is a group of symbol keys for inputting symbols such as ``,'' and ``.'' in addition to hiragana and katakana. CL is a cursor left movement key, and CR is a cursor right movement key, which are keys for moving the cursor to the left and right, respectively. A and B are range start keys, which indicate the start end of the conversion target range. H
C is a hiragana conversion key, which converts the character specified by the range start key or cursor into hiragana. CC is a katakana conversion key, which, like the hiragana conversion key HC, converts specified characters into katakana.

以上の構成の下での動作例を説明する。第2図に示すフ
ローチャートは、リードオンリメモリI(OMに記憶さ
れた制御プログラムの70−チャートである。本発明文
字処理装置は電源投入時はステップS1でキー人力待ち
の状態を保つ。そこで何らかのキーが押されたときステ
ップS2においてキー判別を行い、ステップS6からス
テップS7へ分岐する。仮名・記号キ一群CKの一つの
キーが操作された場合はステップS6へ移行し入力され
た文字キーのコードを文字バッファCBUFのカーソル
レジスタCREGに示されたアドレスに格納するととも
にカーソルレジスタCREGに1加算する。その後、文
字バッファーCBUFとカーソルレジスタCRE Gの
内容を表示コントローラDISCを介して表示器DI8
に表示する。範囲始端キーABが押された場合は、ステ
ップS4へ移行する。ここではカーソルレジスタCR,
BGの内容′f範囲レジスタHREGに転送する処理を
行う。カーソル左移動キーCL又は、カーソル右移動キ
ーCRが押下された場合は、ステップS5へ移行し、カ
ーソルレジスタCREGの内容を1減算、又は1加算し
、カーソルを表示器DI8に表示する。片仮名変換キー
CC又は、平仮名変換キーHCが押下されたときは、各
々ステップ86又はステップS7へ移行し、後述の処理
により、指定された文字を片仮名又は平仮名に変換する
An example of operation under the above configuration will be explained. The flowchart shown in FIG. 2 is a 70-chart of the control program stored in the read-only memory I (OM). When the character processing device of the present invention is turned on, it maintains a state in which it waits for key input in step S1. When a key is pressed, key discrimination is performed in step S2, and the process branches from step S6 to step S7.If one key of the kana/symbol key group CK is operated, the process moves to step S6, and the input character key is selected. The code is stored in the address indicated in the cursor register CREG of the character buffer CBUF, and 1 is added to the cursor register CREG.Then, the contents of the character buffer CBUF and the cursor register CREG are sent to the display device DI8 via the display controller DISC.
to be displayed. If the range start key AB is pressed, the process moves to step S4. Here, cursor register CR,
The contents of BG 'f are transferred to the range register HREG. If the cursor left movement key CL or the cursor right movement key CR is pressed, the process moves to step S5, where the contents of the cursor register CREG are subtracted or added by 1, and the cursor is displayed on the display DI8. When the katakana conversion key CC or the hiragana conversion key HC is pressed, the process moves to step 86 or step S7, respectively, and the designated character is converted to katakana or hiragana through the process described later.

ここで文字コードの説明をする。第4図は、平仮名及び
片仮名の文字コード例を示すものである。
I will explain the character code here. FIG. 4 shows an example of character codes for hiragana and katakana.

文字コードは、1文字8ビツトで構成されている。The character code consists of 8 bits per character.

最上位ビットが「0」のときは平仮名を、最上位ビット
が「1」のときは片仮名を意味するコード体系をとっで
ある。#ち、下位7ビツトで音を区別し、上位1ビツト
で、平仮名か、片仮名かを区別するコード体系である。
The code system is such that when the most significant bit is ``0'' it means hiragana, and when the most significant bit is ``1'' it means katakana. #This is a code system in which the lower 7 bits distinguish sounds, and the upper 1 bit distinguishes between hiragana and katakana.

CK そこで、キーボードKB上の仮名・記号キ一群供より平
仮名で「あめりかじん」と入力し、カーソル左移動キー
CLを押下してカーソルを「あ」の下に移動させると、
表示器DI8には第5図(a)の如く表示される。この
とき文字バッファC]3UPには、最上位ビットがrO
Jの文字コードが入っている訳である。この状態で、キ
ーボードKB上の範囲始端キーABを押下すると、ステ
ップS4の範囲始端処理を施す。即ちカーソルレジスタ
CREGの内容を範囲始端レジスタHREGに転送する
CK So, from the kana/symbol group on the keyboard KB, input ``Amerikajin'' in hiragana and press the cursor left movement key CL to move the cursor below ``a''.
The display DI8 displays the information as shown in FIG. 5(a). At this time, character buffer C]3UP has the most significant bit rO
This means that it contains the letter code J. In this state, when the range start key AB on the keyboard KB is pressed, the range start process of step S4 is performed. That is, the contents of the cursor register CREG are transferred to the range start register HREG.

この場合、カーソルは「あ」の下にあるから文字バッフ
ァCBUP’で「あ」のコードの存在スルアドレスを範
囲始端レジスタHR,EGに転送する。
In this case, since the cursor is under "A", the character buffer CBUP' transfers the existence address of the code "A" to the range start registers HR, EG.

次に、カーソル右移動キーCRを押して、カーソルを「
か」の下に移動させると第5図(b)のように表示器D
ISに表示される。ここで片仮名変換キーCCを押下す
るとステップS6の片仮名変換処理を施す。即ち、範囲
始端レジスタHREGで示される文字からカーソルレジ
スタCRBGで示される文字の文字コードの最上位ビッ
トを1にする。すると表示器DI8には第5図(0)の
如く表示される。即ち、「あめりか」が「アメリカ」に
なるO 又、第5図(d) (8) (f)に示した如く 「ア
メリカ」を「あめりか」に変換したい時は、上述した第
5図(a) (b) (Q)の動作過程のうち最後の片
仮名変換キーCCの代りに平仮名変換キーHCを用いる
以外は全て同じキー操作で実現できる。即ち、ステップ
S7の平仮名変換処理は、範囲始端レジスタHRBGと
カーソルレジスタCRBGの内容で示される文字バッフ
ァCB U’ Fのアドレス間に存在する文字コードの
最上位ビットを0にする訳である。
Next, press the cursor right movement key CR to move the cursor to
If you move it to the bottom of the screen, the display D will appear as shown in Figure 5(b).
Displayed on IS. If the katakana conversion key CC is pressed here, the katakana conversion process of step S6 is performed. That is, the most significant bit of the character code of the character indicated by the cursor register CRBG is set to 1 from the character indicated by the range start register HREG. Then, the display DI8 displays a message as shown in FIG. 5(0). In other words, "Amerika" becomes "America". Also, as shown in Figure 5 (d) (8) (f), if you want to convert "America" to "Amerika", use the above-mentioned Figure 5. (a), (b), and (Q), except for using the hiragana conversion key HC instead of the katakana conversion key CC at the end, can all be realized by the same key operations. That is, the hiragana conversion process in step S7 sets the most significant bit of the character code existing between the addresses of the character buffer CBU'F indicated by the contents of the range start register HRBG and the cursor register CRBG to 0.

(他の実施例) 上述した実施例においては、表示器DI8は、文字、カ
ーソル等を可視的に表示できるものであれば、液晶表示
器、陰極線管等何れでも、本発明を損うものではない。
(Other Embodiments) In the embodiments described above, the display device DI8 may be a liquid crystal display, a cathode ray tube, etc., as long as it can visually display characters, a cursor, etc., without detracting from the present invention. do not have.

又、文字コードを1文字につき2進8ビツトとしたが、
何ビットでも文字を区別できるビット数ならばいくつで
もかまわない。
Also, the character code was set to 8 binary bits per character,
Any number of bits is acceptable as long as it can distinguish between characters.

さらに、平板名と片仮名のコード上の違いを最上位ビッ
トの「DJ、rIJで区別したが、平板名と片仮名とで
別々の文字コードを使用しても、本0REG・・・カー
ソルレジスタ。
Furthermore, the difference in the code between the plain name and katakana was distinguished by the most significant bit "DJ, rIJ, but even if you use different character codes for the plain name and katakana, this 0REG... cursor register.

発明は効果を発する。しかも、本発明は、平板名、片仮
名間の変換に限られるものではなく、色彩間での変換、
数字の漢字、アラビア数字曲での変換等に効果を発する
Inventions produce effects. Moreover, the present invention is not limited to conversion between flat names and katakana, but also conversion between colors,
Effective for converting numbers into Kanji, Arabic numerals, etc.

(効 果) 以上説明したように、本発明によると、平板名・片仮名
混りの文字列を入力するに当ってシフトモードを予め操
作する必要が省け、しかも−組入力してしまった文字に
ついても後から範囲設定して別のシフトモードに変更で
きるという効果がある。
(Effects) As explained above, according to the present invention, it is not necessary to operate the shift mode in advance when inputting a character string containing a combination of flat name and katakana, and in addition, it is possible to eliminate the need to operate the shift mode in advance when inputting a character string containing a combination of flat names and katakana. The effect is that you can set the range later and change to another shift mode.

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

第1図は、本発明の構成を示すブロック図。 第2図は、キーボードKBの外観図。 第6図は、制御過程を示すフローチャート。 第4図は、文字コードの片仮名と平板名の違いを示す図
。 第5図は、動作を説明するための文章例を示す図。 CBUF・・・文字バッファ。 HIFtEG−・・範囲始端レジスタ。 出願人 キャノン株式会社
FIG. 1 is a block diagram showing the configuration of the present invention. Figure 2 is an external view of the keyboard KB. FIG. 6 is a flowchart showing the control process. FIG. 4 is a diagram showing the difference between the character code katakana and the flat name. FIG. 5 is a diagram showing an example of text for explaining the operation. CBUF...Character buffer. HIFtEG--Range start register. Applicant Canon Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 複数のシフトモードの文字列を入力することのできる入
力手段、前記入力手段により入力された文字を記憶する
記憶手段、前記記憶手段に記憶された文字のうち、任意
の範囲を指定する指示手段、前記指示手段によって指示
された範囲の文字について、他のシフトモードの文字に
変換する手段を有することを特徴とする文字処理装置。
an input means capable of inputting character strings of a plurality of shift modes; a storage means for storing characters input by the input means; an instruction means for specifying an arbitrary range of characters among the characters stored in the storage means; A character processing device comprising means for converting characters in a range designated by the designating means into characters in other shift modes.
JP59013100A 1984-01-27 1984-01-27 Character processing device Pending JPS60157660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59013100A JPS60157660A (en) 1984-01-27 1984-01-27 Character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59013100A JPS60157660A (en) 1984-01-27 1984-01-27 Character processing device

Publications (1)

Publication Number Publication Date
JPS60157660A true JPS60157660A (en) 1985-08-17

Family

ID=11823729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59013100A Pending JPS60157660A (en) 1984-01-27 1984-01-27 Character processing device

Country Status (1)

Country Link
JP (1) JPS60157660A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008056292A (en) * 2006-08-31 2008-03-13 Yoshino Kogyosho Co Ltd Container for mothproof sheet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008056292A (en) * 2006-08-31 2008-03-13 Yoshino Kogyosho Co Ltd Container for mothproof sheet

Similar Documents

Publication Publication Date Title
JP3904946B2 (en) Method and apparatus for entering information into a portable device using special characters
JPH0348545B2 (en)
JPS60157660A (en) Character processing device
US4931969A (en) Character entry device
JP2697317B2 (en) Hangul character input device
KR19980013987A (en) How to input Hangul signal using Tenki
JPS5819936A (en) Kanji (chinese character) input device
JPH0452500B2 (en)
JPS5814248A (en) Kanji(chinese character) input device
JP3042437B2 (en) How to display conversion candidates for reading input character strings
JPS58168180A (en) Information retrieval device
JPH0340871B2 (en)
JPS60237570A (en) Agate display system
JP3466313B2 (en) Key input device
JPH0628075A (en) Keyboard input device for inputting japanese
JPS5824930A (en) Pattern registering system
JPS629463A (en) Converter for chinese numeral
JPH01158560A (en) Method for kana/kanji conversion in character
JPS60245074A (en) Automatic agate display system
JPH04295950A (en) Tape printing provided with jis code conversion function
JPS62269263A (en) Kana (japanese syllabary)/kanji conversion processing system in japanese document processing device
JPS6338737B2 (en)
JPS63126061A (en) Chinese document forming device
JPH096513A (en) Input character variable type input device
JPS59109936A (en) Character converting device