JPH028953A - Chinese language sentence preparing device - Google Patents

Chinese language sentence preparing device

Info

Publication number
JPH028953A
JPH028953A JP63159857A JP15985788A JPH028953A JP H028953 A JPH028953 A JP H028953A JP 63159857 A JP63159857 A JP 63159857A JP 15985788 A JP15985788 A JP 15985788A JP H028953 A JPH028953 A JP H028953A
Authority
JP
Japan
Prior art keywords
ruby
yomi
storage means
font
code
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
JP63159857A
Other languages
Japanese (ja)
Inventor
Tatsuhiro Momotake
百武 立裕
Yusuke Suzuoki
鈴置 祐介
Chiho Mizunaga
水永 千穂
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP63159857A priority Critical patent/JPH028953A/en
Priority to CN 89104561 priority patent/CN1012223B/en
Publication of JPH028953A publication Critical patent/JPH028953A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は、作成した文章の漢字にルビ(ふりがな)を
付けることのできる中国語文章作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application This invention relates to a Chinese text creation device that can add ruby (furigana) to kanji characters in created sentences.

(ロ)従来の技術 従来、中国語文章作成装置(以下中国語ワードプロセッ
サと呼称する)においては、−船釣に漢字の読みを表わ
すルビは、その漢字の上段に英語小文字で付される。そ
して漢字フォントは全角で定義され、英語小文字のフォ
ントは半角で定義されている。したがって第14図に示
すように、漢字の上段に表記できるルビの文字数は、2
文字に制限されている。
(B) Prior Art Conventionally, in a Chinese text creation device (hereinafter referred to as a Chinese word processor), the ruby character representing the reading of the Kanji character for ``Fune-Tsuri'' is placed above the Kanji character in lowercase English letters. Kanji fonts are defined as full-width characters, and English lowercase fonts are defined as half-width characters. Therefore, as shown in Figure 14, the number of ruby characters that can be written in the upper row of kanji is 2.
Limited to characters.

(ハ)発明が解決しようとする課題 しかし上記の中国語ワードプロセッサでは、漢字とルビ
との表示位置がずれるため、漢字とルビとが対応して表
示されず、したがってルビが連続して表示されると、漢
字の読みが確認しにくいという問題があった。また、ル
ビの真下に、文字を位置させるには、漢字の字間を調整
して作成した文章を再度g果し直さなければならず、こ
の作業は手間であるばかりか漢字が不揃いとなり見栄え
が悪かった。
(c) Problems to be solved by the invention However, in the above-mentioned Chinese word processor, the display positions of the kanji and ruby are shifted, so the kanji and ruby are not displayed in correspondence, and therefore the ruby is displayed consecutively. There was a problem that it was difficult to confirm the reading of the kanji. In addition, in order to position a character directly below the ruby, it is necessary to adjust the spacing between the kanji characters and redo the sentence created.This work is not only time-consuming, but also makes the kanji appear irregular. It was bad.

この発明は、以上の事情を考慮してなされたしので、漢
字1文字毎にその漢字の読みであるルビを対応して付け
ることができる中国語文章作成装置を得ることを目的と
しており、さらに該装置に用いられるルビフォント記憶
手段のルビフォントの記憶容量を削減しうる中国語文章
作成装置の提供を目的としている。
This invention has been made in consideration of the above circumstances, and an object of the invention is to obtain a Chinese text creation device that can attach ruby, which is the pronunciation of that kanji, to each kanji character, and furthermore, The object of the present invention is to provide a Chinese text creation device that can reduce the ruby font storage capacity of a ruby font storage means used in the device.

(ニ)課題を解決するための手段 第1図はこの発明の請求項1に係る中国語文章作成装置
の基本構成を明示するブロック図で、1は併音読み情報
、ルビ表示指示を含む各種指示を入力する入力手段、2
は入力された併音読み情報を一時記憶する併音読み記憶
手段、3は併音読みと対応するルビ変換用のルビコード
を多数記憶しているルビコード記憶手段、4はルビ表示
指示を受けた際に前記ルビコード記憶手段3を検索する
ことにより、併音読みをルビコードに変換して出力する
ルビコード変換手段、5は漢語の併音音節表記すべてを
それぞれ全角文字の横幅内に収まるサイズのルビフォン
トで形成し、かつそれらのルビフォントをルビコードと
対応して記憶しているルビフォント記憶手段、6は出力
されたルビコードより該当するルビフォントを前記ルビ
フォント記憶手段5から読み出すルビ読出手段、7は読
み出されたルビを出力する出力手段、8は読み出された
ルビを記憶する文章記憶手段である。
(d) Means for Solving the Problems FIG. 1 is a block diagram showing the basic configuration of the Chinese text creation device according to claim 1 of the present invention, in which 1 indicates various instructions including parallel reading information and ruby display instructions. Input means for inputting 2
3 is a ruby code storage means that stores a large number of ruby codes for ruby conversion corresponding to the input junion reading information; 4 is a ruby code storage means that stores the ruby code when a ruby display instruction is received; A ruby code converting means converts and outputs a junyon reading into a ruby code by searching the storage means 3, and a ruby code conversion means 5 forms all the junyon syllabary notation of Chinese in a ruby font of a size that fits within the width of a full-width character, and A ruby font storage means 6 stores the ruby fonts in correspondence with the ruby codes, a ruby reading means 6 reads out a corresponding ruby font from the ruby font storage means 5 based on the output ruby code, and 7 a ruby font that has been read out. 8 is a text storage means for storing the read ruby.

第2図はこの発明の請求項2に係る中国語文章作成装置
の基本構成を示すブロック図で、IOは併音読み情報、
ルビ表示指示を含む各種指示を入力する入力手段、11
は入力された併音読み情報を一時記憶する併音読み記憶
手段、12はルビ変換用のルビコードおよび訃音読みの
文字構成を示す数値とからなるルビ構成データを、併音
読みと対応して多数記憶しているルビデータ記憶手段、
13はルビ表示指示を受けた際に前記ルビデータ記憶手
段12を検索することにより、併音読みをルビデータに
変換して出力するルビデータ変換手段、14は併音読み
を構成する文字数分の一のサイズのフォントコードを、
文字数および文字コードに対応して多数記憶しているル
ビフォント記憶手段、15は出力されたルビデータの字
数より前記ルビフォント記憶手段14の中のルビフォン
トのサイズを特定し、ルビデータの文字コードよりその
特定されたサイズのフォントの中から該当するルビフォ
ントを順次読み出すルビ文字列読出手段、16は読み出
されたルビ文字列を出力する出力手段、17は読み出さ
れたルビ文字列を記憶する文章記憶手段である。
FIG. 2 is a block diagram showing the basic configuration of the Chinese sentence creation device according to claim 2 of the present invention, in which IO is parallel reading information,
Input means for inputting various instructions including ruby display instructions, 11
Reference numeral 12 denotes a june-yomi storage means for temporarily storing the input june-yomi information, and 12 stores a large number of ruby configuration data consisting of a ruby code for ruby conversion and a numerical value indicating the character composition of the shion-yomi corresponding to the june-yomi. Ruby data storage means,
Reference numeral 13 denotes a ruby data converting means for searching the ruby data storage means 12 when a ruby display instruction is received, converting the Jun-on reading into ruby data and outputting the same, and 14 a font having a size that is one-half the number of characters constituting the Jun-on reading. the code,
A ruby font storage means 15 stores a large number of ruby fonts corresponding to the number of characters and character codes, and specifies the size of the ruby font in the ruby font storage means 14 from the number of characters of the output ruby data, and specifies the size of the ruby font from the character code of the ruby data. A ruby character string reading means for sequentially reading out the corresponding ruby fonts from among fonts of a specified size; 16 an output means for outputting the read ruby character string; 17 a text for storing the read ruby character string It is a means of storage.

(ホ)作用 この発明によれば、出力手段に出力されている中国語文
章の所望の異字に対し、ルビ表示位置の指定を行い、次
いで併音入力を行い、ルビ表示の指示を行うと、一つの
漢字の読みに該当するルビフォントがルビフォント記憶
手段から読み出され、所定の漢字における全角文字の横
幅内に収まるよう出力される。
(E) Effects According to the present invention, when the ruby display position is specified for a desired variant character of the Chinese text output to the output means, and the juxtaposition input is then performed to instruct the ruby display, A ruby font corresponding to the pronunciation of one kanji is read from the ruby font storage means and output so as to fit within the width of a full-width character in a predetermined kanji.

また、ルビフォント記憶手段を、併音読みを構成する文
字数分の一のサイズのフォントコードで構成した際は、
ルビ表示の指示を行うと、入力された併音読みが、字数
および文字コードからなるルビデータに変換され、この
ルビデータはルビフォント記憶手段に転送される。次い
でルビ文字列読出手段が、転送されたルビデータの字数
よりルビフォントのサイズを特定し、ルビデータの文字
コードよりその特定したサイズのフォントの中から該当
するルビを類火読み出し、出力手段に出力するよう作用
する。これによりルビフォント記憶手段を、少ない記憶
容量で構成することができる。
In addition, when the ruby font storage means is configured with a font code whose size is one-th of the number of characters that make up the double-on reading,
When an instruction to display ruby is given, the inputted readings are converted into ruby data consisting of the number of characters and character codes, and this ruby data is transferred to the ruby font storage means. Next, the ruby character string reading means specifies the size of the ruby font from the number of characters in the transferred ruby data, reads out the corresponding ruby from among the fonts of the specified size based on the character code of the ruby data, and outputs it to the output means. It works like this. Thereby, the ruby font storage means can be constructed with a small storage capacity.

(へ)実施例 以下図に示す実施例に基づいてこの発明を詳述する。な
お、これによってこの発明は限定されるものではない。
(F) EXAMPLES The present invention will be described in detail below based on examples shown in the figures. Note that this invention is not limited by this.

第3図はこの発明の一実施例の構成を示すブロック図で
ある。同図において20は、声母文字お上び均分文字を
入力する文字入カキ−1入力された声母文字および均分
文字からなる併音読みを漢字に変換するための指示を入
力する変換キー等を備えた入力手段としてのキーボード
である。また第4図はキーボード20のキー配置を示す
図で、20aはルビ表示を指示するためのルビキーであ
る。第3図において21はキーボード20から入力され
た併音読みを一時記憶する併音読み記憶手段としての併
音バッファである。22は入力された併音読みが併音で
あるかどうかを判定する併音判定部である。23はCR
TやLCD等から構成される出力手段としての表示装置
で、キーボード20から入力された声母文字、均分文字
を表示するとともに漢字変換辞書24から読み出された
漢字候補等や後述するルビを表示する。25はルビデー
タ記憶手段あるいはルビデータ記憶手段としての併音ル
ビコード変換テーブルで、併音読みをルビフォントのコ
ードに変換する。26はルビフォント記憶手段としての
ルビフォント検索テーブルである。27は例えば16ビ
ツトのマイクロプロセッサから構成される装置 ドあるいはルビデータ変換手段とルビ読出あるいはルビ
文字列読出手段としての機能を実行する。
FIG. 3 is a block diagram showing the configuration of an embodiment of the present invention. In the same figure, 20 is a character input key for inputting voice initial letters and equated characters. 1 is a conversion key, etc. for inputting an instruction to convert the input reading of voice initials and equated characters into kanji. A keyboard is provided as an input means. FIG. 4 is a diagram showing the key arrangement of the keyboard 20, where 20a is a ruby key for instructing ruby display. In FIG. 3, reference numeral 21 denotes a double sound buffer as a double sound reading storage means for temporarily storing the double sound reading inputted from the keyboard 20. Reference numeral 22 denotes a juon determination unit that determines whether the input juon reading is juon. 23 is CR
A display device as an output means consisting of a T, an LCD, etc., which displays the initial letters and equated letters inputted from the keyboard 20, as well as kanji candidates read from the kanji conversion dictionary 24 and ruby, which will be described later. do. Reference numeral 25 denotes a ruby data storage means or a double-on ruby code conversion table serving as a ruby data storage means, which converts a double-on reading into a code of a ruby font. 26 is a ruby font search table as a ruby font storage means. Reference numeral 27 executes the functions of a device or ruby data converting means and a ruby reading means or a ruby character string reading means, which is composed of, for example, a 16-bit microprocessor.

この制御装置27は、キーボード20から入力された併
音読みを受け、ルビキー20aが押された際に、すなわ
ちルビ表示指示がなされた際に併音読みに対応するルビ
を、プログラムメモリ28に書き込まれているプログラ
ムに従ってルビフォント検索テーブル26から読み出し
、表示装置23に出力する。なお、29は変換された中
国語文章および漢字に付されたルビを記憶する文章記憶
手段としての文章メモリであり、例えばRAMやフロッ
ピーディスクなどの外部記憶装置から構成される。また
、30は作成した文章等を印字するプリンタであり、熱
転写式プリンタやドツトインパクト方式プリンタで構成
できる。
The control device 27 receives the Jun-on reading input from the keyboard 20, and writes the ruby corresponding to the Jun-on reading into the program memory 28 when the ruby key 20a is pressed, that is, when a ruby display instruction is issued. The ruby font search table 26 is read out according to the program, and output to the display device 23. Note that 29 is a text memory as a text storage means for storing converted Chinese texts and rubies added to Kanji characters, and is constituted by an external storage device such as a RAM or a floppy disk. Further, 30 is a printer for printing created sentences, etc., and can be configured by a thermal transfer type printer or a dot impact type printer.

第5図は請求項Iに係る、併音読みをルビフォントコー
ドに変換する併音ルビコード変換テーブルの内容を示し
ている。ルビフォントコードと対応するルビフォントは
、第6図に示すように漢字のフォントと同じサイズに作
成されており、かつ併音410種類すべてについて作成
されている。
FIG. 5 shows the contents of a june-on ruby code conversion table for converting june-on readings into ruby font codes according to claim I. The ruby fonts corresponding to the ruby font codes are created to have the same size as the kanji font, as shown in FIG. 6, and are created for all 410 types of kanji.

次に第7図のフローチャートに従って請求項1に係る実
施例の動作を説明する。
Next, the operation of the embodiment according to claim 1 will be explained according to the flowchart of FIG.

まず表示装置23の画面上に入力の案内“声母”が表示
されている状態でキーボート20の文字入力キーを操作
し文字を入力すると(ステップ4〇一41)、声母キー
の場合(ステップ・12)該当する声母データを保持し
(ステップ43)声母文字を表示装置23に表示する(
ステップ44)。声母入力が終わると入力の案内“均分
”が表示され(ステップ45)、文字入カキーを操作し
文字を入力すると(ステップ46→47)、入力が2回
に分けてなされたかの判断てある2定義キ一判断かなさ
れ(ステップ48)2回の入力がなされた場合は第1鉤
母による併音表記判定がなされ(ステップ49)、次い
で表記ありの場合(ステップ50)、第2絢母による併
音表記判定がなされ(ステップ51)、表記ありの場合
(ステップ52)は該当的母データを保持し(ステップ
53)均分文字を表示装置23に表示する(ステップ5
4)。なおステップ48において2定義キーの判断がN
oであれば該当均分による併音表記判定がなされ(ステ
ップ55)、ステップ51に移る。
First, when the input guide "Voice initial" is displayed on the screen of the display device 23, input a character by operating the character input keys of the keyboard 20 (Steps 4-41). ) Holds the corresponding initial data (step 43) and displays the initial character on the display device 23 (
Step 44). When inputting the initials is completed, the input guide "Evenly divided" is displayed (step 45), and when characters are input by operating the character input key (steps 46 -> 47), it is determined whether the input was made in two parts.2 Definition key judgment is made (step 48). If two inputs are made, a double phonetic notation judgment is made by the first hook (step 49), and then, if there is a notation (step 50), the second aya is judged. Judgment is made on whether orthography is parallel (step 51), and if there is a notation (step 52), the relevant base data is held (step 53) and the evenly divided characters are displayed on the display device 23 (step 5).
4). Note that in step 48, the determination of 2 definition keys is N.
If it is o, a juxtaposition determination is made based on the corresponding equalization (step 55), and the process moves to step 51.

以上のステップは、ルビ変換処理前である、入力された
併音読みが反転表示されるまでの過程である。
The above steps are the process before the ruby conversion process until the input juonyomi is displayed in reverse video.

次に上記実施例の特徴について説明する。ステップ42
において、押されたキーがルビキーであると(ステップ
56)、併音バッファ21に記憶されている併音データ
を基に、第5図に示す併音ルビコード併音テーブル25
をサーチし、該当するルビコードを求める(ステップ5
7)。ステップ57における検索で併音データが存在す
るかどうかチエツクする(ステップ58)。このジャッ
ジは変換終了に使われる。次いでステップ58でYES
であれば検索したルビコードからルビフォントを取り込
み(ステップ59)、ルビを表示する(ステップ60)
Next, the features of the above embodiment will be explained. Step 42
If the pressed key is a ruby key (step 56), based on the double tone data stored in the double tone buffer 21, the double tone ruby code double tone table 25 shown in FIG.
and find the corresponding ruby code (Step 5)
7). It is checked whether parallel sound data exists in the search in step 57 (step 58). This judge is used to end the conversion. Then YES in step 58
If so, import the ruby font from the searched ruby code (step 59) and display the ruby (step 60).
.

次に請求項2に係る実施例について説明する。Next, an embodiment according to claim 2 will be described.

第8図は併音読みをルビ構成データに変換する併音ルビ
コード変換テーブルの内容を示しており、併音読み41
0種類に対してそれぞれの併音データとルビ構成データ
を備えている。併音読みが例えばzhong+の場合、
 zhong+のデータからADR−zhongを検索
する。したがって併音読み“zhong”は5文字で、
かつ文字2”ごh”ご。”ごn”ごg”から構成されて
いることがわかる。
Figure 8 shows the contents of the double-on ruby code conversion table that converts the double-on reading into ruby composition data, and shows the double-on reading 41
It has respective parallel sound data and ruby composition data for 0 types. For example, if the double reading is zhong+,
ADR-zhong is searched from the data of zhong+. Therefore, the double reading “zhong” has 5 characters,
And character 2 "goh" go. You can see that it is composed of "go n" and "go g".

第9図および第10図は、ルビフォント検索テーブル2
6の一部の構成を示す模式図であり、第9図のルビフォ
ント検索テーブルは、字数1における字母コード、フォ
ントアドレスを示し、第1O図のそれは字数6における
字母コード、フォントアドレスを示している。両図のn
はルビフォントの収納字数を示す。また、図示しないが
字数2.3.4についてはn=26のテーブル、字数5
についてはn=16のテーブルを持つ。
Figures 9 and 10 are ruby font search table 2.
6, the ruby font search table in FIG. 9 shows the character code and font address for a character number of 1, and that in Figure 1O shows the character capital code and font address for a character number of 6. There is. n in both figures
indicates the number of characters stored in the ruby font. Also, although not shown, for the number of characters 2.3.4, a table with n = 26, number of characters 5
has n=16 tables.

これらnは中国語の併音の規則から決定される。These n are determined from the rules of Chinese juxtaposition.

すなわち、全併音読み410種は、アルファベットの字
数毎に次ぎのように分類できる。
In other words, the 410 types of Zen-Jon-yomi can be classified as follows according to the number of letters of the alphabet.

1文字で表現する併音は、a、e、m、n、oの5種。There are five types of juxtapositions that can be expressed with one letter: a, e, m, n, and o.

2文字で表現する併音は、a i、an、ao、ba。The double sounds expressed with two letters are ai, an, ao, and ba.

〜yu、za、ze、z i、zuの81種。~81 types of yu, za, ze, z i, zu.

3文字で表現する併音は、ユng、baiban=zu
 i、zun、zuoの174種。
The double sounds expressed with three letters are yung, baiban = zu.
174 types of i, zun, and zuo.

4文字で表現する併音は、b ang、b e ng。The double sounds expressed with four letters are b ang and b e ng.

bian〜zong、zuanの1221゜5文字で表
現する併音は、chang。
The double sound expressed with 1221°5 letters of bian~zong, zuan is chang.

cheng=zhong、zhua i、zhuanの
25種。 6文字で表現する併音(よ、chuang、
shuang、zhuangの3種である。
25 types of cheng = zhong, zhua i, zhuan. Conjunctions (yo, chuang,
There are three types: shuang and zhuang.

したがって1/1のフォントは、a、a、m、noの5
字。
Therefore, the 1/1 font is 5: a, a, m, no.
character.

1/2のフォントと173のフォントと1/4のフォン
トは、それぞれVを除くアルファベット25文字とUの
計26字。
The 1/2 font, 173 font, and 1/4 font each have 25 letters of the alphabet excluding V and a total of 26 letters, including U.

!15のフォントは、a、c、e、g、h、i、j、k
! The 15 fonts are a, c, e, g, h, i, j, k
.

1、n、o、q、s、u、x、zの16字。16 characters: 1, n, o, q, s, u, x, z.

1/6のフォントは、1.(、gJ、n、s、u、zの
8字が必要となる。これによりnが決定される。
1/6 font is 1. (, gJ, n, s, u, and z are required. This determines n.

次に上記実施例の動作を第11図に示すフローチャート
に従って説明する。同図において、第7図と同一符号が
付されているステップ40〜ステツプ56の処理は、第
7図における処理(請求項1に係る実施例)と同様なた
め説明を省略する。
Next, the operation of the above embodiment will be explained according to the flowchart shown in FIG. In this figure, the processes from step 40 to step 56, which are denoted by the same reference numerals as those in FIG. 7, are the same as the processes in FIG. 7 (the embodiment according to claim 1), and therefore the explanation thereof will be omitted.

ステップ42において、押されたキーがルビキーである
と(ステップ56)、第8図に示す併音ルヒコード変喚
テーブル25から併音読みの字母数と字母コードを示す
アドレスとを求める(ステップ61)。ステップ61に
おける検索で併音データが存在するかどうかチエツクす
る(ステップ62)。このジャッジは変換終了に使われ
る。次いでステップ62でYESであれば検索したアド
レスから字母数と字母コードを求める。例えば入力され
ている併音読みが“zhong”の場合、字母数が5、
字母コード“Z“、“h”、“0”、“n”、“g“を
取り込む(ステップ63)。次いてこの字母数分表示パ
ブファへデータが展開されたかチエツクする(ステップ
64)。展開されていれば第9図および第10図に示す
ルビフォント検索テーブル26を用いてルビフォントの
取り込み(読込み)を行う(ステップ65)。例えば“
zhong”の場合、字母数5のZ“、“h”、“0″
、“n”、“g”のフォントアドレスからデータを読み
込む。取り込まれたルビフォントを次いで表示装置23
に表示する(ステップ66)。
In step 42, if the pressed key is a ruby key (step 56), the number of letters in the double-on reading and the address indicating the letter code are obtained from the double-on Ruhi code transformation table 25 shown in FIG. 8 (step 61). It is checked whether parallel sound data exists in the search in step 61 (step 62). This judge is used to end the conversion. Next, if YES in step 62, the number of letters and the letter code are obtained from the searched address. For example, if the input double reading is "zhong", the number of characters is 5,
The character codes "Z", "h", "0", "n", and "g" are taken in (step 63). Next, it is checked whether the data has been expanded to the display buffer for this number of characters (step 64). If the ruby font has been expanded, the ruby font is imported (read) using the ruby font search table 26 shown in FIGS. 9 and 10 (step 65). for example"
zhong”, Z”, “h”, “0” with character number 5
, "n", and "g". The imported ruby font is then displayed on the display device 23.
(step 66).

第12図は請求項1および請求項2に係る実施例の操作
例を示す説明図である。第12図の(2L)は、カーソ
ル移動キーを操作し、ルビ表示位置を指定した状態を示
している。第12図の(b)は、文字入カキ−を“V“
−“B”→“G”−0”と押して文字“中国”の併音読
みを入力した状態を示し、入力した併音表記は文字°中
国“の上段に反転表示される。第12図の(c)は、ル
ビキー202Lを押した後に表示装置23に表示される
ルビの状態を示している。同図から分かるように漢字“
中“の上段の全角スペース内にルビ″zhong”が表
示され、漢字“国”の上段の全角スペース内にルビgu
o”がそれぞれ表示されている。
FIG. 12 is an explanatory diagram showing an example of operation of the embodiment according to claims 1 and 2. (2L) in FIG. 12 shows a state in which the ruby display position is designated by operating the cursor movement key. Figure 12(b) shows the character key “V”.
- "B"→"G"-0" is pressed to input the double phonetic reading of the character "Chugoku", and the input double phonetic notation is displayed in reverse video above the character °Chugoku". FIG. 12(c) shows the state of ruby displayed on the display device 23 after pressing the ruby key 202L. As you can see from the same figure, the kanji “
The ruby "zhong" is displayed in the full-width space above the kanji "kuni", and the ruby gu is displayed in the full-width space above the kanji "country".
o” are displayed respectively.

第12図の(d)は、請求項1によるルビ表示状態の拡
大図であり第12図の(e)は請求項2によるルビ表示
状態の拡大図である。両図から分かるように、請求項1
によるルビ表示では、全角スペース内に文字“zhon
g”あるいは“gu。
FIG. 12(d) is an enlarged view of the ruby display state according to claim 1, and FIG. 12(e) is an enlarged view of the ruby display state according to claim 2. As can be seen from both figures, claim 1
In the ruby display by
g” or “gu.

がそれぞれ−個のルビとして処理される。これに対し請
求項2によるルビ表示では、全角スペース内に五つのル
ビ文字“Z”、“h”、0”、“n”、“g”あるいは
三つのルビ文字“g“、“U”、“0°がそれぞれ独立
して処理される。
are processed as − rubies. On the other hand, in the ruby display according to claim 2, five ruby characters "Z", "h", "0", "n", "g" or three ruby characters "g", "U", “0° is processed independently.

第13図の(a)および(b)は第12図(e)におい
てドツト表示されるルビフォントとの表示パターンを示
した図であり、第13図(a)は全角文字の横幅を5分
割してルビ“zhong”を表示する例を示し、第13
図(b)は全角文字の横幅を3分割してルビ“guo”
を表示する例を示している。
Figures 13 (a) and (b) are diagrams showing the display pattern with the ruby font displayed in dots in Figure 12 (e), and Figure 13 (a) shows the width of the full-width character divided into 5 parts. Here is an example of displaying the ruby "zhong", and the 13th
In figure (b), the width of the full-width character is divided into three to create the ruby “guo”.
An example of displaying the following is shown.

また、両実施例のルビフォント検索テーブルのRO〜f
容屑を計算すると以下の通りである。
In addition, RO to f of the ruby font search table of both embodiments
The amount of waste is calculated as follows.

−文字のフォントデータサイズをkとするとき、油性し
た併音410種の分類から、併音を構成する文字数およ
び併音を表現するために使用されるアルファベットの個
数を用いて計算すると、lX5X k +26Xl/2
X k +26xl/3x k +25X1/4X k
 + 16X 115X k +8X l/6X k 
=37.45に一方文字サイズのフォントにした請求項
2の実施例に係るルビフすント検索テーブルROM容量
は、410xkである。
- When the font data size of a character is k, when calculated from the classification of 410 types of oily junifications, using the number of letters that make up the junta and the number of alphabets used to express the junta, it is lX5X k +26Xl/2
X k +26xl/3x k +25X1/4X k
+ 16X 115X k +8X l/6X k
According to the embodiment of claim 2 in which the font is set to a character size of 37.45, the capacity of the ROM of the ruby character search table is 410xk.

したがって両者の容量を比較すると (37,45X k/410X k ) X100=9
.2%となる。
Therefore, comparing the capacities of the two, (37,45X k/410X k) X100=9
.. It becomes 2%.

したがって請求項2に係る実施例のルビフォント検索テ
ーブルは、請求項1に係る実施例のルビフォント検索テ
ーブルの約−割のROM容量で実現することが可能であ
る。
Therefore, the ruby font search table according to the embodiment according to claim 2 can be realized with a ROM capacity that is approximately -10% that of the ruby font search table according to the embodiment according to claim 1.

(ト)発明の効果 この発明によれば文章における漢字列の配置をくずすこ
となく、漢字1文字毎にその文字の読みであるルビを対
応させて表記することができる。
(G) Effects of the Invention According to the present invention, it is possible to write a ruby, which is the pronunciation of each kanji character, in correspondence with each kanji character without changing the arrangement of kanji strings in a text.

また、ルビフォントを記憶する記憶装置の記憶容量を大
幅に減少させることができるので、中国語文章作成装置
のコストダウンを図ることができる。
Furthermore, since the storage capacity of the storage device that stores ruby fonts can be significantly reduced, the cost of the Chinese text creation device can be reduced.

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

第1図はこの発明の請求項1に係る基本構成を示すブロ
ック図、第2図は同じく請求項2に係る基本構成を示す
ブロック図、第3図はこの発明の一実施例の構成を示す
ブロック図、第4図は第3図におけろキーボードのキー
配置を示す平面図、第5図は請求項1に係る実施例の併
音ルビコード変換テーブルの構成を示す模式図、第6図
は請求項1に係る実施例のルビフォントのサイズを示す
説明図、第7図は請求項1に係る実施例の動作を説明す
るフローチャート、第8図は請求項2に係る実施例の併
音ルビコード併音テーブルの構成を示す模式図、第9図
および第1O図は請求項2に係る実施例のルビフォント
検索テーブルの構成を示す模式図、第11図は請求項2
に係る実施例の動作を説明するフローチャート、第12
図の(a)(b )、(c )、(d )および(e)
はこの発明の実施例の操作例および表示状態を示す説明
図、第13図の(a)および(b)は請求項2に係る実
施例の表示パターンを示す説明図、第14図は従来例の
ルビ表示状態を示す説明図である。 1 10・・・・・・入力手段、 2、II・・・・・・併音読み記憶手段、3・・・・ル
ビコード記憶手段、 4 ・ ・ルビコード変換手段、 5.14 ・・・ルビコード記憶手段、6・ ・・ルビ
読出手段、 7、I6・・・・・・出力手段、 8.17・・・ 文章記憶手段、 12・・ ルビデータ記憶手段、 13・・・・・ルビデータ変換手段、 15・・・・・ルビ文字列読出手段。 第4図 / 0a 第 図 彷音ルビコード変撲テ フ゛ソン 第 図 消 図
FIG. 1 is a block diagram showing the basic configuration according to claim 1 of the present invention, FIG. 2 is a block diagram showing the basic configuration according to claim 2, and FIG. 3 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 4 is a plan view showing the key arrangement of the keyboard in FIG. An explanatory diagram showing the size of the ruby font of the embodiment according to claim 1, FIG. 7 is a flowchart explaining the operation of the embodiment according to claim 1, and FIG. 8 is a diatonic ruby code of the embodiment according to claim 2 9 and 10 are schematic diagrams showing the structure of the ruby font search table of the embodiment according to claim 2. FIG. 11 is a schematic diagram showing the structure of the ruby font search table of the embodiment according to claim 2.
12th flowchart explaining the operation of the embodiment according to
Figures (a), (b), (c), (d) and (e)
13 is an explanatory diagram showing an operation example and display state of the embodiment of the present invention, FIGS. 13(a) and 13(b) are explanatory diagrams showing a display pattern of the embodiment according to claim 2, and FIG. 14 is a conventional example FIG. 2 is an explanatory diagram showing a ruby display state of . 1 10... input means, 2, II... double reading storage means, 3... ruby code storage means, 4... ruby code conversion means, 5.14... ruby code storage means , 6... Ruby reading means, 7, I6... Output means, 8.17... Text storage means, 12... Ruby data storage means, 13... Ruby data conversion means, 15. ...Ruby character string reading means. Figure 4 / 0a Figure Mikane Ruby Chord Henpo Tefison Figure Erasure

Claims (1)

【特許請求の範囲】 1、■音読み情報、ルビ表示指示を含む各種指示を入力
する入力手段と、入力された■音読み情報を一時記憶す
る■音読み記憶手段と、■音読みと対応するルビ変換用
のルビコードを多数記憶しているルビコード記憶手段と
、ルビ表示指示を受けた際に前記ルビコード記憶手段を
検索することにより、■音読みをルビコードに変換して
出力するルビコード変換手段と、漢語の■音音節表記す
べてをそれぞれ全角文字の横幅内に収まるサイズのルビ
フォントで形成し、かつそれらのルビフォントをルビコ
ードと対応して記憶しているルビフォント記憶手段と、
出力されたルビコードより該当するルビフォントを前記
ルビフォント記憶手段から読み出すルビ読出手段と、読
み出されたルビを出力する出力手段と、読み出されたル
ビを記憶する文章記憶手段とを備えてなる中国語文章作
成装置。 2、■音読み情報、ルビ表示指示を含む各種指示を入力
する入力手段と、入力された■音読み情報を一時記憶す
る■音読み記憶手段と、ルビ変換用のルビコードおよび
■音読みの文字構成を示す数値とからなるルビ構成デー
タを、■音読みと対応して多数記憶しているルビデータ
記憶手段と、ルビ表示指示を受けた際に前記ルビデータ
記憶手段を検索することにより、■音読みをルビデータ
に変換して出力するルビデータ変換手段と、■音読みを
構成する文字数分の一のサイズのフォントコードを、文
字数および文字コードに対応して多数記憶しているルビ
フォント記憶手段と、出力されたルビデータの字数より
前記ルビフオント記憶手段の中のルビフォントのサイズ
を特定し、ルビデータの文字コードよりその特定された
サイズのフォントの中から該当するルビフォントを順次
読み出すルビ文字列読出手段と、読み出されたルビ文字
列を出力する出力手段と、読み出されたルビ文字列を記
憶する文章記憶手段とを備えてなる中国語文章作成装置
[Claims] 1. ■Input means for inputting various instructions including on-yomi information and ruby display instructions, ■on-yomi storage means for temporarily storing the input on-yomi information, and ■for ruby conversion corresponding to on-yomi. ruby code storage means that stores a large number of ruby codes; ruby code conversion means that converts on-yomi to ruby code and outputs it by searching the ruby code storage means when a ruby display instruction is received; ruby font storage means for forming all syllables in ruby fonts each having a size that fits within the width of a full-width character, and storing the ruby fonts in correspondence with ruby codes;
A ruby reading device reads out a ruby font corresponding to the output ruby code from the ruby font storage device, an output device outputs the read ruby, and a text storage device stores the read ruby. Chinese sentence creation device. 2. ■Input means for inputting various instructions including on-yomi information and ruby display instructions, ■on-yomi storage means for temporarily storing the input on-yomi information, ruby code for ruby conversion, and numerical values indicating the character structure of on-yomi. By searching the ruby data storage means storing a large number of ruby data storage means corresponding to the on-yomi and the ruby data storage means when a ruby display instruction is received, the on-yomi is converted into ruby data. ruby data converting means to output; ruby font storage means storing a large number of font codes of a size one-th of the number of characters constituting the on-yomi corresponding to the number of characters and character codes; ruby character string reading means for specifying the size of the ruby font in the ruby font storage means and sequentially reading out corresponding ruby fonts from among the fonts of the specified size based on the character code of the ruby data; and the read ruby character string. A Chinese text creation device comprising: an output means for outputting a ruby character string; and a text storage means for storing a read ruby character string.
JP63159857A 1988-06-28 1988-06-28 Chinese language sentence preparing device Pending JPH028953A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63159857A JPH028953A (en) 1988-06-28 1988-06-28 Chinese language sentence preparing device
CN 89104561 CN1012223B (en) 1988-06-28 1989-06-28 Chinese charater processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63159857A JPH028953A (en) 1988-06-28 1988-06-28 Chinese language sentence preparing device

Publications (1)

Publication Number Publication Date
JPH028953A true JPH028953A (en) 1990-01-12

Family

ID=15702747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63159857A Pending JPH028953A (en) 1988-06-28 1988-06-28 Chinese language sentence preparing device

Country Status (2)

Country Link
JP (1) JPH028953A (en)
CN (1) CN1012223B (en)

Also Published As

Publication number Publication date
CN1039131A (en) 1990-01-24
CN1012223B (en) 1991-03-27

Similar Documents

Publication Publication Date Title
US7257528B1 (en) Method and apparatus for Chinese character text input
WO2000043861A1 (en) Method and apparatus for chinese character text input
US20150185868A1 (en) Brahmi phonemics based keyboard for providing textual inputs in indian languages
JPH028953A (en) Chinese language sentence preparing device
JP2002207728A (en) Phonetic character generation device and recording medium storing program for realizing the same
KR20050007859A (en) Apparatus and method for inputting chinese language by phonetic symbol
JP3803253B2 (en) Method and apparatus for Kanji input
JP2634926B2 (en) Kana-Kanji conversion device
JPH0375912B2 (en)
KR910001562B1 (en) Method of input and display of koreancharacters
JP3888701B2 (en) Character converter
KR960001103B1 (en) Computer I / O System Using Looza
JPH0560139B2 (en)
JPS62156768A (en) Word processor with memo function
CN1043809A (en) Chinese article input device
JPH0441398Y2 (en)
JPH02297658A (en) Document processor
JPS63196972A (en) Character conversion processing device
CN1012225B (en) Chinese character document making device
JPH04174054A (en) Character input device
JPH0562794B2 (en)
JPH1125083A (en) Kana-kanji conversion device and computer-readable storage medium
JPS61250769A (en) System for registering dictionary information
JPH027161A (en) Character processor
JPS6316368A (en) Kana/kanji conversion processor