JPH02289076A - Method and device for processing character code - Google Patents

Method and device for processing character code

Info

Publication number
JPH02289076A
JPH02289076A JP1078814A JP7881489A JPH02289076A JP H02289076 A JPH02289076 A JP H02289076A JP 1078814 A JP1078814 A JP 1078814A JP 7881489 A JP7881489 A JP 7881489A JP H02289076 A JPH02289076 A JP H02289076A
Authority
JP
Japan
Prior art keywords
character
character code
code
output
font
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
JP1078814A
Other languages
Japanese (ja)
Inventor
Ryuichi Yamaguchi
龍一 山口
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1078814A priority Critical patent/JPH02289076A/en
Publication of JPH02289076A publication Critical patent/JPH02289076A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To understand the original character without allowing the information quantity to be lacking even if a character font corresponding to a character code table does not exist by outputting a second character code for showing the reading of a character shown by a first character code, in the case a first character font corresponding to a first character code does not exist. CONSTITUTION:For instance, it is assumed that a character-string 111 of inputted 'flowers open' contains a character code for showing the reading. In this case, in the case a character font corresponding to 'open' does not exist, a character-string 112 of 'flowers open' is outputted by replacing it with a character code for expressing the reading. In such a way, in the case a first character font corresponding to a first character code does not exist, a second character font corresponding to a second character code for showing the reading of a character shown by the first character code is outputted. Accordingly, even if the corresponding character font does not exist in a character code table, the original character can be understood without allowing the information quantity to be lacking.

Description

【発明の詳細な説明】 産業上の利用分野 本発明(友 文字に付けられた文字コードより文字の処
理を行なう文字コード処理方法と文字コード処理装置に
関すも 従来の技術 文字フォントを出力する一手法としては文字コードによ
る文字フォント出力がある。第6図はこの従来の文字コ
ード処理方法を示すアルゴリズムテアリ、21,22.
23.24ハ各処理を示してい、L  第7図はこの従
来の文字フォント出力例を示すものであり、1月は入力
された文字夕11102は出力された文字列を示してい
る。以上のように構成された従来の文字コード出力方法
においてC戴  処理21で文字コードが入力され 処
理22でコード表から文字コードに対応する文字フォン
トを検索すも 対応する文字フォントが見付かれば処理
24で文字フォントを出力する。対応する文字フォント
が見付からなければ処理23により空白のフォントを出
力すも 例え1′L 「花が咲く」という文字列101
に対応する文字コード列の入力に対して、 「咲」に対
応する文字フォントがない場合、 「花か く」という
空白を含む文字列1月が出力される。また 人力された
文字コード列に対して従来例では同一の構成の文書が出
力される。
[Detailed Description of the Invention] Industrial Field of Application The present invention relates to a character code processing method and a character code processing device for processing characters based on character codes attached to characters, and also relates to a conventional technology for outputting character fonts. One method is to output character fonts using character codes. Fig. 6 shows an algorithm chart showing this conventional character code processing method. 21, 22.
23.24 C shows each process, L FIG. 7 shows an example of this conventional character font output, and in January, the input character column 11102 shows the output character string. In the conventional character code output method configured as above, a character code is input in process 21, and a character font corresponding to the character code is searched from the code table in process 22. In process 24, a character font is output. If the corresponding character font is not found, a blank font is output by process 23. For example, 1'L is the character string 101 "Hana ga Sakuru".
If a character code string corresponding to ``Saki'' is input, and there is no character font corresponding to ``Saki'', the character string ``January'' containing spaces will be output. Furthermore, in the conventional example, a document with the same structure is output for a human-generated character code string.

発明が解決しようとする課題 しかしながら上記のような構成で(友 文字コード表に
対応する文字フォントがなくて空白が出力された場合、
情報量が欠落し元の文字が理解できないという問題点と
、また読み手の理解能力により、出力された文字が理解
できないという問題点とを有してい九 本発明はかかる
点に鑑へ 文字コード表に対応する文字フォントがなく
てk 情報量が欠落することなく、元の文字が理解でき
、読み手の理解能力により、出力する文字を変更できる
文字コード処理方法と文字コード処理装置を提供するこ
とを目的とすム 課題を解決するための手段 本発明(友 上述の課題を解決するた八 第1の文字コ
ードと前記第1の文字コードが示す文字の読みを表す第
2の文字コードを入力とするコード入力部と、前記第1
の文字コードに対応する第1の文字フォントがある場合
は前記第1の文字コードを出力し 前記第1の文字コー
ドに対応する前記第1の文字フォントが存在しない場合
は前記第2の文字コードに対応する第2の文字コードを
出力する出力部とを備えたものである。また さらに文
字コードと前記文字コードが属する集合の区別を表現す
るレベルとを記入した表を用いて、入力された文字コー
ドを前記レベルによりそのまま出力するか出力しないか
を決定する手段を備えたものであも 作用 本発明は前記した構成により、第1の文字コードに対応
する第1の文字フォントが存在しない場合(表 第1の
文字コードが示す文字の読みを表す第2の文字コードを
出力することにより、文字コード表に対応する文字フォ
ントがなくて耘 情報量が欠落することなく元の文字が
理解され また・出力された文字の読み手の理解能力に
より、出力する文字を変更できも 実施例 (実施例1) 第1図は本発明の第1の実施例における文字コード処理
方法を示すアルゴリズムであa 第2図は第1の実施例
における処理例を示している。第1図において、10.
11.12.13.14は各処理を示していも 第2図
において、111は入力された文字兜112は出力され
た文字列を示してい4 以上のように構成された本実施
例の文字コード処理方式について、以下その動作を説明
する。処理10で第1の文字コードと第1の文字コード
が示す文字の読みを表す第2の文字コードを取り込す、
?!Z鳳  処理11で第1の文字コードを選択すム 
次に処理12でコード表から選択された文字コードに対
応する文字フォントを検索すム 対応する文字フォント
が見付かれば処理14で文字フォントを出力する。対応
する文字フォントが見付からなければ処理13により第
1の文字コードが示す文字の読みを表す第2の文字コー
ドを選択され 処理1′2.、処理14により第2の文
字コードに対応する文字フォントが出力されも 例え(
′L 入力された「花が咲く」という文字列111力(
本実施例に示すように読みを示す文字コードを含むもの
とすa この場合、 「咲」に対応する文字フォントが
ない場合、読みを表現する文字コードに置き換えること
により「花がさく」という文字列112が出力されも 
以上のように本実施例によれ(′L 第1の文字コード
に対応する第1の文字フォントが存在しない場合(上 
第1の文字コードが示す文字の読みを表す第2文字コー
ドに対応する第2の文字フォントを出力することにより
、文字コード表に対応する文字フォントがなくてL 情
報量が欠落することなく、元の文字が理解されも (実施例2) 第3図は本発明の第2の実施例における文字コード処理
方法を示すアルゴリズムであa 第4図は第2の実施例
における文字コード表である。第5図は第2の実施例に
おける処理例であも 第3図において、30.31.3
2.33.34は各処理を示している。第4図において
、41は文字コードWL42は文字フォント薩43はレ
ベル欄を示している。第5図において、121は入力さ
れた文字夕1上 122はレベル1で出力された文字夕
1上 123はレベル2で出力された文字7L  12
4はレベル3で出力された文字列を示している。以上の
ように構成された本実施例の文字コード処理方式につい
て、以下その動作を説明すも 出力する文字コードのレ
ベルを処理30により指定する。次へ 処理31で第1
の文字コードを入力すa 処理32で、入力された文字
コードに対応するレベルを文字コード欄41とレベル欄
43から探しだし 処理30で入力されたレベルとの比
較を行なう。適合した場合は処理33で第1の文字コー
ドを出力すも 適合しなかった場合は処理34により、
第1の文字コードの読みに対応する第2の文字コードを
出力する。例え(′L 入力された「花が咲く」という
文字列121力(本実施例に示すように読みを示す文字
コードを含むものとする。第4図の文字コード表か収 
「は」、 「な」、 「が」、「さ」、 「<」はレベ
ル1であり、 「花」はレベル2、 「咲」はレベル3
であも この隊 本実施例の処理により、レベル1では
「はながさく」という文字列122.  レベル2では
「花がさく」とも)う文字列123.レベル3では「花
が咲く」という文字列124が出力されも 以上のよう
に本実施例によれば 読み手の理解能力のレベルに合わ
せた文字コードを出力することができる。
Problem to be Solved by the Invention However, with the above configuration (Friend) If there is no corresponding character font in the character code table and a blank is output,
There are two problems: the original characters cannot be understood due to lack of information, and the output characters cannot be understood depending on the reader's understanding ability.9 The present invention addresses these problems. To provide a character code processing method and a character code processing device that allow the original character to be understood without losing the amount of information and change the output character according to the reader's understanding ability. In order to solve the above-mentioned problems, a first character code and a second character code representing the reading of the character indicated by the first character code are input. a code input section for inputting a code;
If there is a first character font corresponding to the character code, output the first character code; If there is no first character font corresponding to the first character code, output the second character code. and an output section that outputs a second character code corresponding to the character code. Further, the apparatus further includes means for determining whether to output the input character code as is or not according to the level, using a table in which the character code and the level expressing the distinction of the set to which the character code belongs are entered. With the above-described configuration, the present invention outputs a second character code representing the reading of the character indicated by the first character code when the first character font corresponding to the first character code does not exist. By doing this, the original characters can be understood without missing any amount of information even if there is no corresponding character font in the character code table.Also, the output characters can be changed depending on the reader's ability to understand the output characters. Example (Example 1) Fig. 1 is an algorithm showing a character code processing method in the first embodiment of the present invention.A Fig. 2 shows an example of processing in the first embodiment. , 10.
11.12.13.14 indicates each process. In FIG. 2, 111 indicates the input character string 112 indicates the output character string.4 The character code of this embodiment configured as above. The operation of the processing method will be explained below. In process 10, a first character code and a second character code representing the reading of the character indicated by the first character code are taken in;
? ! Z-o Select the first character code in process 11
Next, in process 12, a character font corresponding to the selected character code is searched from the code table. If a corresponding character font is found, the character font is output in process 14. If the corresponding character font is not found, a second character code representing the reading of the character indicated by the first character code is selected in process 13. Process 1'2. , even if the character font corresponding to the second character code is output by process 14, for example (
'L The input character string "Hana ga Sakuru" 111 (
As shown in this example, it includes a character code that indicates the reading.a In this case, if there is no character font that corresponds to "Saki", the characters "Hanagasaku" can be written by replacing it with the character code that represents the reading. Even if column 112 is output
As described above, according to this embodiment, if the first character font corresponding to the first character code does not exist ('L),
By outputting the second character font that corresponds to the second character code that represents the reading of the character indicated by the first character code, the L information amount will not be lost because there is no corresponding character font in the character code table. Even if the original character is understood (Embodiment 2) Fig. 3 is an algorithm showing the character code processing method in the second embodiment of the present invention a Fig. 4 is a character code table in the second embodiment . FIG. 5 shows a processing example in the second embodiment. In FIG. 3, 30.31.3
2.33.34 shows each process. In FIG. 4, 41 indicates a character code WL42 a character font 43 a level column. In Fig. 5, 121 is the input character 1, 122 is the character 1 output at level 1, and 123 is the character 7L output at level 2.
4 indicates a character string output at level 3. The operation of the character code processing method of this embodiment configured as described above will be described below.The level of the character code to be output is specified in step 30. Next Step 31
Input the character code of a. In process 32, the level corresponding to the input character code is searched from the character code column 41 and level column 43, and compared with the level input in process 30. If it matches, the first character code is output in process 33, but if it does not match, in process 34,
A second character code corresponding to the reading of the first character code is output. For example ('L) The input character string ``Hana ga Saku'' (contains a character code indicating the reading as shown in this example).
"Ha", "Na", "ga", "sa", and "<" are level 1, "hana" is level 2, and "saki" is level 3.
By the processing of this embodiment, at level 1, the character string "Hanagasaku" is 122. At level 2, the character string 123. At level 3, the character string 124 "Hana ga Saku" is output, but as described above, according to this embodiment, character codes can be output that match the reader's understanding level.

発明の詳細 な説明したよう艮 本発明によれは 文字コード表に対
応する文字フォントがなくてL 情報量が欠落すること
なく、元の文字が理解することができ、さらに出力され
た文字の読み手の理解能力により、出力する文字を変更
することができ、その実用的効果は大きしも
As described in detail, the present invention enables the reader of the output characters to understand the original characters without losing any amount of information because there is no character font corresponding to the character code table. With the ability to understand, the characters to be output can be changed, and the practical effect is

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

第1図は本発明の第1の実施例における文字コード処理
方式を示すアルゴリズム 第2図は本発明の第1の実施
例における処理例を示すは 第3図は本発明の第2の実
施例における文字コード処理方法を示すアルゴリズム 
第4図は本発明の第2の実施例における文字コード表、
第5図は本発明の第2の実施例における処理例を示す諷
 第6図は従来の文字コード処理方法を示すアルゴリズ
ム 第7図は従来の処理例を示す図であも 1O111
,12,13,14,21,22,23,24,30,
31,32,33,34・・・・処!  41・・・・
文字コード!42・・・・文字フォント凰43・・・・
レベル[101,102,112,113,121,1
22,123,124・・・・文字夕IL 代理人の氏名 弁理士 粟野重孝 ほか1名第 図 第 図 第 図 第 図 第 図 第 図 第 図
FIG. 1 is an algorithm showing a character code processing method in the first embodiment of the present invention. FIG. 2 is an algorithm showing a processing example in the first embodiment of the present invention. FIG. 3 is an algorithm showing a character code processing method in the first embodiment of the present invention. An algorithm showing how to process character codes in
FIG. 4 is a character code table in the second embodiment of the present invention,
FIG. 5 is a diagram showing an example of processing in the second embodiment of the present invention. FIG. 6 is an algorithm showing a conventional character code processing method. FIG. 7 is a diagram showing an example of conventional processing.
,12,13,14,21,22,23,24,30,
31, 32, 33, 34... place! 41...
Character code! 42...Character font 凰43...
Level [101, 102, 112, 113, 121, 1
22, 123, 124... Character evening IL Name of agent Patent attorney Shigetaka Awano and 1 other person

Claims (4)

【特許請求の範囲】[Claims] (1)文字に付けられた文字コードにより前記文字の処
理を行なう文字処理システムにおいて、第1の文字コー
ドと前記第1の文字コードが示す文字の読みを表す第2
の文字コードを入力する入力手段と、前記第1の文字コ
ードと前記第2の文字コードのうちどちらか一方を出力
するかを決定する手段と、前記第1の文字コードまたは
前記第2の文字コードを出力する出力手段を備えたこと
を特徴とする文字コード処理方法。
(1) In a character processing system that processes a character using a character code attached to the character, a first character code and a second character code representing the reading of the character indicated by the first character code are used.
input means for inputting a character code; means for determining whether to output one of the first character code and the second character code; and input means for inputting the first character code or the second character code. A character code processing method characterized by comprising an output means for outputting a code.
(2)文字に付けられた文字コードにより前記文字の処
理を行なう文字処理システムにおいて、文字コードと前
記文字コードが属する集合の区別を表現するレベルを記
入した表を用いて、前記レベルにより出力するか出力し
ないかを決定する手段を備えたことを特徴とする文字コ
ード処理方法。
(2) In a character processing system that processes characters based on the character code attached to the character, a table containing levels expressing the distinction between the character code and the set to which the character code belongs is used, and output is performed according to the level. A character code processing method characterized by comprising means for determining whether to output or not to output.
(3)文字コードにより番号付けされた文字フォントを
備えて前記文字コードを入力として対応する前記文字フ
ォントを出力する文字処理装置において、第1の文字コ
ードと前記第1の文字コードが示す文字の読みを表す第
2の文字コードを入力とするコード入力部と、前記第1
の文字コードに対応する前記第1の文字フォントがある
場合は前記第1の文字フォントを出力し、前記第1の文
字コードに対応する前記第1の文字フォントが存在しな
い場合は前記第2の文字コードに対応するフォントを出
力する出力部を備えたことを特徴とする文字コード処理
装置。
(3) In a character processing device that includes a character font numbered by a character code and outputs the corresponding character font by inputting the character code, the character processing device includes a first character code and a character indicated by the first character code. a code input section that inputs a second character code representing a reading, and the first
If there is the first character font corresponding to the character code, output the first character font, and if there is no first character font corresponding to the first character code, output the second character font. A character code processing device comprising an output unit that outputs a font corresponding to a character code.
(4)文字コードにより番号付けされた文字フォントを
備えて前記文字コードを入力として対応する前記文字フ
ォントを出力とする文字処理装置において、第1の文字
コードと前記第1の文字コードが示す文字の読みを表す
第2の文字コードを入力とするコード入力部と、文字コ
ードと前記文字コードが属する集合の区別を表現するレ
ベルとを記入した表と、前記レベルにより第1の文字コ
ードに対応する第1の文字フォントかあるいは第2の文
字コードに対応する第2の文字フォントを出力する出力
部を備えたことを特徴とする文字コード処理装置。
(4) In a character processing device that includes a character font numbered by a character code and receives the character code as input and outputs the corresponding character font, the character processing device includes a first character code and a character indicated by the first character code. a code input section for inputting a second character code representing the pronunciation of , a table in which the character code and a level representing the distinction between the sets to which the character code belongs are entered, and the level corresponds to the first character code. 1. A character code processing device comprising: an output unit that outputs a first character font corresponding to a second character code or a second character font corresponding to a second character code.
JP1078814A 1989-03-29 1989-03-29 Method and device for processing character code Pending JPH02289076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1078814A JPH02289076A (en) 1989-03-29 1989-03-29 Method and device for processing character code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1078814A JPH02289076A (en) 1989-03-29 1989-03-29 Method and device for processing character code

Publications (1)

Publication Number Publication Date
JPH02289076A true JPH02289076A (en) 1990-11-29

Family

ID=13672311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1078814A Pending JPH02289076A (en) 1989-03-29 1989-03-29 Method and device for processing character code

Country Status (1)

Country Link
JP (1) JPH02289076A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51127620A (en) * 1975-04-28 1976-11-06 Nippon Telegr & Teleph Corp <Ntt> Processing system for information of chinese character

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51127620A (en) * 1975-04-28 1976-11-06 Nippon Telegr & Teleph Corp <Ntt> Processing system for information of chinese character

Similar Documents

Publication Publication Date Title
KR950033795A (en) System and method for generating glyphs of unknown characters
JPH02289076A (en) Method and device for processing character code
JPH042982B2 (en)
JPH07152767A (en) Machine translation system
JPH0685169B2 (en) Document processing method
KR100230543B1 (en) Speech synthesis system with digit sound processing module and digit sound processing method by the same
JPS59165107A (en) Numerical controller equipped with program display function
JPS6022387B2 (en) small electronic translator
JPH0731315Y2 (en) Electronics
JPH02250160A (en) Kanji code converting system
JPH01243171A (en) Data processor
JP2988046B2 (en) Kana-Kanji conversion device
JPH03225448A (en) Converting, outputting, and updating method for information in file
JPS60189571A (en) Character processor
JPS60245074A (en) Automatic agate display system
JPS63305402A (en) Plant monitoring control device
JPH05298065A (en) Data converting processing system
JPS6385861A (en) Document processor
JPH10154141A (en) Kana-to-kanji (japanese syllabary-to-chinese character) conversion device
JPS6253854B2 (en)
JPH03224030A (en) Set-up processing system for byte position identification code
JPH0721798B2 (en) Language processor
JPH11161296A (en) Document reader device and method
JPS6177960A (en) Method and device for registration of words
JPH03127257A (en) Back-up device for editing of natural language processing data