JPH07168830A - Document preparing method - Google Patents

Document preparing method

Info

Publication number
JPH07168830A
JPH07168830A JP6238769A JP23876994A JPH07168830A JP H07168830 A JPH07168830 A JP H07168830A JP 6238769 A JP6238769 A JP 6238769A JP 23876994 A JP23876994 A JP 23876994A JP H07168830 A JPH07168830 A JP H07168830A
Authority
JP
Japan
Prior art keywords
character
input
characters
converted
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.)
Pending
Application number
JP6238769A
Other languages
Japanese (ja)
Inventor
Hirobumi Kashiwa
博文 柏
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6238769A priority Critical patent/JPH07168830A/en
Publication of JPH07168830A publication Critical patent/JPH07168830A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a document preparing method which is good in operability. CONSTITUTION:When a character string which is inputted in the same input mode as a set input mode with a different character kind is converted for a set character kind and the set input mode, the inputted character string is converted into an alphanumeric character string, which is then converted into a character string of the set input mode. Characters which are inputted in wrong character input mode can be converted into correct characters without being deleted and reinputted, thereby lightening the burden on the user.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、かな漢字変換をもちい
て文書作成を行うワードプロセッサ等の文書作成装置に
係り、特に、漢字かな混じり文に変換するための入力中
の文字訂正に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document preparation device such as a word processor for preparing a document by using kana-kanji conversion, and more particularly to character correction during input for conversion into kanji-kana mixed sentence.

【0002】[0002]

【従来の技術】ワードプロセツサなどの文書作成装置に
おいて漢字かな混じり文を作成する際のかな漢字変換の
対象となる文字入力は、まず、キーボードに割り付けら
れた文字モードキー(ひらがな,カタカナ,英数キー
等)を押下し、これから入力する文字入力モードを設定
した後、然るべき文字の入力を行う。一般に文書作成時
は、この文字入力モード切替えが頻繁に発生するため、
文字入力モード切替えを忘れ、間違えて文字を入力して
しまうことが多い。
2. Description of the Related Art In a document processing apparatus such as a word processor, when inputting a kana-kanji character when creating a kanji-kana mixed sentence, first, a character mode key (Hiragana, Katakana, alphanumeric) assigned to a keyboard is used. Press the key etc.) to set the character input mode for inputting, and then input the appropriate character. Generally, when creating a document, this character input mode switching frequently occurs,
It is easy to forget to switch the character input mode and enter characters by mistake.

【0003】かな漢字変換を行うための文字を間違った
文字入力モードで入力してしまうと、既に入力を終えた
文字に関しては文字入力モードを変更しても訂正処理は
行われず、以降の入力文字にのみ有効となる。
If a character for Kana-Kanji conversion is input in the wrong character input mode, correction processing will not be performed for the character already input, even if the character input mode is changed, and the subsequent input characters will be used. Only valid.

【0004】このように文字入力モードを間違えて入力
してしまつた場合の訂正方法に、例えば特公開60−2003
60号公報に示されるように、かな文字で日本語入力を行
っている際、既に入力してしまったモードの間違ったひ
らがな文字列またはカタカナ文字列を、ひらがな・カタ
カナ変換キーを用いて字種変更のみを可能にした方法が
ある。
As a correction method in the case where the character input mode is mistakenly input in this way, for example, Japanese Patent Publication No. 60-2003.
As shown in Japanese Patent Publication No. 60, when entering Japanese with Kana characters, you can use the Hiragana / Katakana conversion key to enter the wrong Hiragana or Katakana character string in the mode you have already entered. There is a method that allows only changes.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、かかる
従来の方法においては、入力中のひらがな文字列をカタ
カナ文字列、またはカタカナ文字列をひらがな文字列へ
変換するといった字種の変更のみを行うものであり、字
種の変更ではなし得ない他の、例えば「ローマ字ひらが
な入力モード」でモード設定しているのに誤って「ひら
がな入力モード」で入力した場合の訂正方法は知られて
おらず、他の方法で代用されていた。
However, in such a conventional method, only the character type is changed such that the Hiragana character string being input is converted into a Katakana character string or the Katakana character string is converted into a Hiragana character string. Yes, there is no other way that cannot be done by changing the character type, for example, there is no known correction method when inputting in "Hiragana input mode" by mistake even though the mode is set in "Romaji Hiragana input mode". Was used instead.

【0006】その一つに、既に入力した文字を全て削除
し、文字入力モードを然るべきモードに変更後、再度文
字の入力を行う方法があるが、前記方法ではオペレータ
は常に文字入力モードを意識して文字入力を行うため、
オペレータに負担がかかりスムーズな文書作成の妨げと
なる。このように従来の方法は、字種の変更ではなし得
ない、入力中の文字の訂正操作に配慮が欠けているとい
う点に問題があった。
One of the methods is to delete all the characters that have already been input, change the character input mode to an appropriate mode, and then input the character again. In the above method, the operator is always aware of the character input mode. To enter characters,
This imposes a burden on the operator and hinders smooth document creation. As described above, the conventional method has a problem in that it is not possible to change the character type and lacks consideration for the correction operation of the character being input.

【0007】本発明の目的は、かかる従来方法の問題点
を解決した操作性の良い文書作成方法を提供することに
ある。
It is an object of the present invention to provide a document creating method with good operability which solves the problems of the conventional method.

【0008】[0008]

【課題を解決するための手段】本発明の特徴は、かな漢
字変換の対象となるカナ文字や英数字等を入力する入力
装置と,前記入力装置から入力されたカナ文字や英数字
等を記憶する記憶装置と,入力されたカナ文字や英数字
等を可視的に表示する表示装置と,これらの制御を行う
制御装置から構成される文書作成装置において、設定さ
れた字種と入力モードに対して、異なる字種でしかも前
記設定された入力モードと同一の入力モードで入力され
た文字列を変換する際、前記入力された文字列を英数字
文字列に変換した後に前記設定された入力モードの文字
列に変換することである。
The features of the present invention are: an input device for inputting kana characters, alphanumeric characters, etc. to be converted into kana-kanji characters; and a kana character, alphanumeric characters, etc. input from the input device are stored. In the document creation device consisting of the storage device, the display device that visually displays the input kana characters and alphanumeric characters, etc., and the control device that controls these, for the set character type and input mode , When converting a character string input in a different character type and in the same input mode as the set input mode, after converting the input character string into an alphanumeric character string, It is to convert it to a character string.

【0009】[0009]

【作用】例えば「ローマ字ひらがな入力モード」で「ぶ
んしょさくせい」と入力すべきところを誤って「ひらが
な入力モード」で「こなみみとんらとちのなといに」と
入力すると「bunnsyosakusei」に変換され、その後「ぶ
んしょさくせい」に変換される。
[Effect] For example, if you accidentally enter "Bonshosakusei" in "Romaji hiragana input mode" and enter "Konamimi tora tochinonitoni" in "Hiragana input mode", it will be converted to "bunnsyosakusei", After that, it will be converted into "bushshosakusei".

【0010】[0010]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0011】図1は本文書作成装置を用いた処理手順の
一実施例を示すフローチャートであり、図2は、本発明
に係る文書作成装置の構成を示すブロック図である。
FIG. 1 is a flow chart showing an embodiment of the processing procedure using this document creating apparatus, and FIG. 2 is a block diagram showing the configuration of the document creating apparatus according to the present invention.

【0012】図2において、1はCPUを利用して構成
されている制御装置であり、入力した文字の訂正などの
実行制御を司るもの、2はかな漢字変換の対象となる読
みや英数字、または制御指示等を入力するための入力装
置、3は作成した文書や日本語の入力,編集,表示制御
などのプログラム,制御情報などを保持するようにした
ランダムアクセスメモリ、4は入力されたカナ文字や英
数字を他の文字モードで入力した文字に訂正するための
変換制御部、5は作成された文書の格納,プログラムや
データ,変換用テーブルなどを記憶した記憶装置、6は
ローマ字つづりの英字をかなに変換するローマ字変換制
御部、7は入力された文字や編集状態を可視的に表示す
る表示装置、8は作成された文書を印刷する印刷装置で
ある。
In FIG. 2, reference numeral 1 is a control device constituted by using a CPU, which controls execution control such as correction of input characters, and 2 is a reading or alphanumeric character which is a target of kana-kanji conversion, or An input device for inputting control instructions, 3 is a random access memory for holding a created document or a program for inputting, editing, display control of Japanese, control information, etc. 4 is input kana characters And a conversion control unit for correcting alphanumeric characters into characters input in another character mode, 5 is a storage device for storing a created document, programs and data, a conversion table, and the like, and 6 is an alphabet spelling Roman characters Is a Roman character conversion control unit for converting Kana into kana, 7 is a display device for visually displaying the input characters and the editing state, and 8 is a printing device for printing the created document.

【0013】図3は、図2の文字入力、または制御指示
を行う入力装置2の一例であるキーボードのキー配列を
示すものである。
FIG. 3 shows a key arrangement of a keyboard which is an example of the input device 2 for inputting characters or for giving a control instruction in FIG.

【0014】201は漢字かな混じり文に変換する文字
を入力するための「英数/カナ文字」キーで、JIS準拠
のかなキーボードである。202は間違った文字入力モ
ードで入力した文字を、他の文字入力モードで入力した
文字に訂正することを指示する「入力文字訂正」指示キ
ー、203は訂正すべき入力文字モードの処理内容を選
択する「選択」キー群である。
Reference numeral 201 denotes a "alphanumeric / kana character" key for inputting characters to be converted into a kanji / kana mixed sentence, which is a JIS-compliant kana keyboard. Reference numeral 202 denotes an “input character correction” instruction key for instructing to correct a character input in the wrong character input mode to a character input in another character input mode, and 203 selects the processing content of the input character mode to be corrected It is a group of "select" keys to

【0015】次に、図1のフローチャートに基づいて以
下その処理内容を説明する。図1の制御処理は入力装置
3の「入力文字訂正」キー202の入力により起動させ
る。また、入力中の文字はランダムアクセスメモリ3の
図5の501に示す入力中の文字を格納するバッファ
(以下、入力文字格納バッファと呼ぶ)に格納されると
共に、入力文字格納バッファから読みだされて表示装置
7に、例えば図4の906の如く表示される。
Next, the processing contents will be described below with reference to the flowchart of FIG. The control process of FIG. 1 is started by inputting the “input character correction” key 202 of the input device 3. The character being input is stored in the buffer for storing the character being input (hereinafter referred to as the input character storage buffer) 501 of the random access memory 3 shown in FIG. Is displayed on the display device 7 as 906 in FIG.

【0016】まず、「入力文字訂正」キー202が入力
されたとき、現在入力中の文字があるかをチェックする
(100)。チェック方法は、入力文字を入力文字格納
バッファに格納する位置を示すランダムアクセスメモリ
3の、例えば入力文字管理ポインタ(以下、Paと呼
ぶ)を参照する。
First, when the "correct input character" key 202 is pressed, it is checked whether there is a character currently being input (100). The check method refers to, for example, an input character management pointer (hereinafter, referred to as Pa) of the random access memory 3 indicating a position where the input character is stored in the input character storage buffer.

【0017】訂正する文字が存在しなければ(Pa=0
のとき)、訂正処理実行不能ということで、異常処理
(111)として、例えば異常音を出力して本制御処理
を終了する。
If there is no character to be corrected (Pa = 0
When the correction process cannot be executed, an abnormal sound is output as the abnormal process (111), and the control process ends.

【0018】訂正する入力文字が少なくても1文字以上
存在すれば(Pa≧1)、既に入力されている文字をど
のモードで入力した文字に訂正するのかを選択指示させ
る内容を、例えば図4の90の如く表示装置7に表示し
て(101)、入力装置2からのキー入力を受け付ける
(102)。
If there is at least one input character to be corrected (Pa ≧ 1), the content for instructing which mode the input character is to be corrected to the input character is selected, for example, as shown in FIG. No. 90 is displayed on the display device 7 (101), and the key input from the input device 2 is accepted (102).

【0019】入力装置2から入力されたキー情報を判定
し(103)、選択キー群203以外の制御キー等であ
れば本制御処理を終了する。入力されたキー情報が選択
キー群203であれば、入力中の文字を訂正する指示
が、図4の90に示すマトリクスの「ひらがな」903
対応キー、または「カタカナ」904対応キーであるか
を判定し(104)、選択キー群203の情報が前記対
応キー以外は後述する処理(105)へ移る。
The key information input from the input device 2 is determined (103), and if it is a control key other than the selection key group 203, this control process is terminated. If the input key information is the selection key group 203, the instruction to correct the character being input is “Hiragana” 903 in the matrix 90 shown in FIG.
It is determined whether the key is a corresponding key or a "katakana" 904 corresponding key (104), and if the information of the selection key group 203 is other than the corresponding key, the process proceeds to a process (105) described later.

【0020】選択キー群203の情報が前記対応キーで
あれば、入力中の文字が「ひらがな」文字であれば「カタ
カナ」文字に、「カタカナ」文字であれば「ひらがな」
文字に訂正する。また、「ひらがな」または「カタカ
ナ」モードで入力するところを間違って「英数」モード
で入力した「英数字」文字を、「ひらがな」または「カ
タカナ」文字に訂正する(30)。
If the information of the selection key group 203 is the corresponding key, if the input character is a "Hiragana" character, it is a "Katakana" character, and if it is a "Katakana" character, it is a "Hiragana" character.
Correct to letters. Also, the "alphanumeric" character entered in the "alphanumeric" mode by mistake when inputting in the "hiragana" or "katakana" mode is corrected to the "hiragana" or "katakana" character (30).

【0021】ここで、ひらがな/カタカナ訂正処理(3
0)に動作について図7のフローチャートを用いて詳し
く説明する。
Hiragana / Katakana correction processing (3
The operation (0) will be described in detail with reference to the flowchart of FIG.

【0022】まず初期値セット処理(701)でランダ
ムアクセスメモリ3にある変換文字の取り出し/格納位
置を管理するポインタ(以下、Pbと呼ぶ)と、図8に
示す、かなと英数字を対応付けたテーブル(以下、かな
−英数変換テーブルと呼ぶ)を検索するポインター(以
下、Pcと呼ぶ)に「1」をセットする。また、入力文
字格納バッファに格納されている文字を変換し、図5の
502に示す変換後の文字を格納するバッファ(以下、
変換文字格納バッファと呼ぶ)を、例えばNULLクリ
アする。
First, in the initial value setting process (701), a pointer (hereinafter referred to as Pb) for managing the extraction / storing position of the converted character in the random access memory 3 is associated with kana and alphanumeric characters shown in FIG. "1" is set to the pointer (hereinafter, referred to as Pc) for searching the table (hereinafter, referred to as kana-alphanumeric conversion table). Further, the character stored in the input character storage buffer is converted, and the buffer for storing the converted character shown in 502 of FIG.
The conversion character storage buffer) is cleared by, for example, NULL.

【0023】次に、図4の905に示す文字入力時の文
字入力モードをチェックし(702)、「英数」モードの
入力であれば処理704に移る。
Next, the character input mode at the time of character input shown in 905 of FIG. 4 is checked (702), and if it is the "alphanumeric" mode input, the process proceeds to step 704.

【0024】前記チェック処理で、「英数」モード以外
の文字入力モードで入力した文字は字種の変更処理(7
03)で、入力文字格納バッファに格納されている、例
えば「こんぴゅーたぐらふぃっく」というひらがな文字
であれば、「カタカナ」904対応キーの入力で「コンピ
ュータグラフィック」というカタカナ文字に、または、
「カレハガッコウヘイッタ」というカタカナ文字にであ
れば「ひらがな」903対応キーの入力で「かれはがっこ
うへいった」というひらがな文字に訂正し、本処理を終
了後,訂正後の文字を表示装置7に再表示して(11
0)処理を終了する。
In the above checking process, the characters entered in a character input mode other than the "alphanumeric" mode are changed in character type (7
In 03), for example, if there is a Hiragana character such as "konpyutagurafikku" stored in the input character storage buffer, the katakana character of "computer graphic" is entered by pressing the "katakana" 904-compatible key, or
If it is a katakana character called "Karehagakkouheitta", press the "Hiragana" 903-compatible key to correct it to the Hiragana character "Karehagakkouheta", and after this process, display the corrected character. Redisplay on device 7 (11
0) End the process.

【0025】字種の変更に際しては、例えばJISC6226で
決められている区コード(ひらがな:4区,カタカナ:
5区)を入れ替えることによって実現できる。
When changing the character type, for example, the ward code defined in JIS C6226 (Hiragana: 4 wards, Katakana:
It can be realized by replacing (5 wards).

【0026】また、間違って「ひらがな」または「カタ
カナ」モードで入力すべきところを「英数」モードで入
力した英数字列であれば、入力文字格納バッファのPb
の示す位置の文字と、かなー英数変換テーブルの英数字
テーブルのPcの示す文字が同一であるかを判定する
(704)。
If an alphanumeric string is entered in the "alphanumeric" mode when it should be entered in the "hiragana" or "katakana" mode by mistake, then Pb of the input character storage buffer is used.
It is determined whether the character at the position indicated by and the character indicated by Pc in the alphanumeric table of the kana-alphanumeric conversion table are the same (704).

【0027】判定の結果、異なった文字であればPcを
「1」増加させ(711)、かな−英数テーブルの検索
を終了したかを判定する(712)。検索が終了してい
なければ処理704に移り、検索が終了したならば、入
力文字格納バッファのPbの示す位置の文字を変換文字
格納バッファのPbの示す位置に格納し(713)処理
709に移る。
As a result of the judgment, if the characters are different, Pc is increased by "1" (711), and it is judged whether or not the search of the kana-alphanumeric table is completed (712). If the search is not completed, the process proceeds to step 704. If the search is completed, the character at the position indicated by Pb in the input character storage buffer is stored in the position indicated by Pb in the converted character storage buffer (713) and the process proceeds to process 709. .

【0028】前記判定の結果、同一文字であれば、選択
キー群203が「ひらがな」903対応キー、または
「カタカナ」904対応キーであるかを判定する(70
5)。判定の結果「ひらがな」903対応キーであれば、
ひらがなテーブル802のPcの示す位置の文字を、変
換文字格納バッファのPbの示す位置に格納し(70
6)、「カタカナ」904対応キーであれば、カタカナ
テーブル803のPcの示す位置の文字を、変換文字格
納バッファのPbの示す位置に格納する(707)。
If the result of the determination is that the characters are the same, it is determined whether the selection key group 203 is a "Hiragana" 903 compatible key or a "Katakana" 904 compatible key (70).
5). As a result of the determination, if the key corresponds to “Hiragana” 903,
The character at the position indicated by Pc in the Hiragana table 802 is stored in the position indicated by Pb in the converted character storage buffer (70
6) If the key corresponds to "katakana" 904, the character at the position indicated by Pc in the katakana table 803 is stored at the position indicated by Pb in the converted character storage buffer (707).

【0029】次に、Pcに初期値「1」をセットし(7
08)、Pbを「1」増加させる(709)。入力文字
格納バッファ内の全ての文字について変換処理を施した
か(Pa≦Pb)を判定し(710)、変換処理が終了
したならば、変換文字格納バッファの文字を入力文字格
納バッファに出力し(714)本処理を終了後、訂正後
の文字を表示装置7に再表示し(110)、本制御本処
理を終了する。
Next, an initial value "1" is set in Pc (7
08) and increase Pb by "1" (709). It is judged whether all the characters in the input character storage buffer have been converted (Pa ≦ Pb) (710). When the conversion processing is completed, the characters in the converted character storage buffer are output to the input character storage buffer ( 714) After this processing is finished, the corrected characters are displayed again on the display device 7 (110), and this control main processing is finished.

【0030】変換処理が終了していなければ処理704
に移り、次の文字について変換処理を継続する。
If the conversion processing is not completed, the processing 704
Then, the conversion process is continued for the next character.

【0031】本処理により、「カタカナ」で入力すべき
文字を「ひらがな」で入力してしまった場合、反対に
「ひらがな」で入力すべき文字を「カタカナ」で入力し
てしまった場合の字種の訂正や、例えば、「ひらがな」
モードで「アメリカ」と入力すべきところを、間違って
「英数」モードで入力した場合、表示装置7には「3/
1t」と入力文字が表示される。前記の如く既に入力し
た「3/1t」との文字を、当初入力しようとした「ひ
らがな」モードの「あめりか」に容易に訂正できる。
By this processing, when the characters to be input in "Katakana" are input in "Hiragana", on the contrary, the characters to be input in "Hiragana" are input in "Katakana". Seed corrections, eg "Hiragana"
If you mistakenly enter "America" in the mode and enter it in the "alphanumeric" mode, the display device 7 displays "3 /
The input character "1t" is displayed. As described above, the characters “3 / 1t” that have already been input can be easily corrected to “Amerika” in the “Hiragana” mode that was originally input.

【0032】さて、前記選択キー群203が「ひらが
な」903対応キー,「カタカナ」904対応キー以外
であれば、入力中の文字を、英字列変換処理(105)
で英数字列に変換する。ここで英字列変換処理(10
5)の動作について図6のフローチャートを用いて詳し
く説明する。
If the selection key group 203 is other than the "Hiragana" 903 compatible key and the "Katakana" 904 compatible key, the character being input is converted into an alphabetic character string (105).
Convert to an alphanumeric string with. Here, the character string conversion process (10
The operation 5) will be described in detail with reference to the flowchart of FIG.

【0033】まず初期値セット処理(601)でPb,
Pcに「1」をセットする。また、RCに「0」をセッ
トし、変換文字格納バッファをNULLクリアする。
First, in the initial value setting process (601), Pb,
Set "1" to Pc. Also, "0" is set in RC and the converted character storage buffer is cleared by NULL.

【0034】次に、入力文字格納バッファのPbに示す
文字について文字種の判定を行い(602)、ひらがな
の場合は、かな−英数変換テーブルのひらがなテーブル
802のPcの示す位置の文字を、ランダムアクセスメ
モリ3にある文字ワークエリア503にセットし(60
4)、カタカナの場合は、かな−英数変換テーブルのカ
タカナテーブル803のPcの示す位置の文字を、文字
ワークエリア503にセットする(605)。文字種がひ
らがな,カタカナ以外であれば、入力文字格納バッファ
のPbの示す位置の文字を変換文字格納バッファのPb
の示す位置にセットし(603)、処理609へ移る。
Next, the character type of the character indicated by Pb in the input character storage buffer is determined (602), and in the case of hiragana, the character at the position indicated by Pc in the hiragana table 802 of the kana-alphanumeric conversion table is randomly selected. Set it in the character work area 503 in the access memory 3 (60
4) In the case of katakana, the character at the position indicated by Pc in the katakana table 803 of the kana-alphanumeric conversion table is set in the character work area 503 (605). If the character type is other than Hiragana or Katakana, the character at the position indicated by Pb in the input character storage buffer is converted into Pb in the converted character storage buffer.
Is set at the position indicated by (603), and the process proceeds to step 609.

【0035】入力文字格納バッファのPbの示す位置の
文字がひらがな、またはカタカナであれば、文字ワーク
エリア503に格納されている文字と同一であるかを判
定する(606)。
If the character at the position indicated by Pb in the input character storage buffer is hiragana or katakana, it is determined whether it is the same as the character stored in the character work area 503 (606).

【0036】判定の結果、異なった文字であればPcを
「1」増加させ(611)、かな−英数変換テーブルの
検索を終了したかを判定し(612)、テーブル検索が
終了していなければ処理602に移る。判定の結果、か
な−英数変換テーブルに一致する文字が無かった場合
は、RCに異常終了を示す情報として「1」をセットし
(613)処理を終了する。
As a result of the judgment, if the characters are different, Pc is increased by "1" (611), it is judged whether the search of the kana-alphanumeric conversion table is completed (612), and the table search must be completed. If so, the process proceeds to process 602. If there is no matching character in the kana-alphanumeric conversion table as a result of the determination, "1" is set in RC as the information indicating abnormal termination (613), and the process is terminated.

【0037】入力文字格納バッファのPbを示す文字
と、文字ワークエリア503に格納されている文字が同
一であれば、かな−英数変換テーブルの英字テーブル8
01のPcの示す位置の英数字を、変換文字格納バッフ
ァのPbの示す位置にセットし(607)、Pcに初期
値「1」をセット後(608)、Pbを「1」増加させ
る(609)。
If the character indicating Pb of the input character storage buffer is the same as the character stored in the character work area 503, the alphabet table 8 of the kana-alphanumeric conversion table.
The alphanumeric character at the position indicated by Pc of 01 is set at the position indicated by Pb in the conversion character storage buffer (607), and after the initial value "1" is set in Pc (608), Pb is increased by "1" (609). ).

【0038】入力文字格納バッファ内の全ての文字につ
いて変換処理を施したか(Pa≦Pb)を判定し(61
0)、変換処理が終了したならば本処理を終了し、後述
の処理(106)に移り、変換処理が終了していなけれ
ば処理602に移り、次の文字について変換処理を継続
する。
It is judged whether all the characters in the input character storage buffer have been converted (Pa≤Pb) (61).
0), if the conversion process is completed, this process is ended, the process proceeds to the process (106) described later, and if the conversion process is not completed, the process proceeds to process 602, and the conversion process is continued for the next character.

【0039】本処理を実行することにより、例えば「ロ
ーマ字ひらがな」モードで「ほんしようにもとづき
(1)」と入力すべきところを、間違って「ひらがな」
モードで入力した場合、入力文字格納バッファには「く
らみみとにんらなみにもらからしなのにゆぬよ」という
文字が格納される。前記入力文字格納バッファの文字
を、変換文字格納バッファに「honnsiyounimotoduki
(1)]という英数字列に変換し格納することができ
る。
By executing this processing, for example, in the "Romaji Hiragana" mode, the place where "Honsemoto based (1)" should be mistakenly input as "Hiragana".
When inputting in the mode, the character "Kurami and Niranami Minara Karana Shiranai Yunuyo" is stored in the input character storage buffer. The characters in the input character storage buffer are stored in the converted character storage buffer as "honnsiyounimotoduki".
(1)] can be converted into an alphanumeric string and stored.

【0040】次に、前記英字列変換処理(105)の終
了結果(RC)を調べ(106)、RC=1(異常終
了)の場合は、異常処理(113)を行い、上記で述べ
た如く異常音を出力し変換制御処理を終了する。
Next, the end result (RC) of the alphabetic character string conversion process (105) is checked (106), and if RC = 1 (abnormal end), the abnormal process (113) is executed, and as described above. An abnormal sound is output and the conversion control process ends.

【0041】RC=0(正常終了)の場合は、変換文字
格納バッファに格納されている、例えば前記の「honnsi
younimotoduki(1)」をローマ字変換処理(20)に引
き渡し、英数字列からローマ字つづりのひらがな文字
「ほんしようにもとづき(1)」に変換し、変換文字格納
バッファに再度格納する。
When RC = 0 (normal end), for example, the above-mentioned "honnsi" is stored in the converted character storage buffer.
"younimotoduki (1)" is passed to the Roman character conversion processing (20) to convert from the alphanumeric string to the Roman character spelled Hiragana character "Honsho Momotoki (1)" and stored again in the converted character storage buffer.

【0042】次に、選択キー文203のキー情報を判定
し(107)、入力中の文字を訂正する指示が図4の9
0に示すマトリクスの「ローマ字ひらがな」901対応
キーであれば、変換文字格納バッファの文字を入力文字
格納バッファに出力し(109)、「ローマ字カタカナ」9
02対応キーであれば、変換文字格納バッファのひらが
な文字に対し、字種の入れ替えを行いカタカナ文字に変
更後(108)、入力文字格納バッファに出力し(10
9)、入力文字格納バッファの内容を表示装置7に再表
示して(110)本制御処理を終了する。
Next, the key information of the selection key sentence 203 is judged (107), and an instruction to correct the character being input is 9 in FIG.
If the key corresponds to the “Roman character hiragana” 901 in the matrix shown in 0, the characters in the converted character storage buffer are output to the input character storage buffer (109), and “Romaji Katakana” 9
If it is a 02 compatible key, the hiragana characters in the converted character storage buffer are changed in type and changed to katakana characters (108), and then output to the input character storage buffer (10
9) Then, the contents of the input character storage buffer are re-displayed on the display device 7 (110), and this control process is terminated.

【0043】本制御処理により、「ローマ字ひらがな」
モードや「ローマ字カタカナ」モードで入力すべき文字
を、間違って「英数」モードで入力してしまった場合で
も、入力した英数字から、「ひらがな」または「カタカ
ナ」文字に容易に訂正できる。
By this control processing, "Romaji Hiragana" is displayed.
Even if you mistakenly enter the characters that should be entered in the mode or "Romaji Katakana" mode in the "alphanumeric" mode, you can easily correct the entered alphanumeric characters to "Hiragana" or "Katakana" characters.

【0044】[0044]

【発明の効果】本発明によれば、文字入力モードを間違
えて入力した文字を、既に入力した文字を削除して再入
力することなく変換でき使用者の負担を軽減できる。
According to the present invention, a character input by mistakenly in the character input mode can be converted without deleting the already input character and re-inputting it, thereby reducing the burden on the user.

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

【図1】入力文字訂正の制御処理フローチャート。FIG. 1 is a flowchart of a control process of input character correction.

【図2】かな漢字変換装置のブロック図。FIG. 2 is a block diagram of a kana-kanji conversion device.

【図3】キー配置図。FIG. 3 is a key layout diagram.

【図4】文字訂正内容の選択指示画面を示す図。FIG. 4 is a diagram showing a screen for selecting a character correction content.

【図5】文字格納バッファを示す図。FIG. 5 is a diagram showing a character storage buffer.

【図6】入力文字を英字に変換する英字変換処理フロー
チャート。
FIG. 6 is an alphabetic character conversion processing flowchart for converting an input character into an alphabetic character.

【図7】字種の変更等を行うひらがな/カタカナ訂正処
理フローチャート。
FIG. 7 is a hiragana / katakana correction processing flowchart for changing the character type.

【図8】ひらがな,カタカナから英字に変換するかな−
英字変換テーブル。
[Figure 8] I wonder if Hiragana or Katakana will be converted to English-
Alphabet conversion table.

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

10…英字列変換処理、20…ローマ字変換処理、30
…ひらがな/カタカナ訂正処理。
10 ... Alphabet string conversion processing, 20 ... Roman character conversion processing, 30
… Hiragana / Katakana correction processing.

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 9288−5L G06F 15/20 510 C Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location 9288-5L G06F 15/20 510 C

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】かな漢字変換の対象となるカナ文字や英数
字等を入力する入力装置と,前記入力装置から入力され
たカナ文字や英数字等を記憶する記憶装置と,入力され
たカナ文字や英数字等を可視的に表示する表示装置と,
これらの制御を行う制御装置から構成される文書作成装
置において、 設定された字種と入力モ−ドに対して、異なる字種でし
かも前記設定された入力モードと同一の入力モードで入
力された文字列を変換する際、前記入力された文字列を
英数字文字列に変換した後に前記設定された入力モード
の文字列に変換することを特徴とする文書作成方法。
1. An input device for inputting kana characters, alphanumeric characters, etc. to be converted into kana-kanji, a storage device for storing kana characters, alphanumeric characters, etc. input from the input device, and input kana characters, A display device that visually displays alphanumeric characters,
In a document preparation device composed of a control device for performing these controls, the input is made in a different character type and in the same input mode as the set input mode for the set character type and input mode. When converting a character string, the input character string is converted into an alphanumeric character string and then converted into a character string in the set input mode, which is a document creating method.
JP6238769A 1994-10-03 1994-10-03 Document preparing method Pending JPH07168830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6238769A JPH07168830A (en) 1994-10-03 1994-10-03 Document preparing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6238769A JPH07168830A (en) 1994-10-03 1994-10-03 Document preparing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP1056478A Division JPH02297105A (en) 1989-03-10 1989-03-10 Document generation device

Publications (1)

Publication Number Publication Date
JPH07168830A true JPH07168830A (en) 1995-07-04

Family

ID=17035002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6238769A Pending JPH07168830A (en) 1994-10-03 1994-10-03 Document preparing method

Country Status (1)

Country Link
JP (1) JPH07168830A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06236384A (en) * 1993-02-09 1994-08-23 Matsushita Electric Ind Co Ltd Scheduling device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06236384A (en) * 1993-02-09 1994-08-23 Matsushita Electric Ind Co Ltd Scheduling device

Similar Documents

Publication Publication Date Title
US6085206A (en) Method and system for verifying accuracy of spelling and grammatical composition of a document
WO2006059513A1 (en) Display, display control method, and information storage medium
JPS63766A (en) Document processor
JP3209870B2 (en) Character insertion device and insertion method
JPH11328166A (en) Character input device and computer-readable recording medium where character input processing program is recorded
JPH07168829A (en) Document preparing method
JPH07168830A (en) Document preparing method
JP3103179B2 (en) Document creation device and document creation method
JP3382257B2 (en) Character processing apparatus and method
JP2555036B2 (en) Character string input device
JP4050745B2 (en) Text input system
JP2571043B2 (en) Character replacement device
JP2715971B2 (en) Information input device
JP2003015807A (en) Method and program for controlling input
JP2786260B2 (en) Kana-Kanji conversion device
JP2002183132A (en) Information processor
US20010033285A1 (en) Character attribute setting device and method in document preparing apparatus
JPH02297105A (en) Document generation device
JP2846655B2 (en) Character correction method
JPS59142630A (en) Character processing device
JPH09198375A (en) Mathematical expression/chemical formula inputting and editing system
JPH08329052A (en) Reading and notation converting method
JPH01318156A (en) Document processor
JPS6293748A (en) Character converting device
JPH08235174A (en) Japanese syllabary and chinese character converting device and its environment setting method