JPS6327916A - Documentation device - Google Patents

Documentation device

Info

Publication number
JPS6327916A
JPS6327916A JP61172227A JP17222786A JPS6327916A JP S6327916 A JPS6327916 A JP S6327916A JP 61172227 A JP61172227 A JP 61172227A JP 17222786 A JP17222786 A JP 17222786A JP S6327916 A JPS6327916 A JP S6327916A
Authority
JP
Japan
Prior art keywords
key
shift
hiragana
alphanumeric
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.)
Pending
Application number
JP61172227A
Other languages
Japanese (ja)
Inventor
Haruo Muto
武藤 治夫
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61172227A priority Critical patent/JPS6327916A/en
Publication of JPS6327916A publication Critical patent/JPS6327916A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To perform the numeral processing without providing a new operation key by deciding the just preceding shift key. CONSTITUTION:When a key is inputted on a keyboard 12 and the key code is detected by a CPU 11, it is decided whether a clause/next candidate key is operated or not. If it is discriminated that it is not operated, it is decided whether the operated key is an alphanumeric shift key, HIRAGANA (cursive form of Japanese syllabary) shift key, another shift key, a HIRAGANA key, or a numeric key. That is, it is decided whether the inputted character is alphanumeric or not before input of HIRAGANA; and if it is not alphanumeric, it is decided whether an input buffer 15 is empty or not, and contents of the input buffer 15 are written in a document area if it is not empty.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は数詞処理機能を有する文書作成装置に関する。[Detailed description of the invention] [Purpose of the invention] (Industrial application field) The present invention relates to a document creation device having a number word processing function.

(従来の技術) 仮名文字を入力して漢字に変換して文書を作成する文書
作成装置(日本語ワードプロセッサ)が非常に普及され
てきている。このような文書作成装置を用いて文書を作
成するにあたって例えば、「第1回」という数詞(第1
)を含む類句を入力する場合において、「だい」の後に
数字「1」を入力する場合は英数字シフトキーを操作し
た後でなければ入力出来ない。しかし、英数字シフトに
されると入力を無変換確定に出来ない為、別に無変換キ
ーを設けるか、または英数シフトにより無変換確定させ
、数字はテンキーから入力していた。
(Prior Art) Document creation devices (Japanese word processors) that create documents by inputting kana characters and converting them into kanji characters have become very popular. When creating a document using such a document creation device, for example, the numerical word "first" (first
), and if you want to input the number ``1'' after ``dai'', you can only do so after operating the alphanumeric shift key. However, when alphanumeric shift is used, input cannot be confirmed without conversion, so a separate non-conversion key is provided, or alphanumeric shift is used to confirm non-conversion, and numbers are input using the numeric keypad.

(発明が解決しようとする問題点) このように、数詞処理を行なう場合には無変換キーまた
はテンキーを用いて行なりなればならないため、操作キ
ーの数が増してしまうという欠点がある。
(Problems to be Solved by the Invention) As described above, when performing number word processing, it must be performed using non-conversion keys or numeric keys, which has the drawback of increasing the number of operation keys.

本発明は上記の点に鑑みてなされたものでその目的は数
詞処理を新たなキーを設けずに行なうことができる数詞
処理様能を有する文書作成装置を提供することにある。
The present invention has been made in view of the above points, and its object is to provide a document creation device having a number word processing function that can perform number word processing without providing a new key.

C発明の構成コ (問題点を解決するための手段及び作用)入力バッフ?
に記憶されている仮名文字を変換キーが操作された場合
に仮名/漢字変換した後文−エリアに記憶している文書
作成装置において、操作されたキーの判別を行なうキー
判別手段と、このキー判別手段により英数字シフトキー
、ひらがなシフトキー、他のシフトキーの操作が検出さ
れた場合には現シフト状態記憶手段に記憶されている現
シフト状態を旧シフト状態記憶手段に記憶し、現シフト
状態記憶手段に英数字シフト、ひらがなシフト、他のシ
フトを記憶させるシフト状態記憶手段と、上記キー判別
手段によりひらがなシフトキーの操作が検出された場合
には、旧シフト状態記憶手段に記憶されている旧シフト
状態が英数字シフトではなく且つ入力バッファにデータ
がある場合には入力バッファのデータを文書エリアに書
き込み、旧シフト状態が英数字シフトの場合には次のキ
ー入力を待ち、上記キー判別手段により英数字シフトキ
ー、ひらがなシフトキー、他のシフトキー以外のキーが
操作されたことが検出され、そのキーがひらがなあるい
は数字である場合にはそのキーに対応するデータを入力
バッファに園き込む手段と、上記キー判別手段により英
数字シフトキーの操作が検出された場合には、旧シフト
状態記憶手段に記憶されている旧シフト状態がひらがな
シフトではなく且つ入力バッファにデータがある場合に
は入力バッファのデータを文書エリアに書き込み、旧シ
フト状態がひらがなシフトの場合には次のキー入力を待
ち、上記キー判別手段により英数字シフトキー、ひらが
なシフトキー、他のシフトキー以外のキーが操作された
ことが検出され、そのキーがひらがなあるいは数字であ
る場合にはそのキーに対応するデータを入力バッファに
書き込む手段とを備えた文書作成装置である。
C Invention configuration (means and action for solving the problem) Input buffer?
A key discriminating means for discriminating the operated key in the document production device stored in the text-area after kana/kanji conversion is performed when the conversion key is operated. When the determination means detects an operation of an alphanumeric shift key, a hiragana shift key, or another shift key, the current shift state stored in the current shift state storage means is stored in the old shift state storage means, and the current shift state storage means a shift state storage means for storing an alphanumeric shift, a hiragana shift, and other shifts; and when an operation of a hiragana shift key is detected by the key discrimination means, the old shift state stored in the old shift state storage means is stored. is not an alphanumeric shift and there is data in the input buffer, writes the data in the input buffer to the document area, and if the old shift state is an alphanumeric shift, waits for the next key input, and uses the above key discrimination means to input alphanumeric characters. A means for detecting that a key other than a numeric shift key, a hiragana shift key, or another shift key has been operated and inputting data corresponding to the key into an input buffer when the key is a hiragana or numeric key; When the operation of an alphanumeric shift key is detected by the determination means, if the old shift state stored in the old shift state storage means is not Hiragana shift and there is data in the input buffer, the data in the input buffer is converted into a document. area, and if the previous shift state is Hiragana shift, waits for the next key input, and the above key discrimination means detects that a key other than the alphanumeric shift key, Hiragana shift key, or other shift key has been operated, and the key If the key is hiragana or a number, the document creation device is provided with means for writing data corresponding to the key into an input buffer.

(実施例) 以下図面を参照して本発明の一実施例に係りる数詞処理
機能を有する文書作成装置について説明する。第1図に
おいて、11は文書作成上の各種制御を行なうCPU(
中央処理装置)である。このCP tJ 11には文書
作成上に必要なキーが配列されたキーボード12からキ
ー操作信号が入力される。
(Embodiment) A document creation device having a number processing function according to an embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 11 is a CPU (CPU) that performs various controls in document creation.
central processing unit). Key operation signals are input to this CP tJ 11 from a keyboard 12 on which keys necessary for document creation are arranged.

例えば、このキーボード12には英数字を入力する場合
に操作る英数シフトキー、ひらがなを入力する場合に操
作するひらがなシフトキー、カタカナを入力する場合に
操作するカタカナシフトキー、英記号を入力する場合に
操作する英記号シフトキーの他、後;ホする入力バッフ
ァ15に入力された仮名文字を漢字に変換する場合に操
作する仮名/漢字変換キーが設けられている。また、1
3は文書作成に必要なプログラム(入力バッファ15に
記憶される平仮名を漢字に変換する仮名/漢字変換手段
を含む)、辞書等が記憶されるR OM (リード・オ
ンリ・メモリ)、14はRAM(ランダム・アクセス・
メモリ)である。このRA M 14には第2図に示す
ように作成された文章が記憶される文国王リア、現在選
択されているシフトキー(カレント・シフト・キー)を
記憶するカレントシフトフラグC8F、1つ前に選択さ
れたシフトキー(オールド・シフト・キー)を記憶する
オールドシフトフラグ○SF、キーボード12から入力
される仮名/漢字変換される仮名文字が記憶される入力
バッファ15が設けられている。
For example, this keyboard 12 has an alphanumeric shift key that is operated when inputting alphanumeric characters, a hiragana shift key that is operated when inputting hiragana, a katakana shift key that is operated when inputting katakana, and a katakana shift key that is operated when inputting alphanumeric characters. In addition to the alphabetic symbol shift key, there are provided a kana/kanji conversion key that is operated when converting kana characters input into the input buffer 15 into kanji. Also, 1
3 is a ROM (read-only memory) in which programs necessary for document creation (including a kana/kanji conversion means for converting hiragana stored in the input buffer 15 into kanji), dictionaries, etc.; 14 is a RAM (Random access
memory). As shown in Figure 2, this RAM 14 has a text area where created sentences are stored, a current shift flag C8F that stores the currently selected shift key (current shift key), and a current shift flag C8F that stores the currently selected shift key (current shift key). An old shift flag ○SF for storing a selected shift key (old shift key) and an input buffer 15 for storing kana characters to be converted into kana/kanji input from the keyboard 12 are provided.

次に、上記のように構成された本発明の一実施例の動作
について説明する。第3図に示すフローチャートは本発
明に係わる数詞処理機能の動作を示すものである。まず
、キーボード12からキー入力が行われるとCP U 
11によってそのキーコードが検出されろくステップS
1)。以下、そのキーコードが何であるか否か判定され
る。
Next, the operation of an embodiment of the present invention configured as described above will be explained. The flowchart shown in FIG. 3 shows the operation of the number word processing function according to the present invention. First, when a key input is made from the keyboard 12, the CPU
11, the key code is detected and step S
1). Thereafter, it is determined what the key code is.

まず、文節/次候補キーが操作されたか否か判定される
(ステップS2)。ここで、rYEsJと判定されると
入力バッファ15に記憶される仮名文字が仮名/漢字変
換手段により漢字に変換されてRA M 14内の文書
エリアに記憶される(ステップS3.84)。
First, it is determined whether the clause/next candidate key has been operated (step S2). If rYEsJ is determined, the kana characters stored in the input buffer 15 are converted into kanji by the kana/kanji conversion means and stored in the document area in the RAM 14 (step S3.84).

上記ステップS2にrNOJと判定された場合には操作
されたキーが英数シフトキーか否か(ステップS5)、
ひらがなシフトキーか否か(ステップS7)、他のシフ
トキーか否か(ステップ312)、ひらがなまたは数字
か否か判定されろ(ステップ514)。
If rNOJ is determined in step S2, whether or not the operated key is an alphanumeric shift key (step S5);
It is determined whether it is a hiragana shift key (step S7), whether it is another shift key (step 312), and whether it is a hiragana or number (step 514).

ここで、英数シフトキーが操作された場合にはカレント
シフトフラグC8Fの内容がオールドシフトフラグO8
Fに記憶され、英数シフトフラグがカレントシフトフラ
グC8Fに記憶される(ステップ86)。
Here, if the alphanumeric shift key is operated, the contents of the current shift flag C8F will change to the old shift flag O8.
The alphanumeric shift flag is stored in the current shift flag C8F (step 86).

また、ひらがなシフトキーが操作された場合にはカレン
トシフトフラグC8Fの内容がオールドシフトフラグO
3Fに記憶され、ひらがなシフトフラグがカレントシフ
トフラグC8Fに記憶される(ステップ38)。そして
、オールドシフトフラグO8Fが英数シフトフラグか否
か判定される(ステップS9)。つまり、ひらがなを入
力する前に入力された文字が英数字か否か判定される。
Also, when the hiragana shift key is operated, the contents of the current shift flag C8F change to the old shift flag O.
3F, and the hiragana shift flag is stored in the current shift flag C8F (step 38). Then, it is determined whether the old shift flag O8F is an alphanumeric shift flag (step S9). That is, before inputting hiragana, it is determined whether the input characters are alphanumeric characters or not.

ここで、英数字でないと判定された場合には入力バッフ
ァ15は空か否か判定される(ステップ$10)。入力
バッファ15が空ではない場合には入力バッファ15の
内容が文書エリアに書き込まれる(ステップ511)。
Here, if it is determined that it is not an alphanumeric character, it is determined whether the input buffer 15 is empty (step $10). If the input buffer 15 is not empty, the contents of the input buffer 15 are written to the document area (step 511).

例えば、ひらがな等がそのまま文言エリアに層き込まれ
る場合である。ところで、上記ステップS9あるいは3
10でrYEsJと判定された場合には上記ステップS
11の処理はスキップされる。
For example, there is a case where hiragana etc. are directly layered into the text area. By the way, the above step S9 or 3
If rYEsJ is determined in step 10, step S
Processing No. 11 is skipped.

ところで、上記ステップS7でrNorと判定された場
合にはステップS12に進む。カタカナシフトキー等の
他のシフトキーが操作された場合にはカレントシフトフ
ラグC8Fの内容がオールドシフトフラグO3Fに記憶
され、他のシフトフラグがカレントシフトフラグC3F
に記憶される(ステップ513)。このように、シフト
キーが操作された場合には前のシフトキーの状態を記憶
している。
By the way, if it is determined in step S7 that the result is rNor, the process advances to step S12. When another shift key such as a katakana shift key is operated, the contents of the current shift flag C8F are stored in the old shift flag O3F, and the other shift flags are changed to the current shift flag C3F.
(step 513). In this way, when the shift key is operated, the previous shift key state is memorized.

他のシフトキーでもない場合には入力されたキーはひら
がなか数字か否か¥41定される(ステップ514)。
If there is no other shift key, it is determined whether the input key is a hiragana number or not (step 514).

ひらがなか数字である場合には入力バッファ15に該ひ
らがなあるいは数字が入力される(ステップ515)。
If it is a hiragana number, the hiragana or number is input into the input buffer 15 (step 515).

ひらがなでも数字でもない場合には文書エリアにその語
句が書き込まれる。
If the word is neither hiragana nor numbers, the word is written in the document area.

例えば、「だいJ (英数シフトンr’+J  (ひら
がなシフト)「かい」と操作した場合に入力バッファ1
5に「だい1かい」と入力させることができる(ステッ
プ515)。その後、「文jlD/次候補」キーを操作
した場合には入力バッファ15に記憶された「だい1か
い」がかな/漢字変換手段により「第1回」と変換され
て文書エリアに書き込まれる。
For example, if you operate ``daiJ (alphanumeric shift r'+J (hiragana shift) ``kai''), input buffer 1
5 can input "Daichi kai" (step 515). Thereafter, when the "sentence jlD/next candidate" key is operated, "daiichikai" stored in the input buffer 15 is converted into "first time" by the kana/kanji conversion means and written into the document area.

[発明の効果] 以上詳述したように本発明によれば、数詞処理は能を有
する文書作成装置を提供することができる。
[Effects of the Invention] As described in detail above, according to the present invention, it is possible to provide a document creation device capable of processing number words.

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

第1図は本発明の一実施例に係わる文書作成装置を示す
ブロック図、第2図はRAMの概略的構成を示す図、第
3図は本発明の一実施例の動作を示すフローチャートで
ある。 11・・・CPU、12・・・キーボード、13・・・
ROM、14・・・RAM、15・・・入力バッファ。 出願人代理人 弁理士 鈴江武彦 第1図 第2弱
FIG. 1 is a block diagram showing a document creation device according to an embodiment of the present invention, FIG. 2 is a diagram showing a schematic configuration of a RAM, and FIG. 3 is a flowchart showing the operation of an embodiment of the present invention. . 11...CPU, 12...Keyboard, 13...
ROM, 14... RAM, 15... Input buffer. Applicant's Representative Patent Attorney Takehiko Suzue Figure 1, Lower 2

Claims (1)

【特許請求の範囲】[Claims] 入力バッファに記憶されている仮名文字を変換キーが操
作された場合に仮名/漢字変換した後文書エリアに記憶
している文書作成装置において、操作されたキーの判別
を行なうキー判別手段と、このキー判別手段により英数
字シフトキー、ひらがなシフトキー、他のシフトキーの
操作が検出された場合には現シフト状態記憶手段に記憶
されている現シフト状態を旧シフト状態記憶手段に記憶
し、現シフト状態記憶手段に英数字シフト、ひらがなシ
フト、他のシフトを記憶させるシフト状態記憶手段と、
上記キー判別手段によりひらがなシフトキーの操作が検
出された場合には、旧シフト状態記憶手段に記憶されて
いる旧シフト状態が英数字シフトではなく且つ入力バッ
ファにデータがある場合には入力バッファのデータを文
書エリアに書き込み、旧シフト状態が英数字シフトの場
合には次のキー入力を待ち、上記キー判別手段により英
数字シフトキー、ひらがなシフトキー、他のシフトキー
以外のキーが操作されたことが検出され、そのキーがひ
らがなあるいは数字である場合にはそのキーに対応する
データを入力バッファに書き込む手段と、上記キー判別
手段により英数字シフトキーの操作が検出された場合に
は、旧シフト状態記憶手段に記憶されている旧シフト状
態がひらがなシフトではなく且つ入力バッファにデータ
がある場合には入力バッファのデータを文書エリアに書
き込み、旧シフト状態がひらがなシフトの場合には次の
キー入力を待ち、上記キー判別手段により英数字シフト
キー、ひらがなシフトキー、他のシフトキー以外のキー
が操作されたことが検出され、そのキーがひらがなある
いは数字である場合にはそのキーに対応するデータを入
力バッファに書き込む手段とを具備した文書作成装置。
In the document creation device, the kana characters stored in the input buffer are stored in the document area after being converted into kana/kanji when a conversion key is operated; When the key determination means detects an operation of an alphanumeric shift key, a hiragana shift key, or another shift key, the current shift state stored in the current shift state storage means is stored in the old shift state storage means, and the current shift state is stored. shift state storage means for storing alphanumeric shifts, hiragana shifts, and other shifts in the means;
When the operation of the hiragana shift key is detected by the key determination means, if the old shift state stored in the old shift state storage means is not an alphanumeric shift and there is data in the input buffer, the data in the input buffer is written in the document area, and if the previous shift state is alphanumeric shift, it waits for the next key input, and the key detection means detects that a key other than the alphanumeric shift key, hiragana shift key, or other shift key has been operated. , means for writing the data corresponding to the key into the input buffer when the key is hiragana or numeric, and when the operation of an alphanumeric shift key is detected by the key discrimination means, writing the data corresponding to the key into the old shift state storage means. If the stored old shift state is not hiragana shift and there is data in the input buffer, write the data in the input buffer to the document area, and if the old shift state is hiragana shift, wait for the next key input, and perform the above steps. means for detecting that a key other than an alphanumeric shift key, a hiragana shift key, or another shift key has been operated by the key discrimination means, and when the key is a hiragana or numeric key, writing data corresponding to the key into an input buffer; A document creation device equipped with
JP61172227A 1986-07-22 1986-07-22 Documentation device Pending JPS6327916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61172227A JPS6327916A (en) 1986-07-22 1986-07-22 Documentation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61172227A JPS6327916A (en) 1986-07-22 1986-07-22 Documentation device

Publications (1)

Publication Number Publication Date
JPS6327916A true JPS6327916A (en) 1988-02-05

Family

ID=15937956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61172227A Pending JPS6327916A (en) 1986-07-22 1986-07-22 Documentation device

Country Status (1)

Country Link
JP (1) JPS6327916A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0473863U (en) * 1990-11-02 1992-06-29

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0473863U (en) * 1990-11-02 1992-06-29

Similar Documents

Publication Publication Date Title
JPS6327916A (en) Documentation device
JPS6154561A (en) Japanese word processor
JPS6154559A (en) Japanese word processor
JPS63316162A (en) Document preparing device
JPS6227861A (en) Kanji input device
JPS6327967A (en) Documentation device
JP2629946B2 (en) Document processing device
JPH0561855A (en) Japanese language processor
JPS62125426A (en) Data input system
JPH04363755A (en) Wordprocessor
JPH0585055B2 (en)
JPS61239357A (en) Electronic equipment
KR950012198A (en) English-Korean automatic conversion device in Hangul word processor
JPH08335217A (en) Reading converting method and document preparation device
JPH04133165A (en) Kana/kanji converter
JPH0736902A (en) Electronic dictionary device
JPH01128157A (en) Japanese word document producer
JPS63174165A (en) Word processor
JPH07129566A (en) Kana/kanji converting processor
JPH07271786A (en) Word processor
JPS62156759A (en) Document data processor
JPS61180360A (en) Document editing device
JPH09179860A (en) Automatic correcting system for keyboard input value
JPH08272792A (en) Device and method for character processing
JPS60157661A (en) Kana to kanji converting system