JPH06231123A - External character processor - Google Patents

External character processor

Info

Publication number
JPH06231123A
JPH06231123A JP5019026A JP1902693A JPH06231123A JP H06231123 A JPH06231123 A JP H06231123A JP 5019026 A JP5019026 A JP 5019026A JP 1902693 A JP1902693 A JP 1902693A JP H06231123 A JPH06231123 A JP H06231123A
Authority
JP
Japan
Prior art keywords
character
code
external
font
registered
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
JP5019026A
Other languages
Japanese (ja)
Inventor
Katsuyoshi Maehata
勝義 前畑
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.)
N T T JOHO KAIHATSU KK
Original Assignee
N T T JOHO KAIHATSU KK
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 N T T JOHO KAIHATSU KK filed Critical N T T JOHO KAIHATSU KK
Priority to JP5019026A priority Critical patent/JPH06231123A/en
Publication of JPH06231123A publication Critical patent/JPH06231123A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To easily read out an outputted character string by converting an inputted character code for an external character into a character font or a character code expressing a similar character or reading. CONSTITUTION:When the character code of an external character is received, an external character processor accesses to a similar character table 2A. When a similar character is stored in the table 2A a similar character font is outputted. When no similar character is stored in the table 2A, a registered 'KANA' (Japanese syllabary) character table 2B is accessed and a corresponding 'KANA' character is read out and converted into a character font. When no corresponding 'KANA' character is stored in the table 2B, the whole character string including the external character is converted into 'KANA' characters. When a word registered in a registered word table 2C exists in the converted 'KANA' character string, the registered word is substituted for the word part. Since no unreadable character is included in an outputted character string, the character, string can easily be read out.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字コードを受信し、
対応する文字フォントを出力する装置に関し、特に、文
字コードに対応する文字フォントが装置に記憶されてい
ない場合(いわゆる外字の場合)、この外字に相当する
部分を該外字に類似する文字あるいはかな文字等の文字
フォントに置換して出力する外字処理装置に関する。
The present invention receives a character code,
Regarding a device for outputting a corresponding character font, particularly when a character font corresponding to a character code is not stored in the device (so-called external character), a portion corresponding to this external character is a character similar to the external character or a kana character. The present invention relates to an external character processing device that substitutes a character font for output.

【0002】[0002]

【従来の技術】従来、文字コードを受けて文字フォント
を出力する装置は、文字フォントを記憶してない文字
(外字)の文字コードを受けた場合、これを黒丸、げた
等の特殊記号のフォントに置換して出力している。ま
た、出現頻度の高い外字の場合は、操作者が外字フォン
トを作成・登録し、登録したフォントを出力するように
して対処している。
2. Description of the Related Art Conventionally, a device which receives a character code and outputs a character font, when a character code of a character (external character) for which a character font is not stored is received, uses this as a font of a special symbol such as a bullet or a girder. Is replaced with and output. In addition, in the case of a high-frequency external character, the operator creates and registers the external character font and outputs the registered font.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来の装置で
は、出力文書が外字を含む場合、黒丸やげた等の読めな
い記号が散在するため、出力文書が非常に読みにくくな
ってしまう。また、美的体裁が悪い等の問題がある。
However, in the conventional apparatus, when the output document includes external characters, unreadable symbols such as black circles and burnt letters are scattered, which makes the output document very difficult to read. In addition, there are problems such as poor aesthetic appearance.

【0004】本発明は、上記実状に鑑みてなされたもの
で、外字文字を含んでいる文書を読み易い形で出力する
ことのできる外字処理装置を提供することを目的とす
る。
The present invention has been made in view of the above situation, and an object of the present invention is to provide an external character processing device capable of outputting a document including an external character in a readable form.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の外字処理装置は、文字コードと文字
フォントを対応づけて記憶するテーブルを備え、供給さ
れた文字コードに対応する文字フォントを出力する装置
であり、文字フォントを登録していない文字コード(い
わゆる外字の文字コード)と該文字コードにより指定さ
れる文字の類似文字の文字コードを対応づけて記憶した
変換テーブルを備え、文字フォントを登録していない文
字コードが供給されたときに該変換テーブルを参照し
て、類似文字の文字フォントを出力する第1の手段と、
文字フォントを登録していない文字コードが供給された
ときに、該文字コードにより指示される文字の読みを表
す文字(例えば、かな、カナ、ローマ字)の文字フォン
トを出力する第2の手段、の少なくとも一方を具備する
ことを特徴とする。
In order to achieve the above object, the external character processing device according to claim 1 is provided with a table for storing a character code and a character font in association with each other, and a character corresponding to the supplied character code. It is a device for outputting a font, and is provided with a conversion table in which a character code for which a character font is not registered (a so-called external character code) and a character code of a similar character of a character designated by the character code are stored in association with each other. A first means for outputting a character font of similar characters by referring to the conversion table when a character code for which no character font is registered is supplied;
When a character code for which no character font is registered is supplied, a second means for outputting a character font of a character (for example, kana, kana, romaji) representing the reading of the character designated by the character code. It is characterized by comprising at least one.

【0006】請求項2記載の外字処理装置は、前記第1
または前記第2の手段により出力された文字フォントを
他の文字フォントと識別可能に出力する手段を有するこ
とを特徴とする。
The external character processing device according to claim 2 is the first character
Alternatively, it is characterized in that it has means for outputting the character font outputted by the second means so as to be distinguishable from other character fonts.

【0007】請求項3記載の外字処理装置は、文字コー
ドを受け、該文字コードが予め登録されているか否かを
判別する判別手段と、登録されていない文字コードと該
文字コードにより指定される文字の類似文字を対応づけ
て記憶した変換テーブルを備え、前記判別手段が該文字
コードが登録されていないと判別した時、該変換テーブ
ルを参照して、類似文字の文字コードを出力する第1の
手段と、前記判別手段が該文字コードが登録されていな
いと判別した時、該文字コードを該文字コードにより指
示される文字の読みを表す文字の文字コードに変換して
出力する第2の手段、の少なくとも一方を具備すること
を特徴とする。
According to another aspect of the invention, the external character processing device receives a character code and determines by the judging means for judging whether or not the character code is registered in advance, the unregistered character code and the character code. A first conversion means for outputting a character code of a similar character by referring to the conversion table when the determining means determines that the character code is not registered; Means for converting the character code into a character code of a character representing reading of a character designated by the character code, and outputting when the character code is not registered. At least one of the means is provided.

【0008】請求項4記載の外字処理装置は、前記外字
処理装置は前記第1の手段と第2の手段を両方備え、さ
らに、前記第1の手段と第2の手段の両方またはいずれ
かを選択し、両方を選択した場合には、どちらの手段に
よる処理を優先して実行させるかを決定する手段を備え
ることを特徴とする。
According to a fourth aspect of the present invention, there is provided the external character processing device, wherein the external character processing device includes both the first means and the second means, and further the first means and / or the second means. When both are selected and both are selected, a means for deciding which processing is to be preferentially executed is provided.

【0009】[0009]

【作用】請求項1及び3記載の外字処理装置にあって
は、いわゆる外字の文字コード(文字コード信号)が入
力されると、それは類似文字または「よみ」を表す文字
の文字フォントまたは文字コードに変換される。従っ
て、出力された文書に読めない文字が含まれず、読み易
くなる。よみを表す文字としては、例えば、ひらがな、
カタカナ、ローマ字等がある。また、外字のみをよみを
表す文字に置換してもよく、外字を含む文字列全体をよ
みを表す文字に置換してもよい。
In the external character processing device according to claims 1 and 3, when a so-called external character character code (character code signal) is input, it is a character font or character code of a character representing a similar character or "read". Is converted to. Therefore, the output document does not include unreadable characters and is easy to read. Examples of characters for reading are hiragana,
There are Katakana and Romaji. Further, only the external character may be replaced with the character representing the reading, or the entire character string including the external character may be replaced with the character representing the reading.

【0010】請求項2記載の外字処理装置にあっては、
置換された文字と他の文字を容易に識別できる。
In the external character processing device according to claim 2,
The replaced character can be easily distinguished from other characters.

【0011】請求項4記載の外字処理装置にあっては、
必要に応じて、外字の置換方法と処理順序を設定でき
る。
In the external character processing device according to claim 4,
If necessary, you can set the external character replacement method and processing order.

【0012】[0012]

【実施例】以下、図面を参照してこの発明の一実施例に
かかる外字処理装置を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An external character processing apparatus according to an embodiment of the present invention will be described below with reference to the drawings.

【0013】図1は、この実施例にかかる外字処理装置
の構成を示す。図1において、符号1は制御部、2Aは
類似文字テーブル、2Bは登録かな文字テーブル、2C
は登録単語テーブル、3は文字出力部、4は文字フォン
トメモリである。
FIG. 1 shows the configuration of an external character processing device according to this embodiment. In FIG. 1, reference numeral 1 is a control unit, 2A is a similar character table, 2B is a registered kana character table, and 2C.
Is a registered word table, 3 is a character output unit, and 4 is a character font memory.

【0014】制御部1は、装置全体の動作を制御すると
共に外部装置より文字コード(文字コードを示す文字コ
ード信号)を受け、文字フォントメモリ4をアクセスし
て対応する文字フォント(文字フォントを示す文字フォ
ント信号)を文字出力部5に供給する。制御部1は、例
えば、マイクロプロセッサ及びその周辺回路等から構成
される。
The control unit 1 controls the operation of the entire apparatus, receives a character code (a character code signal indicating a character code) from an external apparatus, accesses the character font memory 4, and accesses a corresponding character font (indicates a character font). A character font signal) is supplied to the character output unit 5. The control unit 1 is composed of, for example, a microprocessor and its peripheral circuits.

【0015】類似文字テーブル2Aは、図2に示すよう
に、外字の文字コードとそれに類似する文字の文字コー
ドを1対1の関係で記憶する。登録かな文字テーブル2
Bは、図3に示すように、外字の文字コードとそれに対
応するかな文字の文字コードを記憶する。なお、対応す
るかな文字は1個のみではなく複数存在する場合があ
る。複数の候補のいずれを選択するかは、単語辞書等を
用いて、外字の前後の文字列から文法的に選択する。登
録単語テーブル2Cは、図4に示すように、固有名詞等
の接頭語、接尾語として、例えば、「株式会社」、「学
校法人」等を登録したものである。文字出力部3は供給
された文字フォントを表示装置、プリンタ等により出力
する。文字フォントメモリ4は文字コードと文字フォン
トの対を記憶する。
As shown in FIG. 2, the similar character table 2A stores character codes of external characters and character codes of characters similar thereto in a one-to-one relationship. Registered kana character table 2
As shown in FIG. 3, B stores the character code of the external character and the character code of the kana character corresponding to it. Note that there may be a plurality of corresponding kana characters instead of only one. Which of the plurality of candidates is selected is grammatically selected from the character strings before and after the external character using a word dictionary or the like. As shown in FIG. 4, the registered word table 2C is a table in which, for example, "corporation", "school corporation", etc. are registered as prefixes and suffixes of proper nouns and the like. The character output unit 3 outputs the supplied character font by a display device, a printer or the like. The character font memory 4 stores a pair of character code and character font.

【0016】次に、図1に示す外字処理装置の動作を図
1ないし図5を参照して説明する。
Next, the operation of the external character processing device shown in FIG. 1 will be described with reference to FIGS.

【0017】制御部1には、外部装置より文字コードが
順次供給される。制御部1は供給された文字コードをキ
ーとして文字フォントメモリ4をアクセスする。対応す
る文字フォントが文字フォントメモリ4に記憶されてい
る場合(ステップS1で「いいえ」の場合)、制御部1
はその文字フォントを読みだし(ステップS9)、文字
出力部3に供給する。文字出力部3は、供給された文字
フォントを表示装置に表示させ、プリンタに印字させ
る。
Character codes are sequentially supplied to the control unit 1 from an external device. The control unit 1 accesses the character font memory 4 using the supplied character code as a key. When the corresponding character font is stored in the character font memory 4 (“No” in step S1), the control unit 1
Reads out the character font (step S9) and supplies it to the character output unit 3. The character output unit 3 displays the supplied character font on the display device and causes the printer to print.

【0018】供給された文字コードに対応する文字フォ
ントが文字フォントメモリ4に記憶されていない場合
(ステップS1で「はい」の場合)、その文字コードは
いわゆる外字の文字コードであり、制御部1は類似文字
テーブル2Aを参照する。
When the character font corresponding to the supplied character code is not stored in the character font memory 4 ("Yes" in step S1), the character code is a so-called external character code, and the control unit 1 Refers to the similar character table 2A.

【0019】類似文字テーブル2Aにこの文字コードに
より指示される文字に類似する文字の文字コードが記憶
されている場合(ステップS2で「はい」の場合)、制
御部1はその類似文字の文字コードを読み出す(類似文
字出力処理、ステップS3)。制御部1は、文字フォン
トメモリ4から該類似文字の文字フォントを読み出し
(ステップS9)、文字出力部3に供給する。
When the character code of the character similar to the character designated by this character code is stored in the similar character table 2A (in the case of "yes" in step S2), the control unit 1 determines the character code of the similar character. Is read (similar character output process, step S3). The control unit 1 reads the character font of the similar character from the character font memory 4 (step S9) and supplies it to the character output unit 3.

【0020】一方、類似文字テーブル2Aに類似文字の
文字コードが記憶されていない場合(ステップS2で
「いいえ」の場合)、制御部1は登録かな文字テーブル
2Bを参照する。該文字コードがこの登録かな文字テー
ブル2Bに含まれている場合、その文字コードを対応す
るかな文字の文字コードに置換する(かな文字対応処
理、ステップS5)。対応するかな文字の候補が複数存
在する場合は、図示せぬ単語辞書等を用いて外字の前後
の文字列から文法的に1つの候補を選択する。制御部1
はかな文字の文字コードを対応する文字フォントに変換
し(ステップS9)、文字出力部3に供給する。
On the other hand, when the character code of the similar character is not stored in the similar character table 2A ("No" in step S2), the control section 1 refers to the registered kana character table 2B. When the character code is included in the registered kana character table 2B, the character code is replaced with the character code of the corresponding kana character (kana character correspondence process, step S5). When there are a plurality of corresponding kana character candidates, one candidate is grammatically selected from the character strings before and after the external character using a word dictionary (not shown) or the like. Control unit 1
The character code of the kana character is converted into a corresponding character font (step S9) and supplied to the character output unit 3.

【0021】一方、供給された文字コードが登録かな文
字テーブル2Bに含まれていない場合(ステップS4で
「いいえ」の場合)、その外字を含む文字列全体をカナ
の文字列に置換する(カナ文字変換処理、ステップS
6)。
On the other hand, when the supplied character code is not included in the registered kana character table 2B ("No" in step S4), the entire character string including the external character is replaced with the kana character string (kana). Character conversion process, step S
6).

【0022】さらに、登録単語テーブル2Cを参照し
て、置換したカナ文字列内に登録されている単語と同一
のカナ文字列があるか否か判別する(ステップS7)。
カナ文字列内に登録単語テーブル2Cに記憶された単語
と一致する文字列がある場合(ステップS7で「はい」
の場合)、制御部1は一致する部分を登録単語に置換す
る(登録単語置換処理、ステップS8)。制御部1は得
られた文字コードに対応する文字フォントを文字フォン
トメモリ4をアクセスして求め、文字出力部3に出力す
る(ステップS9)。
Further, referring to the registered word table 2C, it is judged whether or not there is the same kana character string as the registered word in the replaced kana character string (step S7).
If there is a character string that matches the word stored in the registered word table 2C in the kana character string (“Yes” in step S7)
In this case), the control unit 1 replaces the matching portion with the registered word (registered word replacement process, step S8). The control unit 1 obtains a character font corresponding to the obtained character code by accessing the character font memory 4 and outputs it to the character output unit 3 (step S9).

【0023】文字出力部3は、供給された文字フォント
を表示、印刷等する。文字出力部3により出力された文
書には読めない文字や記号は含まれていない。
The character output unit 3 displays and prints the supplied character font. The document output by the character output unit 3 does not include unreadable characters or symbols.

【0024】次に、図6に示す文字列の文字コードが制
御部1に供給された場合を例に、上述の動作を具体的に
説明する。なお、図6に示す例(A)ないし例(F)お
いて、アンダーラインを付した文字がいわゆる外字であ
り、文字フォントメモリ4に対応する文字フォントが記
憶されていないと仮定する。
Next, the above-mentioned operation will be specifically described by taking as an example the case where the character code of the character string shown in FIG. 6 is supplied to the control unit 1. In the examples (A) to (F) shown in FIG. 6, it is assumed that the underlined characters are so-called external characters and the character font corresponding to the character font memory 4 is not stored.

【0025】例(A)の場合、図2に示すように、外字
に類似する文字「高」が類似文字テーブル2Aに記憶さ
れている。このため、制御部1はステップS1とS2で
「はい」と判断し、ステップS3で類似文字「高」の文
字コードを類似文字テーブル2Aから読みだし、ステッ
プS9で、これを文字フォントに変換し、文字出力部3
に供給する。文字出力部3は例(A)の文字列に代えて
「高橋商店」を出力する。
In the case of the example (A), as shown in FIG. 2, the character "high" similar to the external character is stored in the similar character table 2A. Therefore, the control unit 1 determines “Yes” in steps S1 and S2, reads the character code of the similar character “high” from the similar character table 2A in step S3, and converts it into a character font in step S9. , Character output section 3
Supply to. The character output unit 3 outputs "Takahashi Shoten" instead of the character string of the example (A).

【0026】例(B)の場合も同様に、ステップS1と
S2で「はい」と判断され、ステップS3で類似文字
「倶」の文字コードが類似文字テーブル2Aから読み出
され、これがステップS9で文字フォントに変換され、
文字出力部3に供給される。文字出力部3は例(B)の
文字列に代えて「カントリー倶楽部」を出力する。
Similarly, in the case of the example (B), it is determined "Yes" in steps S1 and S2, the character code of the similar character "KU" is read from the similar character table 2A in step S3, and this is read in step S9. Converted to character font,
It is supplied to the character output unit 3. The character output unit 3 outputs "country club" instead of the character string in the example (B).

【0027】例(C)の場合、類似文字が類似文字テー
ブル2Aに記憶されていないと仮定する。この場合、制
御部1はステップS1で「はい」、ステップS2で「い
いえ」と判断し、登録かな文字テーブル2Bを参照す
る。図3に示すように、外字に対応するかな文字として
「ミン」が存在するので、制御部1はステップS4で
「はい」と判断し、「ミン」の文字コードを読みだし
(ステップS5)、これを文字フォントに変換し(ステ
ップS9)、文字出力部3に供給する。文字出力部3は
例(C)の文字列に代えて「ミン来」を出力する。
In the case of the example (C), it is assumed that similar characters are not stored in the similar character table 2A. In this case, the control unit 1 determines "Yes" in step S1 and "No" in step S2, and refers to the registered kana character table 2B. As shown in FIG. 3, since "Min" exists as a kana character corresponding to the external character, the control unit 1 determines "Yes" in step S4, and reads out the character code of "Min" (step S5). This is converted into a character font (step S9) and supplied to the character output unit 3. The character output unit 3 outputs "Min come" instead of the character string in the example (C).

【0028】例(D)の場合、類似文字が類似文字テー
ブル2Aに存在しないので、ステップS1で「はい」、
ステップS2で「いいえ」と判断され、制御部1は登録
かな文字テーブル2Bを参照する。登録かな文字テーブ
ル2Bに対応するかな文字として「2」が存在するの
で、制御部1はステップS4で「はい」と判断し、
「2」の文字コードを読みだし(ステップS5)、これ
を文字フォントに変換し(ステップS9)、文字出力部
3に供給する。文字出力部3は例(D)の文字列に代え
て「パート2」を出力する。
In the case of the example (D), since the similar character does not exist in the similar character table 2A, "Yes" in step S1.
In step S2, it is determined to be "no", and the control unit 1 refers to the registered kana character table 2B. Since “2” exists as the kana character corresponding to the registered kana character table 2B, the control unit 1 determines “Yes” in step S4,
The character code of "2" is read (step S5), converted into a character font (step S9), and supplied to the character output unit 3. The character output unit 3 outputs "part 2" instead of the character string of the example (D).

【0029】例(E)の場合、類似文字が類似文字テー
ブル2Aに記憶されておらず、対応するかな文字が登録
かな文字テーブル2Bに記憶されていないと仮定する。
この場合、ステップS1で「はい」、S2とS4で「い
いえ」と判断され、ステップS6で外字を含む文字列の
文字コードが「ユザリヨウテン」の文字コードに変換さ
れる。この文字列には、図4に示す登録単語テーブルに
登録された単語は存在しない。このため、ステップS7
で「いいえ」が検出され、制御部1は、このカナ文字列
の文字コードを文字フォントに変換し(ステップS
9)、文字出力部3に供給する。文字出力部3は例
(E)の文字列に代えて「ユザリヨウテン」を出力す
る。
In the case of the example (E), it is assumed that the similar character is not stored in the similar character table 2A and the corresponding kana character is not stored in the registered kana character table 2B.
In this case, it is determined to be "yes" in step S1 and "no" in steps S2 and S4, and the character code of the character string including the external character is converted to the character code of "Yuzariyouten" in step S6. There are no words registered in the registered word table shown in FIG. 4 in this character string. Therefore, in step S7
Is detected, the control unit 1 converts the character code of this Kana character string into a character font (step S
9), and supplies it to the character output unit 3. The character output unit 3 outputs "Usariyouten" instead of the character string in the example (E).

【0030】例(F)の場合、外字の類似文字が類似文
字テーブル2Aに存在せず、対応するかな文字が登録か
な文字テーブル2Bにも存在しないと仮定する。この場
合、ステップS1で「はい」、S2とS4で「いいえ」
と判断され、ステップS6で外字を含む文字列の文字コ
ードがカナ文字「ドボクカブシキガイシャ」の文字コー
ドに変換される。この文字列には、図4に示す登録単語
テーブル2Cに登録された単語「株式会社」のカナ文字
列が存在する。このため、ステップS7で「はい」が検
出され、カナ文字列「カブシキガイシャ」の文字コード
が「株式会社」の文字コードに変換される(ステップS
8)。最終的に、制御部1は「ドボク株式会社」の文字
コードを文字フォントに変換し(ステップS9)、文字
出力部3に供給する。従って、文字出力部3は例(D)
の文字列に代えて「ドボク株式会社」を出力する。
In the case of the example (F), it is assumed that the similar character of the external character does not exist in the similar character table 2A and the corresponding kana character does not exist in the registered kana character table 2B. In this case, "Yes" in step S1, "No" in S2 and S4
In step S6, the character code of the character string including the external character is converted into the character code of the kana character “Dokubakubushiki Gaisha”. The kana character string of the word "corporation" registered in the registered word table 2C shown in FIG. 4 exists in this character string. Therefore, "Yes" is detected in step S7, and the character code of the kana character string "Kabushiki Gaisha" is converted to the character code of "corporation" (step S).
8). Finally, the control unit 1 converts the character code of "Dokubo Co., Ltd." into a character font (step S9) and supplies it to the character output unit 3. Therefore, the character output unit 3 is an example (D).
Instead of the character string of, "DOBOKU CORPORATION" is output.

【0031】なお、この発明は上記実施例に限定され
ず、例えば、類似文字がある場合は、前記類似文字出力
処理を行い、その他は、従来と同様に外字を特殊記号に
置換して出力する処理(特殊記号置換処理)を行うよう
にしてもよい。このような実施例を図7のフローチャー
トを参照して説明する。
The present invention is not limited to the above embodiment. For example, when there is a similar character, the similar character output processing is performed, and in other cases, the external character is replaced with a special symbol and output. You may make it perform a process (special symbol replacement process). Such an embodiment will be described with reference to the flowchart of FIG.

【0032】この実施例においては、図7に示されるよ
うに、供給された文字コードが外字の文字コードである
場合、制御部1は類似文字テーブル2Aを参照する。類
似文字テーブル2Aにこの文字コードが指示する文字に
類似する文字の文字コードが記憶されている場合(ステ
ップS2で「はい」の場合)、制御部1は類似文字の文
字コードを読み出し(ステップS3)、該類似文字の文
字フォントを読み出し(ステップS9)、文字出力部3
に供給する。
In this embodiment, as shown in FIG. 7, when the supplied character code is the external character code, the control unit 1 refers to the similar character table 2A. When the character code of the character similar to the character designated by this character code is stored in the similar character table 2A (in the case of "Yes" in step S2), the control unit 1 reads the character code of the similar character (step S3). ), The character font of the similar character is read (step S9), and the character output unit 3
Supply to.

【0033】一方、類似文字テーブル2Aに類似文字が
記憶されていない場合(ステップS2で「いいえ」の場
合)、制御部1はその文字コードを、特殊記号、例え
ば、「*」の文字コードに置換し(特殊記号置換処理、
ステップS10)、この特殊文字の文字フォントを文字
出力部3に供給する。例えば、図6の例(F)の文字列
の場合、文字出力部3の出力は「*木株式会社」とな
る。
On the other hand, when the similar character is not stored in the similar character table 2A ("No" in step S2), the control unit 1 changes the character code to a special symbol, for example, a character code of "*". Replace (Special symbol replacement process,
In step S10), the character font of this special character is supplied to the character output unit 3. For example, in the case of the character string of the example (F) of FIG. 6, the output of the character output unit 3 is “* Ki Co., Ltd.”.

【0034】外字部分を削除して出力する(削除処理)
ことも可能である。この場合、文字出力部3の出力は、
例えば図6の例(F)の場合、「木株式会社」、「 木
株式会社」となる。
External character part is deleted and output (deletion process)
It is also possible. In this case, the output of the character output unit 3 is
For example, in the case of the example (F) of FIG. 6, it becomes "Ki Corporation" and "Ki Corporation".

【0035】上述の類似文字出力処理(ステップS
3)、かな文字対応処理(ステップS5)、カナ文字変
換処理(ステップS6)、登録単語置換処理(ステップ
S8)、特殊記号置換処理(ステップS10)のどれを
選択し、どの順番で行うかはシステムへの要求条件に応
じて、適宜選択し、設定できる。
Similar character output processing described above (step S
3), which of the kana character correspondence process (step S5), kana character conversion process (step S6), registered word replacement process (step S8), and special symbol replacement process (step S10) is selected and in what order? It can be appropriately selected and set according to the requirements of the system.

【0036】例えば、外字の文字コードが出現した場
合、外字を含む文字列に対応するカナ文字列についてま
ず登録単語置換処理(ステップS8)を行い、次にかな
文字対応処理(ステップS5)、類似文字出力処理(ス
テップS3)を行うことも可能である。このようにすれ
ば、システムの要求に適した外字処理手順を任意に選択
し設定できるから、適切な外字処理を行うことが可能で
ある。
For example, when a character code of an external character appears, the registered word replacement process (step S8) is first performed on the kana character string corresponding to the character string including the external character, and then the kana character correspondence process (step S5), similar. It is also possible to perform the character output process (step S3). In this way, the external character processing procedure suitable for the system requirements can be arbitrarily selected and set, so that it is possible to perform the appropriate external character processing.

【0037】また、制御部1にキーボード等の入力装置
を接続し、入力装置の指示に応じて各処理の実行順序を
変更できるようにしてもよい。例えば、図5において、
ステップS1からステップS4またはS6に至るパスを
任意に設定できるようにし、類似文字出力処理(ステッ
プS3)を行わないようにすることも可能である。
Further, an input device such as a keyboard may be connected to the control unit 1 so that the execution order of each process can be changed according to the instruction of the input device. For example, in FIG.
It is also possible to arbitrarily set the path from step S1 to step S4 or S6 and not perform the similar character output process (step S3).

【0038】外字を含む文字列をローマ字などの他の文
字列で置換して出力することも可能である。また、出力
文字列が増加しないように半角文字列で出力することも
可能である。例えば、図6の例(A)の場合、「TAK
AHASI商店」あるいは「TAKAHASI商店」と出力させ
てもよい。
It is also possible to replace the character string including the external character with another character string such as Roman characters and output. It is also possible to output in a half-width character string so that the output character string does not increase. For example, in the case of the example (A) of FIG. 6, “TAK
You may output as "AHASI store" or "TAKAHASI store".

【0039】さらに、本実施例の外字処理方法によっ
て、外字処理した文字がどの文字であるかが操作者に識
別できるように、これら文字の表示あるいは印字色を変
えてあるいは網掛けして表示するようにしてもよい。図
8は本実施例の外字処理方法によって処理された文字に
網掛けして表示する例を示す。これにより、操作者は文
書内の外字を的確に判別できる。
Further, according to the external character processing method of the present embodiment, the characters are displayed or the print color is changed or shaded so that the operator can identify which character is the character processed by the external character. You may do it. FIG. 8 shows an example in which characters processed by the external character processing method of this embodiment are displayed in a shaded manner. As a result, the operator can accurately determine the external character in the document.

【0040】上記実施例においては、制御部1が文字コ
ードを受けて、文字フォントを出力する例を示した。し
かし、この発明はこれに限定されず、制御部1が文字コ
ードを受け、外字の文字コードを類似文字の文字コード
あるいはよみを表す文字の文字コードに変換して出力す
るようにしてもよい。
In the above embodiment, the control section 1 receives the character code and outputs the character font. However, the present invention is not limited to this, and the control unit 1 may receive the character code, convert the character code of the external character into the character code of the similar character or the character code of the character representing the reading, and output the character code.

【0041】この場合の構成を図9に示す。図9におい
て、登録文字メモリ14は、あらかじめ登録された文字
コード(外字以外の文字の文字コード)の一覧を記憶
し、文字フォントを記憶していない。制御部1は、外部
から文字コードが供給されると登録文字メモリ14をア
クセスし、供給された文字コードが登録文字メモリ14
に記憶されている場合には、その文字コードを記録部1
3に供給する。
The configuration in this case is shown in FIG. In FIG. 9, the registered character memory 14 stores a list of previously registered character codes (character codes of characters other than external characters), and does not store character fonts. When the character code is supplied from the outside, the control unit 1 accesses the registered character memory 14 and the supplied character code is stored in the registered character memory 14.
If the character code is stored in
Supply to 3.

【0042】一方、供給された文字コードが登録文字メ
モリ14に記憶されていない場合、その文字コード(外
字の文字コード)が類似文字テーブル2Aに記憶されて
いるか否かを判別し、記憶されている場合には、類似文
字の文字コードを記録部13に供給する。供給された外
字の文字コードが類似文字テーブル2Aに記憶されてい
ない場合には、前述のステップS4ないしS8の処理を
実行し、最終的に得られた文字コードが記録部13に供
給される。記録部13は供給された文字コードを、例え
ば、磁気テープ、フロッピーデスク等に記憶する。
On the other hand, when the supplied character code is not stored in the registered character memory 14, it is determined whether or not the character code (character code of the external character) is stored in the similar character table 2A, and it is stored. If so, the character code of the similar character is supplied to the recording unit 13. If the supplied character code of the external character is not stored in the similar character table 2A, the processes of steps S4 to S8 described above are executed, and the finally obtained character code is supplied to the recording unit 13. The recording unit 13 stores the supplied character code on, for example, a magnetic tape, a floppy desk, or the like.

【0043】得られたフロッピーデスク等に保存された
文書を外部のプリンタで印刷したり、表示装置に表示さ
せた場合、文書中の外字が類似文字あるいはかな文字に
置換されているので、読みやすい文書が印字または表示
される。
When the obtained document stored in the floppy desk or the like is printed by an external printer or displayed on a display device, the external character in the document is replaced with a similar character or a kana character, so that it is easy to read. The document is printed or displayed.

【0044】[0044]

【発明の効果】本発明によれば、外字を特殊記号に置換
して出力する場合に比較して、文書の記載内容を容易に
判断できる。また、外字のために登録したフォントが増
加することがなく、装置の保守・更改が容易になる。
As described above, according to the present invention, the contents described in a document can be easily determined, as compared with the case where an external character is replaced with a special symbol and output. Moreover, the number of registered fonts does not increase due to external characters, and the maintenance / renewal of the device is facilitated.

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

【図1】本発明の一実施例にかかる外字処理装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing the configuration of an external character processing device according to an embodiment of the present invention.

【図2】類似文字テーブルの一例を示す。FIG. 2 shows an example of a similar character table.

【図3】登録かな文字テーブルの一例を示す。FIG. 3 shows an example of a registered kana character table.

【図4】登録単語テーブルの一例を示す。FIG. 4 shows an example of a registered word table.

【図5】図1に示す外字処理装置の動作を示すフローチ
ャート。
5 is a flowchart showing the operation of the external character processing device shown in FIG.

【図6】外字を含む文字列の例(A)ないし(F)を示
す。
FIG. 6 shows examples (A) to (F) of character strings including external characters.

【図7】図5のフローチャートの変形例を示す。FIG. 7 shows a modification of the flowchart of FIG.

【図8】網掛け表示の例を示す。FIG. 8 shows an example of shaded display.

【図9】図1の外字処理装置の変形例を示すブロック
図。
9 is a block diagram showing a modified example of the external character processing device of FIG.

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

1…制御部、2A…類似文字テーブル、2B…登録かな
文字テーブル、2C…登録単語テーブル、3…文字出力
部、4…文字フォントメモリ、13…記録部、14…登
録文字メモリ。
1 ... Control unit, 2A ... Similar character table, 2B ... Registered kana character table, 2C ... Registered word table, 3 ... Character output unit, 4 ... Character font memory, 13 ... Recording unit, 14 ... Registered character memory.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 文字コードと文字フォントを対応づけて
記憶するテーブルを備え、供給された文字コードに対応
する文字フォントを出力する装置において、 文字フォントを登録していない文字コードと該文字コー
ドにより指定される文字の類似文字の文字コードを対応
づけて記憶した変換テーブルを備え、文字フォントを登
録していない文字コードが供給されたときに該変換テー
ブルを参照して、類似文字の文字フォントを出力する第
1の手段と、文字フォントを登録していない文字コード
が供給されたときに、該文字コードにより指示される文
字の読みを表す文字フォントを出力する第2の手段、の
少なくとも一方を具備することを特徴とする外字処理装
置。
1. An apparatus for outputting a character font corresponding to a supplied character code, comprising a table for storing a character code and a character font in association with each other, and a character code for which no character font is registered and the character code A conversion table that stores the character codes of the similar characters of the specified character in association with each other is provided, and when a character code for which a character font is not registered is supplied, the conversion table is referred to and the character font of the similar characters is displayed. At least one of a first means for outputting and a second means for outputting a character font indicating reading of a character designated by the character code when a character code for which a character font is not registered is supplied. An external character processing device characterized by being provided.
【請求項2】 前記第1または前記第2の手段により出
力された文字フォントを他の文字フォントと識別可能に
出力する手段を有することを特徴とする請求項1記載の
外字処理装置。
2. The external character processing apparatus according to claim 1, further comprising means for outputting the character font output by said first or said second means so as to be distinguishable from other character fonts.
【請求項3】 文字コードを受け、該文字コードが予め
登録されているか否かを判別する判別手段と、 登録されていない文字コードと該文字コードにより指定
される文字の類似文字を対応づけて記憶した変換テーブ
ルを備え、前記判別手段が該文字コードが登録されてい
ないと判別した時、該変換テーブルを参照して、類似文
字の文字コードを出力する第1の手段と、前記判別手段
が該文字コードが登録されていないと判別した時、該文
字コードを該文字コードにより指示される文字の読みを
表す文字の文字コードに変換して出力する第2の手段、
の少なくとも一方を具備することを特徴とする外字処理
装置。
3. A discriminating means for receiving a character code and discriminating whether or not the character code is registered in advance, and an unregistered character code and a similar character of a character designated by the character code are associated with each other. When the determination means determines that the character code is not registered, the first means for outputting the character code of the similar character and the determination means are provided with the stored conversion table. When it is determined that the character code is not registered, a second means for converting the character code into a character code of a character indicating reading of a character designated by the character code and outputting the converted character code,
An external character processing device comprising at least one of:
【請求項4】 前記外字処理装置は前記第1の手段と第
2の手段を両方備え、さらに、前記第1の手段と第2の
手段の両方またはいずれかを選択し、両方を選択した場
合には、どちらの手段による処理を優先して実行させる
かを決定する手段を備えることを特徴とする請求項1、
2または3記載の外字処理装置。
4. The external character processing device comprises both the first means and the second means, and further selects either or both of the first means and the second means, and selects both. The means for deciding which means to preferentially execute the processing is provided in.
The external character processing device according to 2 or 3.
JP5019026A 1993-02-05 1993-02-05 External character processor Pending JPH06231123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5019026A JPH06231123A (en) 1993-02-05 1993-02-05 External character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5019026A JPH06231123A (en) 1993-02-05 1993-02-05 External character processor

Publications (1)

Publication Number Publication Date
JPH06231123A true JPH06231123A (en) 1994-08-19

Family

ID=11987960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5019026A Pending JPH06231123A (en) 1993-02-05 1993-02-05 External character processor

Country Status (1)

Country Link
JP (1) JPH06231123A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007193582A (en) * 2006-01-19 2007-08-02 Topre Corp Slip printer
JP2023162889A (en) * 2022-04-27 2023-11-09 富士通株式会社 Control program, control method and information processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007193582A (en) * 2006-01-19 2007-08-02 Topre Corp Slip printer
JP2023162889A (en) * 2022-04-27 2023-11-09 富士通株式会社 Control program, control method and information processing device

Similar Documents

Publication Publication Date Title
US5835924A (en) Language processing apparatus and method
EP0370774A2 (en) Machine translation system
JPH09259125A (en) Document creation support system and term dictionary
JPH05303590A (en) Automatic translating device
JPWO2002101578A1 (en) A system to support text input by automatically generating spaces
JPH06231123A (en) External character processor
JP3103179B2 (en) Document creation device and document creation method
JPH0740263B2 (en) Japanese word processor
JP3347482B2 (en) Kana-Kanji conversion device
JPH10198664A (en) Japanese language input system and medium for recorded with japanese language input program
JP3147947B2 (en) Machine translation equipment
JP2761622B2 (en) Character converter
JPH0727527B2 (en) Word processor
JPS60245075A (en) Automatic agate display system
JPS6191763A (en) Japanese document processor
JP2593433B2 (en) Character processor
JPS60207948A (en) Kana-kanji conversion processing device
JPH0640325B2 (en) Writing device
JP2870524B2 (en) Character conversion processor
JPH0778133A (en) Document creating apparatus and character pattern output method
JPH0213341B2 (en)
JPH05266009A (en) Method and device for production of document
JP2004355248A (en) Electronic dictionary
JPH07105194A (en) Kana-Kanji conversion method
JPH0340870B2 (en)