JPS6349232B2 - - Google Patents

Info

Publication number
JPS6349232B2
JPS6349232B2 JP58179853A JP17985383A JPS6349232B2 JP S6349232 B2 JPS6349232 B2 JP S6349232B2 JP 58179853 A JP58179853 A JP 58179853A JP 17985383 A JP17985383 A JP 17985383A JP S6349232 B2 JPS6349232 B2 JP S6349232B2
Authority
JP
Japan
Prior art keywords
character
code
size
buffer
conversion
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.)
Expired
Application number
JP58179853A
Other languages
Japanese (ja)
Other versions
JPS6070485A (en
Inventor
Kimio Nagasawa
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP58179853A priority Critical patent/JPS6070485A/en
Publication of JPS6070485A publication Critical patent/JPS6070485A/en
Publication of JPS6349232B2 publication Critical patent/JPS6349232B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は文字変換装置に関する。[Detailed description of the invention] (b) Industrial application fields The present invention relates to a character conversion device.

(ロ) 従来技術 現在の日本語ワードプロセツサはカナ、ローマ
字を漢字に変換したり、ローマ字をカタカナやひ
らがなに変換したりする機能及び各文字を半角、
全角、倍角、4倍角等で表示する機能を有してい
る。
(b) Prior Art Current Japanese word processors have functions such as converting kana and romaji into kanji, converting romaji into katakana and hiragana, and converting each character into half-width, half-width,
It has a function to display in full-width, double-width, quadruple-width, etc.

従来のこの種装置における変換では変換される
べき文字の表示サイズに関係なく変換された文字
の表示サイズは一定、つまり変換されるべき文字
の表示サイズが半角や倍角であつても変換された
文字の表示サイズは全て全角となつたり、もしく
は変換されるべき文字列の各文字の表示サイズが
夫々異なる際にはその中で最も小さなサイズで変
換された文字を表示していた。
In conventional conversion on this type of device, the display size of the converted character is constant regardless of the display size of the character to be converted, that is, even if the display size of the character to be converted is half-width or double-width, the converted character All display sizes were full-width, or when the display sizes of each character in the character string to be converted were different, the converted character was displayed at the smallest size.

然るに斯る従来の変換では変換後の文字のサイ
ズは一定となるので、その文字のうちある文字を
他の表示サイズとしたいときには操作が煩雑とな
る。
However, in such conventional conversion, the size of the characters after conversion is constant, and therefore operations become complicated when it is desired to display a certain character in a different display size.

(ハ) 発明の目的 本発明は斯る点に鑑みてなされたもので、変換
後の文字の表示サイズは変換される文字の表示サ
イズにより決定されるような文字変換装置を提供
せんとするものである。
(c) Purpose of the Invention The present invention has been made in view of the above points, and it is an object of the present invention to provide a character conversion device in which the display size of the converted character is determined by the display size of the character to be converted. It is.

(ニ) 発明の構成 本発明の構成的特徴は、各種の変換を指示する
入力部、読み方に対応して漢字が格納された読み
―漢字変換用辞書、ローマ字に対応してカナが格
納されたローマ字―カナ変換用辞書等を備えた辞
書メモリ、変換されるべき入力文字のコードが格
納されたコードバツフア、該コードバツフア中の
各コードに対応した文字の表示サイズが格納され
たサイズバツフア、上記入力部からの変換指示に
基づいて上記コードバツフア内のコードで表わさ
れる各入力文字を他字種の文字に変換しその文字
に対応するコードとして出力すると共に、斯る変
換後の文字が複数の入力文字により構成される場
合は当該複数の入力文字の先頭コードの表示サイ
ズを上記サイズバツフアから変換後の文字の表示
サイズとして出力する変換部、該変換部からの上
記両出力に基づいて表示用パターンを作成するフ
オント作成部を具備したことにある。
(d) Structure of the Invention The structural features of the present invention include an input section for instructing various conversions, a reading-to-kanji conversion dictionary that stores kanji corresponding to the reading, and a kana character that stores kanji corresponding to the romaji. A dictionary memory equipped with a dictionary for romaji-kana conversion, etc., a code buffer storing codes of input characters to be converted, a size buffer storing display sizes of characters corresponding to each code in the code buffer, from the input section mentioned above. Based on the conversion instructions, each input character represented by the code in the code buffer is converted to a character of another character type and output as a code corresponding to that character, and the character after such conversion is composed of a plurality of input characters. If so, a conversion unit that outputs the display size of the first code of the plurality of input characters from the size buffer as the display size of the converted character, and a font that creates a display pattern based on both of the above outputs from the conversion unit. The reason is that it has a creation section.

(ホ) 実施例 第1図は本発明の一実施例を示し、1は例えば
キーボードからなる入力部であり、該入力部は漢
字変換キー、カタカナ変換キー、ひらがな変換キ
ー等の変換キーを有する。
(e) Embodiment FIG. 1 shows an embodiment of the present invention, in which 1 is an input section consisting of, for example, a keyboard, and the input section has conversion keys such as a kanji conversion key, a katakana conversion key, a hiragana conversion key, etc. .

2は辞書メモリであり、該メモリ内には読み方
に対応して漢字が格納された読み―漢字変換用辞
書3、ローマ字に対応してカタカナ、ひらがなが
格納されたローマ字―カナ変換用辞書4等各種の
辞書が格納されている。
Reference numeral 2 denotes a dictionary memory, which includes a reading-to-kanji conversion dictionary 3 that stores kanji corresponding to the reading, a Roman-to-kana conversion dictionary 4 that stores katakana and hiragana corresponding to Roman characters, etc. Contains various dictionaries.

5は第1コードバツフアであり、該バツフアに
は変換されようとする語に対応した文字、即ち入
力文字のコードが格納されている。6は第1サイ
ズバツフアであり、該バツフアには上記第1コー
ドバツフア5のコードに対応した入力文字の表示
における表示サイズが格納される。
Reference numeral 5 denotes a first code buffer, which stores the code of the character corresponding to the word to be converted, that is, the code of the input character. 6 is a first size buffer, and the display size of the input character corresponding to the code of the first code buffer 5 is stored in this buffer.

即ち、今第2図Aに示す如く変換されるべき入
力文字(文字列)“Saizu”がCRT画面20上に
表示されているとする。尚、図中文字“S”、
“a”、“u”は全角文字であり、文字“i”、“z”
は半角文字である。
That is, assume that the input character (character string) "Saizu" to be converted is now being displayed on the CRT screen 20 as shown in FIG. 2A. In addition, the letter "S" in the figure,
“a” and “u” are full-width characters, and characters “i” and “z” are
is a half-width character.

このとき、第1コードバツフア5、第1サイズ
バツフア6には第2図B,Cに示す如く各入力文
字に対応したコード及びその表示サイズが格納さ
れる。
At this time, the first code buffer 5 and first size buffer 6 store the code corresponding to each input character and its display size as shown in FIGS. 2B and 2C.

7は変換部であり、該変換部では入力部1から
の変換キー入力に基づいて上記第1コードバツフ
ア5内の文字コード列が他の字種に変換されると
共に斯る変換された字種の表示サイズを第1サイ
ズバツフア6の内容に基づいて決定する。
Reference numeral 7 denotes a conversion unit, in which the character code string in the first code buffer 5 is converted to another character type based on the conversion key input from the input unit 1, and the converted character type is converted to another character type. The display size is determined based on the contents of the first size buffer 6.

具体的には今第1コードバツフア5及び第1サ
イズバツフア6に夫々第2図B,Cに示す如きデ
ータが格納され、かつ入力部1よりカタカナ変換
キーが入力されたものとすると、まず変換部7は
第1コードバツフア5内のローマ字“Saizu”に
対応したカタカナ“サイズ”を辞書メモリ2内の
ローマ字―カナ変換用辞書4を検索することによ
り読み出すと共に斯るカタカナ“サ”、“イ”、
“ズ”の表示サイズを第1サイズバツフア6の内
容に基づいて決定する。この表示サイズ決定は、
カタカナ“サ”に対応するローマ字“Sa”の先
頭文字“S”の表示サイズが全角であり、カタカ
ナ“イ”に対応するローマ字“i”の表示サイズ
が半角であり、カタカナ“ズ”に対応するローマ
字“zu”の先頭文字“z”の表示サイズが半角
であるので、上記カタカナ“サ”、“イ”、“ズ”の
各表示サイズは全角、半角、半角となる。
Specifically, assuming that data as shown in FIG. 2B and C are stored in the first code buffer 5 and first size buffer 6, respectively, and a katakana conversion key is input from the input unit 1, first reads out the katakana "size" corresponding to the Roman character "Saizu" in the first code buffer 5 by searching the Roman character-kana conversion dictionary 4 in the dictionary memory 2, and reads out the katakana "Size" corresponding to the Roman character "Saizu" in the first code buffer 5, and also reads out the katakana "Size" corresponding to the Roman character "Saizu" in the first code buffer 5 by searching the Roman character-kana conversion dictionary 4 in the dictionary memory 2.
The display size of "Z" is determined based on the contents of the first size buffer 6. This display size determination is
The display size of the first letter “S” of the Roman letter “Sa”, which corresponds to the katakana “sa”, is full-width, and the display size of the Roman letter “i”, which corresponds to the katakana “i”, is half-width, which corresponds to the katakana “zu”. Since the display size of the first character "z" of the Roman alphabet "zu" is half-width, the display sizes of the katakana characters "sa", "i", and "zu" are full-width, half-width, and half-width.

8は第2コードバツフアであり、該バツフアに
は変換部7において変換された文字に対応したコ
ードが格納される。
8 is a second code buffer, and the code corresponding to the character converted by the converter 7 is stored in this buffer.

9は第2サイズバツフアであり、該バツフアに
は上記変換部7において変換された文字の表示サ
イズが格納される。
9 is a second size buffer, and the display size of the characters converted by the converter 7 is stored in this buffer.

従つて、今変換部7からは、“サ”、“イ”、“ズ”
というカタカナに対応したコード及び斯る各カタ
カナの表示サイズが出力されるので、第2コード
バツフア8及び第2サイズバツフア9内には第3
図A,Bに示す如く上記コード及び表示サイズが
格納される。
Therefore, from the converter 7, "sa", "i", "z"
Since the code corresponding to the katakana and the display size of each katakana are output, the second code buffer 8 and second size buffer 9 contain the third
The above code and display size are stored as shown in Figures A and B.

10はフオントメモリであり、該メモリには各
文字の全角サイズの表示パターンが上記コードに
対応して格納されている。
Reference numeral 10 denotes a font memory, in which a full-width display pattern of each character is stored in correspondence with the above-mentioned code.

11はフオント作成部であり、該作成部では第
2コードバツフア8内のコードに対応した表示パ
ターンをフオントメモリ10より読み出し、第2
サイズバツフア9内の表示サイズに基づいて上記
表示パターンを拡大もしくは縮少するか又はその
ままのサイズで例えばCRT画面を有する表示部
12に表示する。
Reference numeral 11 denotes a font creation section, which reads a display pattern corresponding to the code in the second code buffer 8 from the font memory 10, and
The display pattern is enlarged or reduced based on the display size in the size buffer 9, or is displayed at the same size on the display section 12 having, for example, a CRT screen.

従つて、今第2コードバツフア8及び第2サイ
ズバツフア9には第3図に示す如きデータが格納
されているためフオント作成部11により第4図
に示す如くCRT画面20上ではカタカナ“サ”
は全角サイズで、カタカナ“イ”及び“ズ”は
夫々半角サイズで表示される。
Therefore, since data as shown in FIG. 3 is currently stored in the second code buffer 8 and the second size buffer 9, the font creation section 11 generates katakana "sa" on the CRT screen 20 as shown in FIG.
is displayed in full-width size, and katakana characters “i” and “zu” are displayed in half-width size.

上述の如く、本実施例ではローマ字をカタカナ
に変換するに際して、変換後のカタカナの表示サ
イズは変換されるローマ字の表示サイズに対応す
ることとなる。
As described above, in this embodiment, when converting Roman characters into Katakana, the display size of the converted Katakana corresponds to the display size of the Roman characters to be converted.

また、読み―漢字変換においても同様に読み方
を表わす文字の表示サイズに対応して変換された
漢字の表示サイズが決定する。
Furthermore, in the reading-to-kanji conversion, the display size of the converted kanji is similarly determined in accordance with the display size of the character representing the reading.

具体的には、今「にほんご」という読みに対応
して「日本語」という漢字を変換出力するに際し
て、第1コードバツフア5には読みを表わすひら
がな“に”、“ほ”、“ん”、“ご”の各コード格納さ
れ、第1サイズバツフア6には上記各ひらがなの
表示サイズが格納されているものとする(第5図
A,B)。
Specifically, when converting and outputting the kanji ``Japanese'' corresponding to the reading ``Nihongo'', the first code buffer 5 contains the hiragana ``ni'', ``ho'', ``n'', and `` that represent the reading. It is assumed that the first size buffer 6 stores the display size of each hiragana (FIG. 5A, B).

このとき、入力部1より漢字変換キーが入力さ
れると、変換部7においてまず上記読み“にほん
ご”に対応した漢字「日本語」が辞書メモリ2の
読み―漢字変換用辞書3より検索され、斯る漢字
に対応したコードを第2コードバツフア8に格納
される(第6図A)と共に次いで第1サイズバツ
フア6の内容に基づいて上記各漢字の表示サイズ
を決定し第2サイズバツフア9に格納する。具体
的には、上記漢字“日”に対応したひらがな
“に”の表示サイズは倍角であり、漢字“本”に
対応したひらがな“ほん”の先頭文字“ほ”の表
示サイズは倍角であり、漢字“誤”に対応したひ
らがな“ご”の表示サイズは全角であるので、漢
字“日”、“本”、“語”の各表示サイズは倍角、倍
角、全角となる(第6図B)。
At this time, when the kanji conversion key is input from the input unit 1, the conversion unit 7 first searches for the kanji "Japanese" corresponding to the above-mentioned reading "Nihongo" from the reading-to-kanji conversion dictionary 3 in the dictionary memory 2, and The codes corresponding to these kanji characters are stored in the second code buffer 8 (FIG. 6A), and then the display size of each kanji character is determined based on the contents of the first size buffer 6 and stored in the second size buffer 9. Specifically, the display size of the hiragana "ni" corresponding to the above kanji "日" is double-width, and the display size of the first character "ho" of the hiragana "hon" corresponding to the kanji "hon" is double-width. Since the display size of the hiragana "go", which corresponds to the kanji "mistake", is full-width, the display sizes of the kanji "日", "hon", and "go" are double-width, double-width, and full-width (Figure 6B). .

従つて、表示部12のCRT画面20上には第
6図Cに示す如く倍角の“日”、“本”及び全角の
“語”が夫々表示されることとなる。
Therefore, on the CRT screen 20 of the display unit 12, double-width "day", "book" and full-width "word" are respectively displayed as shown in FIG. 6C.

尚、本実施例ではフオントメモリ10に全角の
パターンのみを格納し、フオント作成部11にお
いて拡大・縮小するように構成したが、フオント
メモリ10に全角、半角、倍角等全ての表示サイ
ズの表示パターンを格納しておき、フオント作成
部11が第1コード及びサイズバツフアの内容に
基づいて上記パターンを読出すように構成しても
よい。
In this embodiment, only full-width patterns are stored in the font memory 10 and enlarged/reduced in the font creation section 11. However, the font memory 10 stores display patterns of all display sizes such as full-width, half-width, and double-width. may be stored, and the font creation unit 11 may be configured to read out the pattern based on the first code and the contents of the size buffer.

(ヘ) 発明の効果 本発明の装置では変換後の文字の表示サイズを
変換される文字の表示サイズにより指定できるの
で、文字サイズを各文字単位で異ならせたいとき
に非常に有効である。
(F) Effects of the Invention In the device of the present invention, the display size of a converted character can be specified by the display size of the converted character, so it is very effective when it is desired to make the character size different for each character.

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

図は本発明の実施例を示し、第1図はブロツク
図、第2図乃至第6図は模式図である。 1…入力部、2…辞書メモリ、5…第1コード
バツフア、6…第2サイズバツフア、7…変換
部、11…フオント作成部。
The drawings show an embodiment of the present invention, with FIG. 1 being a block diagram and FIGS. 2 to 6 being schematic diagrams. DESCRIPTION OF SYMBOLS 1... Input unit, 2... Dictionary memory, 5... First code buffer, 6... Second size buffer, 7... Conversion unit, 11... Font creation unit.

Claims (1)

【特許請求の範囲】[Claims] 1 各種の変換を指示する入力部、読み方に対応
して漢字が格納された読み―漢字変換用辞書、ロ
ーマ字に対応してカナが格納されたローマ字―カ
ナ変換用辞書等を備えた辞書メモリ、変換される
べき入力文字のコードが格納されたコードバツフ
ア、該コードバツフア中の各コードに対応した文
字の表示サイズが格納されたサイズバツフア、上
記入力部からの変換指示に基づいて上記コードバ
ツフア内のコードで表わされる各入力文字を他字
種の文字に変換しその文字に対応するコードとし
て出力すると共に、斯る変換後の文字が複数の入
力文字により構成される場合は当該複数の入力文
字の先頭コードの表示サイズを上記サイズバツフ
アから変換後の文字の表示サイズとして出力する
変換部、該変換部からの上記両出力に基づいて表
示用パターンを作成するフオント作成部を具備し
たことを特徴とする文字変換装置。
1. Dictionary memory equipped with an input section for instructing various conversions, a reading-to-kanji conversion dictionary that stores kanji corresponding to the reading, a romanji-kana conversion dictionary that stores kana corresponding to the romaji, etc. A code buffer that stores the code of the input character to be converted; a size buffer that stores the display size of the character corresponding to each code in the code buffer; In addition to converting each input character into a character of another type and outputting it as a code corresponding to that character, if the character after such conversion is composed of multiple input characters, the first code of the multiple input characters is A character conversion device comprising: a conversion unit that outputs a display size of a character after conversion from the size buffer; and a font creation unit that creates a display pattern based on both of the outputs from the conversion unit. .
JP58179853A 1983-09-27 1983-09-27 Character converter Granted JPS6070485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58179853A JPS6070485A (en) 1983-09-27 1983-09-27 Character converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58179853A JPS6070485A (en) 1983-09-27 1983-09-27 Character converter

Publications (2)

Publication Number Publication Date
JPS6070485A JPS6070485A (en) 1985-04-22
JPS6349232B2 true JPS6349232B2 (en) 1988-10-04

Family

ID=16073054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58179853A Granted JPS6070485A (en) 1983-09-27 1983-09-27 Character converter

Country Status (1)

Country Link
JP (1) JPS6070485A (en)

Also Published As

Publication number Publication date
JPS6070485A (en) 1985-04-22

Similar Documents

Publication Publication Date Title
JPS6349232B2 (en)
JPS63313268A (en) Reading retrieving device in document forming device
JPS6362018B2 (en)
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JPS6154561A (en) Japanese word processor
JPS6154559A (en) Japanese word processor
JPS6371767A (en) Document producing device
JPH0740263B2 (en) Japanese word processor
JP3042284B2 (en) Japanese input device
JP2634926B2 (en) Kana-Kanji conversion device
JPS63316162A (en) Document preparing device
JPH0441399Y2 (en)
JPH04205548A (en) Word processor
JPH0380363A (en) Document processor
JPS58205247A (en) Japanese word processor
JP2972225B2 (en) Character converter
JP2761622B2 (en) Character converter
JP2870524B2 (en) Character conversion processor
JPH03110663A (en) Document processor
JPS61260353A (en) Document processing system
JPS6246031B2 (en)
JPH01233653A (en) Japanese word processor
JPS62274459A (en) Sentence expression correcting system
JPS62266662A (en) Kana/kanji converting device
JPH08180054A (en) Document processor