JPH0447447A - Character processor - Google Patents

Character processor

Info

Publication number
JPH0447447A
JPH0447447A JP2156324A JP15632490A JPH0447447A JP H0447447 A JPH0447447 A JP H0447447A JP 2156324 A JP2156324 A JP 2156324A JP 15632490 A JP15632490 A JP 15632490A JP H0447447 A JPH0447447 A JP H0447447A
Authority
JP
Japan
Prior art keywords
character
variant
characters
displayed
variant form
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
JP2156324A
Other languages
Japanese (ja)
Inventor
Eiichiro Toshima
英一朗 戸島
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 JP2156324A priority Critical patent/JPH0447447A/en
Publication of JPH0447447A publication Critical patent/JPH0447447A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent selection of erroneous variant form characters by displaying variant form character candidates in a size larger than normal characters at the time of displaying conversion candidates for variant form character conversion. CONSTITUTION:Characters are set to a smaller size when a window for display of a list of variant form character candidates is opened, and candidate numbers on the list of variant form character candidates are displayed in the small size. Next, characters are set to a larger size and variant form character candidates are displayed in a larger size hereafter. Since variant form characters are displayed in the large size differently from normal characters at the time of displaying a list of variant form candidates of, for example, 'ken(Chinese character)' in the window, faint differences among variant form characters are found to reduce the probability of erroneous selection.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は漢字仮名混り文を入力、編集する文字処理装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character processing device for inputting and editing sentences containing kanji and kana.

[従来の技術] 現在、日本ワードプロセッサなどの文字処理装置は漢字
仮名混り文の入力を仮名漢字変換を使って行なうことが
一般的である。
[Prior Art] Currently, character processing devices such as Japanese word processors generally input sentences containing kanji and kana using kana-kanji conversion.

仮名漢字変換は辞書を参照することにより、入力された
読み列を漢字に変換するものである。ところが、辞書を
記憶するメモリ容量の関係で、あらゆる単語が辞書に登
録されているとは限らない。この様に登録されない単語
の中には語量的に難解な単語と同様に、表記が一般的で
ない単語、例えば、異体字で表記される単語も含まれて
いる。
Kana-kanji conversion converts the input pronunciation sequence into kanji by referring to a dictionary. However, due to memory capacity for storing dictionaries, not all words are registered in dictionaries. Words that are not registered in this way include words that are not commonly written, such as words that are written in different characters, as well as words that are difficult to understand in terms of word volume.

例えば、「検針」という人名はある程度−船釣な姓であ
るので仮名漢字変換用辞書に登録されているのが普通で
ある。しかし「松」を異体字に変えた「否野」は珍しい
姓なので相当大容量の辞書でないと登録されない。
For example, the person's name ``Meter Reading'' is a surname with a certain degree of meaning, so it is usually registered in a kana-kanji conversion dictionary. However, ``Nuno'', which is a variant of ``Matsu'', is an unusual surname, so it can only be registered in a fairly large-capacity dictionary.

この様に、特に人名には異体字が使用される可能性が高
いが、ところが、異体字の人名を全て対応しようとして
も、組み合わせ数の問題でとても有限容量の辞書には登
録できない。
In this way, there is a high possibility that variant characters will be used especially for personal names, but even if we tried to accommodate all of the variant names, we would not be able to register them in a dictionary with a very limited capacity due to the number of combinations.

そこで、上記の問題を解決するために、異体字変換とい
う手法が提案されている。これは辞書上に緯準的な字体
の単語(例えば「検針」)だけを登録しておき、異体字
の単語(例えば「否野」)は標準的な単語を異体字変換
することで入力しようというものである。
Therefore, in order to solve the above problem, a method called variant character conversion has been proposed. To do this, register only words with standard fonts (for example, ``meter reading'') in the dictionary, and enter words with variant fonts (for example, ``nono'') by converting standard words into variant fonts. That is what it is.

上言己の手法によれば、例えば、「検針」の「松」のと
ころにカーソルを合わせ、「異体字変換」を指示すると
、「松」が「杏」に変換される。
According to Kamigonmi's method, for example, if you move the cursor to ``matsu'' in ``meter reading'' and instruct ``convert variant characters,''``pine'' will be converted to ``anzu.''

「崎」 「埼」 「碕」のように異体字の候補が複数個
あるときには異体字変換を複数回指示することになる。
When there are multiple candidates for variant characters, such as ``saki'', ``sai'', and ``saki'', variant character conversion is instructed multiple times.

例えば、「崎」を「碕」に変換するときは以下の様に操
作する。「崎」を異体字変換すると「埼」になる。これ
は望みの候補でないので、更に異体字変換すると「碕」
になり、ここで操作を終了する。
For example, to convert "Saki" to "Saki", operate as follows. If you convert "Saki" into a variant character, it becomes "Sai". This is not the desired candidate, so if you convert it further, it will become ``碕''.
, and the operation ends here.

[発明が解決しようとしている課題] ところが、異体字はもともと、良く似た字体を持ってい
るため互いに識別しに(いという特長を持っている。従
って、変換された異体字が本当に正しい異体字であるか
は相当注意深く確認する必要があり、間違って別の異体
字を選択してしまう可能性があるという欠点があった。
[Problem to be solved by the invention] However, because variant characters originally have very similar fonts, they have the characteristic of being difficult to distinguish from each other. It was necessary to check very carefully whether this was the case, and there was a drawback that there was a possibility of selecting a different variant character by mistake.

[課題を解決するための手段(及び作用)]本発明は、
異体字変換し、変換候補を表示する際、異体字の候補を
通常の文字よりも拡大して表示することにより、オペレ
ータがそれぞれの異体字の相違を良く判別できる様に、
間違った異体字が選択されるのを防止しようというもの
である。
[Means for solving the problem (and action)] The present invention has the following features:
When performing variant glyph conversion and displaying conversion candidates, the variant glyph candidates are displayed larger than normal characters so that the operator can better discern the differences between each variant glyph.
This is to prevent the wrong variant characters from being selected.

[実施例] 以下図面を参照しながら本発明の詳細な説明する。[Example] The present invention will be described in detail below with reference to the drawings.

第1図は本発明の全体構成の一例である。FIG. 1 is an example of the overall configuration of the present invention.

図示の構成において、CPUは、マイクロプロセッサで
あり、文字処理のための演算、論理判断等を行ない、ア
ドレスバスAB、コントロールバスCB、データバスD
Bを介して、それらのバスに接続された各構成要素を制
御する。
In the illustrated configuration, the CPU is a microprocessor that performs calculations, logical judgments, etc. for character processing, and uses an address bus AB, a control bus CB, and a data bus D.
B to control each component connected to those buses.

アドレスバスABはマイクロプロセッサCPUの制御の
対象とする構成要素を指示するアドレス信号を転送する
。コントロールバスCBはマイクロプロセッサCPUの
制御の対象とする各構成要素のコントロール信号を転送
して印加する。データバスDBは各構成機器相互間のデ
ータの転送を行なう。
Address bus AB transfers address signals indicating the components to be controlled by the microprocessor CPU. The control bus CB transfers and applies control signals for each component to be controlled by the microprocessor CPU. The data bus DB transfers data between each component device.

つぎにROMは、読呂し専用の固定メモリであり、第8
図〜第11図につき後述するマイクロプロセッサCPU
による制御の手順、及び異体字変換用の辞書IDICを
記憶させてお(。
Next, ROM is a fixed memory only for reading, and the 8th
Microprocessor CPU to be described later with reference to FIGS.
(.

また、RAMは、1ワード16ビツトの構成の書込み可
能のランダムアクセスメモリであって、各構成要素から
の各種データの一時記憶に用いる。TBUFはテキスト
バッファであり、入力編集中のテキストデータが記憶さ
れる。ILISTは異体字リストであり、異体字変換中
に必要な異体字候補を異体字辞書IDICより抜きだし
て一時的に記憶する。GAREAは非標準文字エリアで
あり、CGに存在しない非標準の文字のベターンを文字
コードと対応づけて記憶する。
Further, the RAM is a writable random access memory having a configuration of 1 word and 16 bits, and is used for temporary storage of various data from each component. TBUF is a text buffer in which text data being input and edited is stored. ILIST is a list of variant characters, which extracts variant character candidates needed during variant character conversion from the variant character dictionary IDIC and temporarily stores them. GAREA is a non-standard character area that stores patterns of non-standard characters that do not exist in CG in association with character codes.

KBはキーボードであって、アルファベットキ、ひらか
なキー、カタカナキー等の文字言e号人カキ−1及び、
異体字変換キー、前画面キー、次画面キー等の本文字処
理装置に対する各種機能を指示するための各種のファン
クションキーを備えている。
KB is a keyboard with character words such as alphabet key, hirakana key, katakana key, etc.
It is equipped with various function keys for instructing various functions to the character processing device, such as a variant character conversion key, a previous screen key, and a next screen key.

DISKは文書データ、非標準文字ファイルGFILE
等を記憶するための外部記憶部である。
DISK is document data, non-standard character file GFILE
This is an external storage unit for storing information such as.

テキストバッファTBUF上に作成された文書はこの外
部記憶部に保管される。保管されたデータはキーボード
の指示により、必要な時呼び出される。また、非標準文
字ファイルGFILEが格納されている。CGに存在し
ない非標準の文字が文書中に出現したときはGF I 
LEより文字パターンを読込み処理することになる。
The document created on the text buffer TBUF is stored in this external storage. The stored data can be recalled when necessary using keyboard instructions. Additionally, a non-standard character file GFILE is stored. GF I when non-standard characters that do not exist in CG appear in the document.
Character patterns are read from LE and processed.

CRはカーソルレジスタである。CPUにより、カーソ
ルレジスタの内容を読み書きできる。
CR is a cursor register. The CPU can read and write the contents of the cursor register.

後述するCRTコントローラCRTCは、ここに蓄えら
れたアドレスに対応する表示装置CRT上の位置にカー
ソルを表示する。
A CRT controller CRTC, which will be described later, displays a cursor at a position on the display device CRT corresponding to the address stored here.

DBUFは表示用バッファメモリで、表示すべきデータ
のパターンを蓄える。DBUFにドツトパターンを書き
込むことにより任意のパターンを表示することができる
。テキストの内容を表示するときはテキストバッファT
BUFの内容に応じて表示パターンがDBUFに作成さ
れることにより、表示されることになる。
DBUF is a display buffer memory that stores data patterns to be displayed. Any pattern can be displayed by writing a dot pattern to DBUF. Text buffer T when displaying text contents
A display pattern is created in the DBUF according to the contents of the BUF, and is displayed.

CRTCはカーソルレジスタCR及びバッファDBUF
に蓄えられた内容を表示器CRTに表示する役割を担う
CRTC is cursor register CR and buffer DBUF
It plays the role of displaying the contents stored in the CRT on the display device CRT.

またCRTは陰極線管等を用いた表示装置であり、その
表示装置CRTにおけるドツト構成の表示パターンおよ
びカーソルの表示をCRTコントローラで制御する。
Further, a CRT is a display device using a cathode ray tube or the like, and a CRT controller controls the dot-configured display pattern and cursor display on the display device CRT.

さらに、CGはキャラクタジェネレータであって、表示
装置CRTに表示する文字、記号のパターンを記憶する
ものである。通常は書込不可能であり、標準的な文字、
例えばJIS X 020Bコードの第1水準、第2水
準文字のパターンのみを記憶する。JIS X 020
gコードの第1水準、第2水準以外の文字については非
標準文字ファイル中にパターンが格納されている。
Furthermore, CG is a character generator that stores patterns of characters and symbols to be displayed on the display device CRT. Usually non-writable, standard characters,
For example, only the first and second level character patterns of the JIS X 020B code are stored. JIS X 020
Patterns for characters other than the first and second level g codes are stored in non-standard character files.

かかる各構成要素からなる本発明文字処理装置において
は、キーボードKBからの各種の入力に応じて作動する
ものであって、キーボードKBからの入力が供給される
と、まず、インタラブド信号がマイクロプロセッサCP
Uに送られ、そのマイクロプロセッサCPUがROM内
に記憶しである各種の制御信号を読出し、それらの制御
信号に従って各種の制御が行なわれる。
The character processing device of the present invention, which is composed of each of these components, operates in response to various inputs from the keyboard KB, and when input from the keyboard KB is supplied, an interwoven signal is first sent to the microprocessor CP.
The microprocessor CPU reads various control signals stored in the ROM, and various controls are performed in accordance with these control signals.

第2図は本発明装置による異体字変換の変換例を示した
図である。
FIG. 2 is a diagram showing an example of variant character conversion by the apparatus of the present invention.

2−1は通常の文書編集画面を示した図である。文書中
には「6碕」 「6崎」 「剣持」 「剣持」「否野」
 「検針」が入力されている。ここで、一番目の「剣持
」を「剣持」に変換したいのでカーソルは「剣Δ上にあ
る。
2-1 is a diagram showing a normal document editing screen. In the document are ``6saki'', ``6saki'', ``kenmochi'', ``kenmochi'', and ``nano''.
"Meter reading" has been entered. Here, we want to convert the first "Kenmochi" to "Kenmochi", so the cursor should be "on Kenmochi".

2−2は異体字変換キーを打鍵した状態の画面である。2-2 is a screen with the variant character conversion key pressed.

「剣」の異体字候補の一覧がウィンドウ中に表示されて
いる。通常文字と異なり、異体字は大きく表示されてい
るので、細かな字体の違いが分かり、誤選択の可能性は
少ない。
A list of possible variant characters for ``sword'' is displayed in the window. Unlike regular characters, variant characters are displayed in a large size, so you can see the subtle differences in the font, and there is less chance of incorrect selection.

−画面目には望む異体字候補が存在しなかったので次画
面キーを打鍵すると2−3の画面になり、次の異体字候
補−覧が表示される。
- Since the desired variant character candidate did not exist on the second screen, pressing the next screen key brings up screen 2-3, where a list of the next variant character candidates is displayed.

この画面で望む異体字「匍」があるので、それに対応す
る数字「1」を打鍵すると、「創」が文書中の「剣」と
置き換わり、異体字−覧ウイントウは消える。
Since there is a variant character ``匍'' that you want on this screen, if you press the number ``1'' that corresponds to it, ``sword'' will be replaced with ``sword'' in the document, and the variant character display window will disappear.

第3図はテキストバッファTBUFの構成を示した図で
ある。
FIG. 3 is a diagram showing the structure of the text buffer TBUF.

テキストバッファは文字の羅列から構成され、各文字は
2バイトで構成される。文字コードは、JIS X a
2asコードに準拠したコードを使用する。
A text buffer consists of a sequence of characters, each character consisting of 2 bytes. The character code is JIS X a
Use a code that complies with the 2as code.

JIS X 0208:I−ド第1水準、JIS X 
0208:l−ド第2水準に含まれない文字の文字コー
ドはJIS X 0208コードの空きを利用する。例
えば、16ビツトのコード(7)MSBを1にし、JI
S X 0208r −ト、!l:重ならない様に決め
る。
JIS X 0208: I-do 1st level, JIS X
0208: Character codes of characters not included in the second level of the L-code utilize spaces in the JIS X 0208 code. For example, set the 16-bit code (7) MSB to 1, and set the JI
S X 0208r-to,! l: Decide so that they do not overlap.

第4図は異体字辞書IDICの構成を示した図である。FIG. 4 is a diagram showing the structure of the variant character dictionary IDIC.

漢字コードと異体字番号が対応づけて格納される。異体
字番号はその異体字がどのグループに属するかを示して
いる。例えば、「剣J  rfillJ  rQJ  
ra」rtJIJ  rEJは同じ異体字のグループに
属するので、同じ異体字番号rloOJが付けられてい
る。「島」 「嶋」 「嶌」も同じ異体字のグループに
属するので同じ異体字番号rl 01Jが付けられてい
る。
Kanji codes and variant character numbers are stored in association with each other. The variant character number indicates to which group the variant character belongs. For example, “KenJ rfillJ rQJ
ra'rtJIJ rEJ belong to the same variant character group, so they are given the same variant number rloOJ. Since "shima", "shima", and "嶌" also belong to the same variant character group, they are given the same variant character number rl 01J.

第5図は異体字リストILISTの構成を示した図であ
る。
FIG. 5 is a diagram showing the structure of the variant character list ILIST.

異体字リストは異体字変換を行なうときに異体字辞書I
DICより必要な異体字を抜き出して作成したテーブル
であり、このテーブルに基づいて異体字の候補−覧表示
、選択操作を処理する。
The variant character list is used when converting variant characters.
This table is created by extracting necessary variant characters from the DIC, and a list of variant characters is displayed and selection operations are performed based on this table.

異体字個数はこのリストに格納されている異体字の個数
である。
The number of variant characters is the number of variant characters stored in this list.

異体字個数を例えばnとすると、異体字1〜異体字nが
その次から格納される。
For example, if the number of variant characters is n, variant characters 1 to n are stored from the next.

例えば、「剣」の異体字−覧を表示中は「剣」r611
4r剣」 「劃」 「薊」 「靭」が異体字リストに格
納される。
For example, while displaying the list of variant characters for "ken", "ken" r611
``4r ken'', ``劃'', ``薊'', and ``strong'' are stored in the variant character list.

第6図は非標準文字エリアGAREAの構成を示した図
である。
FIG. 6 is a diagram showing the configuration of the non-standard character area GAREA.

CG中に格納されている文字パターンは、−船釣に使用
される文字、例えば、JIS X 020gコードで記
述される文字についてのみである。それ以外の標準でな
い文字、例えば、JIS X 0208コード外の文字
については、その一部の使用する文字だけをこの非標準
文字エリアGAREAに登録し、表示、印刷等の処理を
行なうことになる。
The character patterns stored in the CG are only characters used for boat fishing, for example, characters written in JIS X 020g code. For other non-standard characters, for example, characters outside the JIS

「登録数」はGAREAに登録されている文字の個数が
格納される。
The "number of registrations" stores the number of characters registered in GAREA.

「登録数」の次の部分から登録文字が「登録数」分だけ
固定長で格納される。
Starting from the part following the "number of registrations", registered characters are stored in a fixed length for the "number of registrations".

各登録文字iは文字コードと、必要なパターンが格納さ
れる。
For each registered character i, a character code and a necessary pattern are stored.

GAREAは高速処理が可能な様にRAM上に配置され
る。
GAREA is arranged on RAM to enable high-speed processing.

第7図は非標準文字ファイルGF I LEの構成を示
した図である。
FIG. 7 is a diagram showing the structure of the non-standard character file GF I LE.

GF I LEにはCG中に格納されていない文字の文
字パターンが網羅されて格納される。その内容は必要に
応じて読み込まれ、必要な文字のパターンのみがGAR
EA中に転送され登録される。
GF I LE stores all character patterns of characters that are not stored in CG. Its contents are read as needed, and only the required character patterns are included in the GAR.
Transferred and registered during EA.

7−1はGF I LEの全体構成を示している。7-1 shows the overall configuration of GF ILE.

「索引部」はGF I LEにアクセスするための索引
部であり、この内容を読むことによって、必要な文字の
文字パターンがどのレコードにあるかが分かる様になっ
ている。「索引部」に引き続く「レコード」には文字パ
ターンが連続して固定長で格納される。レコード内では
、連続する文字コードのパターンは連続して格納される
The "index section" is an index section for accessing GF I LE, and by reading the contents, it is possible to know which record contains the character pattern of the required character. In the "record" following the "index section", character patterns are stored consecutively in a fixed length. Within a record, consecutive character code patterns are stored consecutively.

7−2は索引部の構成を示している。索引部には先頭か
ら文字コードが連続して昇順で格納される。先頭からi
番目の文字コードはレコード号の先頭文字コードを意味
している。従って、目指す文字コードが索引部中のどの
文字コードとどの文字コードの間にあるかを調べること
により、目指す文字コードが格納されているレコードの
番号が分かることになる。レコードの番号が分かればそ
のレコードをアクセスすることにより、目指す文字のパ
ターンを得ることができる。
7-2 shows the structure of the index section. In the index section, character codes are stored consecutively in ascending order from the beginning. i from the beginning
The th character code means the first character code of the record number. Therefore, by checking which character code in the index part the target character code is between, the number of the record in which the target character code is stored can be found. Once the record number is known, the desired character pattern can be obtained by accessing that record.

上述の実施例の動作を第8図以下のフローチャに従って
説明する。
The operation of the above-described embodiment will be explained according to the flowchart shown in FIG. 8 and subsequent figures.

第8図はキー人力を取り込み、処理を行なう部分のフロ
ーチャートである。
FIG. 8 is a flowchart of the part that takes in key human power and performs processing.

ステップ8−1はキーボードからのデータを取り込む処
理である。ステップ8−2で取り込まれたキーの種別を
判定し、各キーの処理ルーチンに分岐する。
Step 8-1 is a process of taking in data from the keyboard. In step 8-2, the type of the retrieved key is determined, and the process branches to a processing routine for each key.

異体字変換キーであったときはステップ8−3に分岐し
、ステップ8−3において第9図に詳述するように異体
字変換処理が行なわれる。
If it is a variant character conversion key, the process branches to step 8-3, and in step 8-3, variant character conversion processing is performed as detailed in FIG. 9.

その他のキーのときはステップ8−4に分岐し、挿入、
削除等の通常の文字処理装置において行なわれるその他
の処理が行なわれる。
For other keys, branch to step 8-4, insert,
Other processing performed in normal character processing devices, such as deletion, is performed.

各キーの処理が終了すると、ステップ8−1に分岐する
When the processing of each key is completed, the process branches to step 8-1.

第9図はステップ8−3の「異体字変換処理」を詳細化
したフローチャートである。
FIG. 9 is a detailed flowchart of the "variant character conversion process" in step 8-3.

ステップ9−1において、テキストバッファTBUFか
らカーソル上にある文字を取り込む。
In step 9-1, the character located on the cursor is fetched from the text buffer TBUF.

ステップ9−2において、第10図に詳述する様に異体
字の候補−覧を表示する。最終的に異体次候補が決定す
ると次のステップに進む。
In step 9-2, a list of alternative glyph candidates is displayed as detailed in FIG. When the next variant candidate is finally determined, the process proceeds to the next step.

ステップ9−3において、決定された異体字候補がもし
、非標準文字であれば、非標準文字エリアGAREAに
登録する。
In step 9-3, if the determined variant character candidate is a non-standard character, it is registered in the non-standard character area GAREA.

ステップ9−4において、決定された異体字候補をテキ
ストバッファTBUF上で元の文字と置換える処理を行
なう。
In step 9-4, processing is performed to replace the determined variant character candidate with the original character on the text buffer TBUF.

第10図はステップ9−2の「異体字−覧表示」を詳細
化したフローチャートである。
FIG. 10 is a detailed flowchart of step 9-2, ``displaying a list of variant characters''.

ステップ10−1において、指定された文字に従って異
体字辞書IDICをサーチする。
In step 10-1, the variant character dictionary IDIC is searched according to the specified character.

ステップ1O−2において、サーチ結果に基づいて異体
字リストILISTを作成する。
In step 1O-2, a list of variant characters ILIST is created based on the search results.

ステップ10−3において、もし、異体字リストrLI
sT上に非標準の文字、例えば、JIS X0208コ
ード外の文字が存在すれば、非標準文字ファイルGFI
LEにアクセスし、必要な文字のパターンを取り出す。
In step 10-3, if the variant character list rLI
If non-standard characters exist on sT, for example, characters outside the JIS X0208 code, the non-standard character file GFI
Access LE and extract the required character pattern.

ステップ10−4において、異体字候補−覧を表示する
ためのウィンドウをオーブンする。
In step 10-4, a window for displaying a list of alternative glyph candidates is opened.

ステップ10−5において、文字サイズを小文字に設定
する。
In step 10-5, the font size is set to lowercase.

ステップ10−6において、異体字候補−覧の丈夫に表
示される候補番号を表示する。このときのも次サイズは
小文字であるので、候補番号は小文字で表示されること
になる。
In step 10-6, the candidate numbers that are clearly displayed in the list of variant character candidates are displayed. Since the next size at this time is in lowercase letters, the candidate number will be displayed in lowercase letters.

ステップ10−7において、文字サイズを大文字に設定
する。これにより、これ以降の異体字候補は大文字で表
示されることになる。
In step 10-7, the font size is set to uppercase. As a result, subsequent variant character candidates will be displayed in uppercase.

ステップ10−8において、ループ変数iをOに初期設
定する。
In step 10-8, a loop variable i is initialized to O.

ステップ10−9においてILISTに存在する異体字
を(i+1)番目から3文字分表示する。文字表示を行
なうとき、標準文字(CG内に存在する文字)であれば
、文字コードを指定して表示することになる。非標準文
字(CG内に存在しない文字)のときはステップ10−
3で得られた文字パターンを指定して表示することにな
る。
In step 10-9, three characters from the (i+1)th variant character existing in the ILIST are displayed. When displaying characters, if they are standard characters (characters existing in CG), the character code is specified and displayed. If it is a non-standard character (a character that does not exist in the CG), step 10-
The character pattern obtained in step 3 will be specified and displayed.

このとき文字サイズが大文字になっているので、異体字
は大文字で表示されることになる。
At this time, the font size is set to uppercase, so the variant characters will be displayed in uppercase.

ステップ10−10において、キーボードからのデータ
を取り込む。
In step 10-10, data from the keyboard is captured.

ステップ10−11において、取り込まれたキーの種別
を判定し、各キーの処理ルーチンに分岐する。
In step 10-11, the type of the captured key is determined, and the process branches to a processing routine for each key.

次画面キーのときはステップ10−12に分岐し、iの
値に3を加算する。もし、3を加算したiの値がILI
STの異体字個数をオーバーするときは3の可算は行な
わない。その後、ステップ10−9に分岐する。
If it is the next screen key, the process branches to step 10-12 and 3 is added to the value of i. If the value of i obtained by adding 3 is ILI
If the number of variant characters in ST is exceeded, countability by 3 is not performed. Thereafter, the process branches to step 10-9.

前画面キーのときはステッ゛ブ10−13に分岐し、i
の値から3を減する。もし、3を減じたiの値がマイナ
スになるときは3の減算は行なわない。その後、ステッ
プ10−9に分岐する。
If the previous screen key is pressed, branch to step 10-13 and press i.
Subtract 3 from the value. If the value of i obtained by subtracting 3 becomes negative, the subtraction of 3 is not performed. Thereafter, the process branches to step 10-9.

数字キーのときは異体字候補の選択を意味し、ステップ
to−14に分岐する。
When the number key is pressed, it means selection of a variant character candidate, and the process branches to step to-14.

ステップ10−14において、異体字−覧ウイントウを
クローズする。
In step 10-14, the variant character viewing window is closed.

ステップ10−15において、ILISTの(打鍵され
た数字の値+i)番目の異体字を決定された異体字とし
て圧力し、リターンする。
In step 10-15, the (value of pressed digits+i)th variant character in ILIST is pressed as the determined variant character, and the process returns.

第11図は1文字表示が指示されたときに行なわれる処
理を示したフローチャートである。
FIG. 11 is a flowchart showing the processing performed when one character display is instructed.

ステップ11−1は文字表示の指示がコード指定で行な
われているか、パターン指定で行なわれているか、どち
らであるかを判定する。パターン指定のときはパターン
を求める処理が不要であるのでステップ11−8にスキ
ップする。コード指定のときはステップ11−2に進む
In step 11-1, it is determined whether the character display instruction is made by specifying a code or by specifying a pattern. When specifying a pattern, the process to obtain a pattern is not necessary, so the process skips to step 11-8. When the code is specified, the process advances to step 11-2.

ステップ11−2において指示された文字がCG内にパ
ターンが存在する文字かどうか判定する。CG内に存在
するときはステップ11−3に分岐し、CG内に存在し
ないときはステップ11−4に分岐する。
In step 11-2, it is determined whether the designated character is a character for which a pattern exists in the CG. If it exists in the CG, the process branches to step 11-3, and if it does not exist in the CG, the process branches to step 11-4.

ステップ11−3において、指示された文字のパターン
はCGに存在するので、CGよりパターンをGETL、
ステップ11−8に分岐する。
In step 11-3, since the specified character pattern exists in the CG, GETL the pattern from the CG.
Branching to step 11-8.

ステップ11−4において、指示された文字のパターン
が非標準文字エリアGAREAに存在するかどうかサー
チする。
In step 11-4, a search is made to see if the designated character pattern exists in the non-standard character area GAREA.

ステップ11−5において、もし、GA REAに存在
すれば、ステップ11−6に分岐し、パターンを得る。
In step 11-5, if the pattern exists in the GA REA, the process branches to step 11-6 and the pattern is obtained.

存在しなければステップ11−7に分岐し、表示のしよ
うがないので、特定のパターンを設定する。処理が終れ
ばステップ11−8に分岐する。
If it does not exist, the process branches to step 11-7, and since there is no way to display it, a specific pattern is set. When the processing is completed, the process branches to step 11-8.

ステップ11−8において、ここまでの処理で文字パタ
ーンが決定しているので、文字サイズに合わせてパター
ンを拡大縮小し、実際に表示を行なう。
In step 11-8, since the character pattern has been determined through the processing up to this point, the pattern is enlarged or reduced according to the character size and is actually displayed.

[他の実施例] 以上の説明において、異体字の候補は特定のつイントウ
上に表示されると説明したが、それ以外の方法も考えら
れる。例えば、特定のモニタライン上に表示する実施例
も考久られる。いずれにしても、異体字が通常の文字よ
りも拡大して表示されるのであれば、どの様に表示され
ても本発明の趣旨を損なうものではない。
[Other Embodiments] In the above description, it has been explained that the variant glyph candidates are displayed on a specific point, but other methods are also possible. For example, an embodiment may be considered in which the information is displayed on a specific monitor line. In any case, as long as the variant characters are displayed in a larger size than normal characters, the spirit of the present invention is not impaired no matter how they are displayed.

また、表示されるものとしては異体字のみについて説明
しているが、拡大して表示しないと紛られしいものの選
択に本発明を応用することもできる。
Further, although only variant characters are described as displayed, the present invention can also be applied to selecting characters that are confusing unless enlarged and displayed.

[発明の効果] 以上の説明から明らかなように、本発明によれば、異体
字変換を行なったときに異体字候補が拡大して表示され
るので、紛られしい異体字が存在した場合でも惑わされ
ることなく、自分の希望する異体字を正しく選択できる
ので、誤操作の少ない快適な文字処理装置を実現するこ
とができる。
[Effects of the Invention] As is clear from the above description, according to the present invention, when variant characters are converted, variant characters are enlarged and displayed, so even if a confusing variant exists, Since the user can correctly select the variant character he/she desires without being confused, it is possible to realize a comfortable character processing device with fewer erroneous operations.

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

第1図は本発明の全体構成のブロック図、第2図は本発
明における異体字変換の変換例を示した図、 第3図は本発明における漢字仮名混り文を記憶するテキ
ストバッファTBUFの構成を示した図、 第4図は本発明における異体字辞書IDICの構成を示
した図、 第5図は本発明における異体字変換の途中で作成される
異体字リストILISTの構成を示した図、 第6図は本発明における標準でない文字のパターンをメ
モリ上に記憶する非標準文字エリアGAREAの構成を
示した図、 第7図は本発明における標準でない文字のパターンをデ
ィスク上に格納する非標準文字ファイルGF I LE
の構成を示した図、 第8図〜第11図は本発明に係る文字処理装置の動作を
示すフローチャートである。 DISK   ・・・外部記憶部 CPU   ・・・マイクロプロセッサROM    
・・・読出し専用メモリAM BUF LIST GA  REA DIC GF  I  LE ・・・ランダムアクセスメモリ ・・・テキストバッファ ・・・異体字リスト ・・・非標準文字エリア ・・・異体字辞書 ・・・非標準文字ファイル 第2図 ↓ 異体字変換キー ↓ 次画面 ↓ 自」 第3図 テキストバッファの構成 1m 第6図 非標準文字エリアの構成 ロロ■==■ヨ] 第7図 1)非標準文字ファイルの構成 2)索引部の構成 第8図 第10図
Figure 1 is a block diagram of the overall configuration of the present invention, Figure 2 is a diagram showing an example of variant character conversion in the present invention, and Figure 3 is a diagram of the text buffer TBUF for storing sentences containing kanji and kana in the present invention. Figure 4 is a diagram showing the configuration of the variant character dictionary IDIC in the present invention. Figure 5 is a diagram showing the configuration of the variant character list ILIST created during variant character conversion in the present invention. , FIG. 6 is a diagram showing the configuration of the non-standard character area GAREA in which non-standard character patterns are stored on the memory according to the present invention, and FIG. Standard character file GF I LE
8 to 11 are flowcharts showing the operation of the character processing device according to the present invention. DISK...External storage CPU...Microprocessor ROM
... Read-only memory AM BUF LIST GA REA DIC GF I LE ... Random access memory ... Text buffer ... Variant character list ... Non-standard character area ... Variant character dictionary ... Non-standard Character file Figure 2 ↓ Variant character conversion key ↓ Next screen ↓ Auto'' Figure 3 Structure of text buffer 1m Figure 6 Structure of non-standard character area Rollo ■==■Yo] Figure 7 1) Non-standard character file Structure 2) Structure of index section Fig. 8 Fig. 10

Claims (1)

【特許請求の範囲】 1、漢字仮名混り文から構成される文書を記憶する文書
記憶手段と、 漢字に対して変換すべき異体字を記憶した異体字変換辞
書と、 前記文書上の漢字に対して異体字に変換することを指示
する異体字変換指示手段と、 前記異体字変換指示手段により指示された漢字を前記異
体字辞書を参照しつつ異体字候補に変換する異体字変換
手段と、 前記異体字変換手段により出力された異体字候補を表示
する異体字候補表示手段と、 前記異体字候補表示手段が異体字を表示する際に一般の
文字より識別し易い様に拡大して表示する様制御する制
御手段とを具備することを特徴とする文字処理装置。
[Scope of Claims] 1. Document storage means for storing a document consisting of sentences containing kanji and kana; a variant conversion dictionary that stores variant characters to be converted to kanji; variant character conversion instructing means for instructing to convert the kanji into variant characters; variant character conversion means for converting the kanji instructed by the variant character conversion instruction means into variant character candidates while referring to the variant character dictionary; Variant character candidate display means for displaying the variant character candidates output by the variant character conversion means; and when the variant character candidate display means displays the variant characters, the variant characters are enlarged and displayed so that they are easier to identify than ordinary characters. What is claimed is: 1. A character processing device comprising: a control means for controlling a character;
JP2156324A 1990-06-13 1990-06-13 Character processor Pending JPH0447447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2156324A JPH0447447A (en) 1990-06-13 1990-06-13 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2156324A JPH0447447A (en) 1990-06-13 1990-06-13 Character processor

Publications (1)

Publication Number Publication Date
JPH0447447A true JPH0447447A (en) 1992-02-17

Family

ID=15625303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2156324A Pending JPH0447447A (en) 1990-06-13 1990-06-13 Character processor

Country Status (1)

Country Link
JP (1) JPH0447447A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522330B2 (en) 1997-02-17 2003-02-18 Justsystem Corporation Character processing system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522330B2 (en) 1997-02-17 2003-02-18 Justsystem Corporation Character processing system and method

Similar Documents

Publication Publication Date Title
US5835921A (en) Data processing apparatus for creating and storing a text file from input data
JPH0447447A (en) Character processor
JPH0447445A (en) Character processor
JPH0447446A (en) Character processor
JPS6010348B2 (en) Automatic conversion method for half-width and full-width characters
JPH0447451A (en) Character processor
JP2786260B2 (en) Kana-Kanji conversion device
JP2939063B2 (en) Document processing device
JPH03167660A (en) Character processor
JPH0628062B2 (en) Character processing apparatus and method
JPH03116363A (en) Character processor
JPH0721189A (en) Translation assisting system
JPH0442350A (en) Character processor
JPH04332073A (en) Method and device for processing character
JPH03116364A (en) Character processor
JPH0736902A (en) Electronic dictionary device
JPS61180360A (en) Document editing device
JPH0628060B2 (en) Character processor
JPS6321226B2 (en)
JPS60110074A (en) Character processor
JPS62119665A (en) Word processor
JPH04155467A (en) Character processor
JPS63255768A (en) Character processor
JPH03116362A (en) Character processor
JPH0392958A (en) Character processor