JPH04288665A - Text document preparation system - Google Patents
Text document preparation systemInfo
- Publication number
- JPH04288665A JPH04288665A JP3077154A JP7715491A JPH04288665A JP H04288665 A JPH04288665 A JP H04288665A JP 3077154 A JP3077154 A JP 3077154A JP 7715491 A JP7715491 A JP 7715491A JP H04288665 A JPH04288665 A JP H04288665A
- Authority
- JP
- Japan
- Prior art keywords
- kana
- kanji
- data
- reading
- document
- 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
Links
- 240000000220 Panda oleosa Species 0.000 claims abstract description 59
- 235000016496 Panda oleosa Nutrition 0.000 claims abstract description 59
- 238000006243 chemical reaction Methods 0.000 claims abstract description 15
- 238000000034 method Methods 0.000 claims description 14
- 239000010979 ruby Substances 0.000 claims description 10
- 229910001750 ruby Inorganic materials 0.000 claims description 10
- 239000002131 composite material Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 2
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はテキスト文書作成方式に
関し、特に仮名/漢字変換方式によるテキスト文書作成
方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text document creation method, and more particularly to a text document creation method using a kana/kanji conversion method.
【0002】0002
【従来の技術】従来、作成済みのテキスト文書の漢字部
分にルビを振るときには、再度その読み方を入力する必
要があった。また一度漢字に変換したものを別の同音の
漢字に再度変換しなおす場合も同様に読みの再入力が必
要であった。2. Description of the Related Art Conventionally, when assigning ruby to a kanji part of a text document that has already been created, it has been necessary to input the reading again. Furthermore, when converting a kanji into another kanji with the same sound, it was necessary to re-input the reading.
【0003】0003
【発明が解決しようとする課題】以上のように、これま
でのテキスト文書には漢字の読み方のデータが保存され
ていないために、それが必要なとき再び入力しなおさな
ければならないという欠点があった。本発明は、読みの
データが、仮名/漢字変換の際にすでに入力されたもの
であることに着目して、再利用できるようにするもので
ある。[Problem to be Solved by the Invention] As described above, conventional text documents do not store data on how to read kanji, so they have the disadvantage of having to be input again when needed. Ta. The present invention focuses on the fact that reading data has already been input during kana/kanji conversion, and makes it possible to reuse the reading data.
【0004】0004
【課題を解決するための手段】本発明のテキスト文書作
成方式は、仮名/漢字変換方式を用いた文書作成システ
ムにおいて、変換された漢字データとともに、変換され
る前の仮名データを合わせて保存する、読み仮名保存手
段を有し、ルビを振るときは漢字と、保存しておいたそ
の読み仮名を合成表示し、また再変換のときは保存して
いた読み仮名を使用して、再度読み仮名を入力させるこ
とを不要にすることを特徴とする。[Means for Solving the Problems] The text document creation method of the present invention is a document creation system using a kana/kanji conversion method, in which kana data before conversion is saved together with converted kanji data. , has a reading kana storage means, and when playing ruby, displays the kanji and the saved reading kana in combination, and when reconverting, uses the saved reading kana to rewrite the reading kana. It is characterized by eliminating the need for inputting.
【0005】[0005]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Embodiments Next, embodiments of the present invention will be described with reference to the drawings.
【0006】図1は本発明の一実施例のブロック図であ
る。本実施例の装置は、文書作成システム11と、文書
内容を入力するための仮名入力手段12と、作成した文
書データを格納する文書データファイル13と、文書表
示手段14とから構成される。文書作成システム11は
、仮名/漢字変換手段111と、読み仮名保存手段11
2と、仮名/漢字対応付け手段113と、ルビ付加手段
114とから構成される。FIG. 1 is a block diagram of one embodiment of the present invention. The apparatus of this embodiment includes a document creation system 11, a kana input means 12 for inputting document contents, a document data file 13 for storing created document data, and a document display means 14. The document creation system 11 includes a kana/kanji conversion means 111 and a pronunciation kana storage means 11.
2, a kana/kanji correspondence means 113, and a ruby addition means 114.
【0007】仮名/漢字変換手段111は、仮名として
入力された文節あるいは文章を漢字混じりの文に変換す
る手段であり、特にその方式は問わないが、この実施例
では文節ごとに変換するものとしている。[0007] The kana/kanji conversion means 111 is a means for converting a phrase or sentence input as kana into a sentence containing kanji, and although the method is not particularly limited, in this embodiment, it is assumed that the phrase is converted for each phrase. There is.
【0008】図2は、読み仮名保存手段112での処理
を示す流れ図である。まず仮名入力手段12から入力さ
れた文節は、仮名/漢字変換手段111によって漢字に
変換され、あるいは変換無しで出力される。読み仮名保
存手段112はこのデータを入力する(ステップ201
)。得たデータに漢字が含まれるかどうか判断する(ス
テップ203)。漢字が含まれるときは、それに対応し
た仮名データも仮名/漢字変換手段から入手する(ステ
ップ204)。読み仮名は平仮名で表現すると定めるの
で、そうでない部分は平仮名に変換する(ステップ20
5)。ステップ206では送り仮名の処理をするために
、変換された漢字を含んだ文節とその読み仮名を比較す
る。送り仮名が存在するときはその部分をカタカナに変
換する(ステップ207)。漢字の文字数と送り仮名を
含む読み仮名のデータを漢字データの前に付加し、文書
中に挿入する(ステップ208)。ステップ203の判
断において漢字を含まない文節であったときは、そのデ
ータをそのまま文書中に挿入する(ステップ209)。
以上の処理を繰り返し、読み仮名のデータを文書中の漢
字もしくは漢字熟語と対応させるためのデータ構造を作
成する。FIG. 2 is a flowchart showing the processing in the pronunciation kana storage means 112. First, a phrase input from the kana input means 12 is converted into a kanji by the kana/kanji conversion means 111, or output without conversion. The reading kana storage means 112 inputs this data (step 201
). It is determined whether the obtained data includes kanji (step 203). If a kanji is included, the corresponding kana data is also obtained from the kana/kanji conversion means (step 204). Since the pronunciation is determined to be expressed in hiragana, other parts are converted to hiragana (step 20).
5). In step 206, in order to process the okuri kana, the clause containing the converted kanji is compared with its reading kana. If okurikana exists, that part is converted to katakana (step 207). The reading kana data including the number of characters of the kanji and the pronunciation kana is added to the front of the kanji data and inserted into the document (step 208). If it is determined in step 203 that the phrase does not include kanji, the data is inserted as is into the document (step 209). The above process is repeated to create a data structure for associating reading kana data with kanji or kanji idioms in the document.
【0009】図3は、読み仮名保存手段112で作成さ
れた文書のデータ構造の例である。ここで文章データ3
1の漢字部分a、bおよびcには、これに対応する読み
仮名のデータが挿入される。このデータの形式を311
、312および313に示している。これらのデータの
先頭の数値は対応する漢字の文字数を表している。また
読み仮名のうち、カタカナで表現されている部分は送り
仮名を示している。FIG. 3 shows an example of the data structure of a document created by the reading kana storage means 112. Here, text data 3
The corresponding reading kana data is inserted into the kanji parts a, b, and c of 1. The format of this data is 311
, 312 and 313. The number at the beginning of these data represents the number of corresponding Kanji characters. Also, the part of the reading kana that is expressed in katakana indicates the okurigana.
【0010】次に、ルビ付加手段114において文書デ
ータ21を元にルビを振り、表示する処理を図4に示す
。まずステップ401で文書データから次の文字あるい
は読み仮名データを得る。データが存在する時それが読
み仮名データかどうか判断する(ステップ403)。
読み仮名データであるときは、仮名/漢字対応付け手段
113を呼び出し、漢字とそれに対応する読み仮名を得
る(ステップ404)。ルビにするために読み仮名を小
文字にし、漢字の文字数に従って文字ピッチをきめ、漢
字に添える(ステップ405)。この場合、横書きなら
ば漢字の上側に、縦書きならば漢字の右側に並べるのが
一般的であるが、ここではその方法については限定しな
い。この表示用のデータは、表示のためのバッファに移
送する(ステップ406)。一方、ステップ401で読
み込んだデータが読み仮名でなかったときはそのまま表
示用のバッファに移送する(ステップ407)。このよ
うにして文書内のデータをすべて処理したときは、表示
バッファ内のデータを表示し、作業を終わる。Next, FIG. 4 shows a process of adding and displaying ruby based on the document data 21 in the ruby adding means 114. First, in step 401, the next character or reading kana data is obtained from the document data. When data exists, it is determined whether it is reading kana data (step 403). If it is reading kana data, the kana/kanji correspondence means 113 is called to obtain the kanji and the corresponding reading kana (step 404). In order to create a ruby character, the reading kana is changed to lower case, the character pitch is determined according to the number of characters in the kanji, and the kanji is appended to the kanji (step 405). In this case, if it is written horizontally, it is common to arrange it above the kanji character, and if it is written vertically, it is generally arranged on the right side of the kanji character, but this method is not limited here. This display data is transferred to a display buffer (step 406). On the other hand, if the data read in step 401 is not in reading kana, it is transferred as is to the display buffer (step 407). When all the data in the document has been processed in this way, the data in the display buffer is displayed and the work is finished.
【0011】仮名/漢字対応付け手段113での処理は
、文書データ中に含まれる読み仮名データを解析し、漢
字と読み仮名のデータならびにそれらの文字数を返却す
る。[0011] The processing in the kana/kanji correspondence means 113 analyzes the reading kana data included in the document data, and returns the data of the kanji and reading kana as well as the number of characters thereof.
【0012】0012
【発明の効果】以上説明したように、本発明はルビを使
用するテキスト文書の作成効率を大幅に高める効果があ
る。また、仮名と漢字を対応させた処理が可能なため、
仮名/漢字の使い分けや送り仮名の統一化チェックや自
動修正などにも応用することが可能である。As explained above, the present invention has the effect of greatly increasing the efficiency of creating text documents using ruby. In addition, since it is possible to process kana and kanji in correspondence,
It can also be applied to different uses of kana/kanji, checking for unification of okuri kana, automatic correction, etc.
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
【図2】図1中の読み仮名保存手段112の処理を示す
流れ図である。FIG. 2 is a flowchart showing the processing of the pronunciation kana storage means 112 in FIG. 1;
【図3】この方式に基づいて作成された文書データの例
である。FIG. 3 is an example of document data created based on this method.
【図4】図1中のルビ付加手段114の処理を示す流れ
図である。FIG. 4 is a flowchart showing the processing of ruby adding means 114 in FIG. 1;
11 文書作成システム 12 仮名入力手段 13 文書データフアイル 14 文書表示手段 111 仮名/漢字変換手段 112 読み仮名保存手段 113 仮名/漢字対応付け手段 114 ルビ付加手段 11 Document creation system 12 Kana input means 13 Document data file 14 Document display means 111 Kana/Kanji conversion means 112 Reading kana storage means 113 Kana/Kanji correspondence means 114 Ruby addition means
Claims (1)
システムにおいて、変換された漢字データとともに、変
換される前の仮名データを合わせて保存する、読み仮名
保存手段を有し、ルビを振るときは漢字と、保存してお
いたその読み仮名を合成表示し、また再変換のときは保
存していた読み仮名を使用して、再度読み仮名を入力さ
せることを不要にすることを特徴とするテキスト文書作
成方式。[Claim 1] A document creation system using a kana/kanji conversion method, which includes reading kana storage means for saving converted kanji data as well as kana data before conversion, when writing ruby characters. is characterized by displaying kanji and their saved pronunciations in a composite manner, and when reconverting, the saved pronunciations are used, eliminating the need to input the pronunciations again. Text document creation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3077154A JPH04288665A (en) | 1991-03-18 | 1991-03-18 | Text document preparation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3077154A JPH04288665A (en) | 1991-03-18 | 1991-03-18 | Text document preparation system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04288665A true JPH04288665A (en) | 1992-10-13 |
Family
ID=13625875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3077154A Pending JPH04288665A (en) | 1991-03-18 | 1991-03-18 | Text document preparation system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04288665A (en) |
-
1991
- 1991-03-18 JP JP3077154A patent/JPH04288665A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH07121539A (en) | Machine translation system | |
JPH05135025A (en) | Document editor | |
JPH04288665A (en) | Text document preparation system | |
JPS62284460A (en) | Document formation supporting device | |
JPS621062A (en) | Documentation supporting device | |
JPH04167049A (en) | Document processor | |
JP2603269B2 (en) | Character processor | |
JPH0666066B2 (en) | Document processor with furigana addition function | |
JPH04167167A (en) | In-line display system for kana/kanji conversion | |
JPS59106033A (en) | Furigana (japanese syllabary attached to chinese character) adding system of text processor | |
JPH0477856A (en) | Character processor containing ruby converting function | |
JPH0154742B2 (en) | ||
JPH03250362A (en) | Document proofreading device | |
JPS6359662A (en) | Kana/kanji converter | |
JPH03286252A (en) | Sentence generating device | |
JPH01276363A (en) | Chiness word sentence producing device | |
JPS61285534A (en) | Index production system | |
JPS61103273A (en) | Japanese language sentence preparing device | |
JPS58155440A (en) | Japanese language processing device | |
JPS63284670A (en) | Sentence producing device | |
JPH01183768A (en) | Editing system for document production system | |
JPH0239366A (en) | Kana/kanji conversion processing system | |
JPH0567101A (en) | Word processor | |
JPH11161296A (en) | Document reader device and method | |
JPH1049528A (en) | Automatic agate setting method and system therefor |