JPS62212877A - Kanji/kana converter - Google Patents

Kanji/kana converter

Info

Publication number
JPS62212877A
JPS62212877A JP61056501A JP5650186A JPS62212877A JP S62212877 A JPS62212877 A JP S62212877A JP 61056501 A JP61056501 A JP 61056501A JP 5650186 A JP5650186 A JP 5650186A JP S62212877 A JPS62212877 A JP S62212877A
Authority
JP
Japan
Prior art keywords
kanji
kana
converted
phrase
reading
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
JP61056501A
Other languages
Japanese (ja)
Inventor
Toru Yamakita
徹 山北
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP61056501A priority Critical patent/JPS62212877A/en
Publication of JPS62212877A publication Critical patent/JPS62212877A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain conversion from KANJI (Chinese character) into KANA (Japanese syllabary) by reading out KANJI or a phrase relating to reading KANA from a conversion dictionary storing means, comparing the read contents with KANJI or a phrase to be converted and outputting the reading KANA corresponding to the coincident KANJI or phrase. CONSTITUTION:A retrieving means 3 reads out a KANJI or a phrase starting from the reading KANA read out from a reading KANA storing means 2 from the conversion dictionary storing means 1 and retrieves the coincidence of the read contents with the character to be converted. Namely, the retrieving means 3 reads out the reading KANA corresponding to the leading KANJI of the phrase to be converted from the storing means 2 and reads out phrases starting from the reading KANA successively from the means 1 to retrieve the phrase coincident with the phrase to be converted. At the detection of coincidence, the reading KANA corresponding to the phrase is outputted as converted KANA characters.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は漢字金かなへ変換する装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a device for converting kanji to kinakana.

〔発明の概要〕[Summary of the invention]

本発明は漢字をかなへ変換する装置であって、変換対象
の熟語の一部をかなに変換した後に、このかなに関連す
る熟語を変換辞書より読み出して、変換対象の熟語と比
較して、一致した熟語の読みがなを変換結果の読みがな
として変換辞書より読み出したもので、漢字からかなへ
の変換が可能な全く新規な装置である。
The present invention is a device for converting kanji into kana, and after converting a part of the idiom to be converted into kana, the idiom related to this kana is read out from the conversion dictionary and compared with the idiom to be converted, This is a completely new device that can convert kanji to kana by reading out the readings of the matching compound words from a conversion dictionary as the readings of the conversion results.

〔従来の技術〕[Conventional technology]

従来ではかな文字と漢字とを対応して記憶した辞書が設
けられて、この辞書からかな文字に対応する漢字を検索
することによってかな文字を漢字に変換している。
Conventionally, a dictionary is provided in which kana characters and kanji are stored in correspondence, and kana characters are converted to kanji by searching the dictionary for kanji that correspond to the kana characters.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来では、かなから漢字への変換は可能でめったが、こ
れとは逆に漢字からかなへの変換は不可能であった。従
って、例えば文書ファイルから読み出された漢字を読み
がなに変換して出力したい場合や、漢字に振り仮名を付
したい場合等において、その変換が不可能でめった。
Previously, it was possible to convert kana to kanji, but it was rarely possible to convert kanji to kana. Therefore, for example, when it is desired to convert kanji read from a document file into pronunciations and output them, or when it is desired to add furigana to kanji, the conversion is often impossible.

本発明では、漢字からかlへの変洟金可能にする装置を
提供することを目的とする。
It is an object of the present invention to provide a device that enables conversion from Kanji to KA.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の説明図である。1は漢字もしくは熟@
かかなと対応して記憶されている変換辞書記憶手段、又
は漢字に対応してその読みがなを記憶する読みがな記憶
手段、3は前記読みがな記憶手段2から読み出された読
みがなで始まる漢字、熟語を前記変換辞書記憶手段1よ
り読み出し、変換対象の文字との一致を検索する検索手
段である。
FIG. 1 is an explanatory diagram of the present invention. 1 is a kanji or juku@
Conversion dictionary storage means stored in correspondence with kana, or reading storage means storing readings corresponding to kanji; 3 indicates the reading read out from the reading storage means 2; This search means reads out kanji and phrases starting with ``from the conversion dictionary storage means 1'' and searches for matches with characters to be converted.

〔作用〕[Effect]

前記検索手段3は変換対象の熟語の先頭の漢字に対応す
る読みがなを読みがな記憶手段2より読み出し、更に、
この読みがなから始まる熟語を変換辞書記憶手段1よシ
順次読み出して。
The retrieval means 3 reads out the reading corresponding to the first kanji of the compound word to be converted from the reading storage means 2, and further,
Sequentially read out the idioms starting with these readings from the conversion dictionary storage means 1.

変換対象の熟語と一致する熟語を検索する。一致が検出
された際にはこの熟語と対応する読みがなを変換結果の
かな文字として出力する。
Search for a phrase that matches the phrase to be converted. When a match is detected, the pronunciation corresponding to this compound word is output as the converted kana character.

〔実施例〕〔Example〕

(1)  構成 $2図は本発明の一実施例を示すブロック図である。1
0は入力部であり、かなを漢字に変換指示するためのか
な漢字変換キー、漢字をかなに変換指示するための漢字
かな変換キー等を備えている。1ノはCPUであり、後
述するフローチャートに示す動作を実行し、かな漢字変
換及び漢字かな変換の処理を行う。12は漢字索引テー
ブルであり、その詳細な構成は第3図に示すように、漢
字コードによってアドレス指定される記憶エリアに、各
漢字コードに対応して1つ以上の読みが記憶されている
。例えば「本」の漢字コードで指定されるエリアにはそ
の2通りの読み「はん」及び「もと」が記憶されている
。13は変換辞書メモリであり、その詳細は第4図に示
すように、かなと漢字が対応して記憶されている。例え
ば「はん」に対応して「本」「本」「翻」「奔」が順に
記憶され、「はんめん」に対応して「案」「ダミーコー
ド(図中「\」で示す)」「案」「ダミーコード」の順
に記憶されている。この変換辞書メモリ13は前iピ漢
字索引テーブル12から読み出されたかなによって指定
されるもので、例えば「はん」によって指定される変換
辞書メモリ13の検索範囲は13&の部分であり、最初
は「はん」、次に「はんあん」・・・「はんろん」の順
に検索され、「もと」によって指定される検索範囲は1
3bであや、最初は「もと」、次に「もとい」・・・・
・・「もとね」の順である。また、例えば「はんあん」
に対応する漢字は、変換辞書メモリ13の「はんあん」
(対応する1番目の「案」と3番目の「案」が読み出さ
れ、更に「はん」に対応す゛る1番目の漢字「本」と3
番目の漢字「翻」が夫夫合成されて、「本案」及び「翻
案」が作られる。同様に、「はんみよう」に対応する漢
字は「本名」及び「本命」、「はんめい」に対応する漢
字は「本命」及び「奔命」が合成される。
(1) Configuration $2 FIG. 2 is a block diagram showing an embodiment of the present invention. 1
0 is an input section, which includes a kana-kanji conversion key for instructing conversion of kana to kanji, a kanji-kana conversion key for instructing conversion of kanji to kana, and the like. 1 is a CPU, which executes operations shown in flowcharts to be described later, and processes kana-kanji conversion and kanji-kana conversion. Reference numeral 12 denotes a kanji index table, whose detailed structure is shown in FIG. 3, in which one or more readings are stored corresponding to each kanji code in a storage area addressed by the kanji code. For example, in the area specified by the kanji code for "hon", its two readings "han" and "moto" are stored. 13 is a conversion dictionary memory, the details of which are shown in FIG. 4, in which kana and kanji are stored in correspondence. For example, "hon", "hon", "translation", and "ben" are stored in order for "han", and "draft" and "dummy code" (indicated by "\" in the figure) are stored for "hanmen". ”, “draft”, and “dummy code” are stored in this order. This conversion dictionary memory 13 is specified by the kana read from the previous ipi kanji index table 12. For example, the search range of the conversion dictionary memory 13 specified by "han" is the part 13&, and the first is searched in the order of "Han", then "Hanan"... "Hanron", and the search range specified by "Moto" is 1
Aya in 3b, first "moto", then "motoi"...
...The order is "Motone". Also, for example, "Hanan"
The corresponding kanji is "Han'an" in the conversion dictionary memory 13.
(The corresponding 1st kanji ``kan'' and 3rd ``kan'' are read out, and the 1st kanji ``hon'' and 3 kanji that correspond to ``han'' are read out.
The second kanji ``ban'' is combined into ``hondan'' and ``adaptation.'' Similarly, the kanji characters corresponding to "hanmiyou" are composed of "honmei" and "honmei", and the kanji characters corresponding to "hanmei" are composed of "honmei" and "tonmei".

第2図の14は付属語辞書メモリであり、助詞、助動詞
等を記憶する。15はかな渓字混ジ文を記憶する文書メ
モリ、16は表示、印字のための文字7オント及び変換
処理のためのプログラムを記憶するROM、17は変換
処堀鯛作時に、処理途中のデータ等を記憶するRAM、
18は表示部、I9は印字部である。
Reference numeral 14 in FIG. 2 is an adjunct word dictionary memory, which stores particles, auxiliary verbs, etc. 15 is a document memory that stores ephemeral characters and mixed characters, 16 is a ROM that stores characters 7 onts for display and printing and programs for conversion processing, and 17 is data that is being processed at the time of conversion process Horitai production. RAM for storing etc.
18 is a display section, and I9 is a printing section.

(2)動作 第5図は漢字かな変換及びかな漢字変換の処理動作を示
すフローチャートである。入力部11で変換対象の漢字
列を指定した後に、漢字かな変換キーを操作すると、S
lで示す処理がCPU 12によって実行される。即ち
、Slでは、文書メモリ15内の変換対象になっている
漢字文字列の先頭の漢字1文字が検出される。この先頭
の漢字は、S2で、漢字索引テーブル12を参照してそ
の読みがなに変換され、S3でこの読みがなに関連する
検索範囲内の変換辞書メモI)13fI:検索して漢字
、熟語を読み出す。そしてS4で読み出された漢字、熟
語と変換対象の漢字文字列が比較される。不一致の場合
はS5で検索範囲内の全ての漢字、熟語の絖み出しが終
了するまで53tS4の処理を繰シ返す。S。
(2) Operation FIG. 5 is a flowchart showing processing operations for Kanji-kana conversion and kana-kanji conversion. After specifying the kanji string to be converted in the input section 11, if you operate the kanji-kana conversion key, S
Processing indicated by l is executed by the CPU 12. That is, in Sl, the first Kanji character of the Kanji character string to be converted in the document memory 15 is detected. This first kanji is converted into its reading by referring to the kanji index table 12 in S2, and in S3, the conversion dictionary memo I) 13fI: Search and convert the kanji within the search range related to this reading. Read out idioms. Then, in S4, the read kanji and compound words are compared with the kanji character string to be converted. If they do not match, the process of 53t and S4 is repeated until all the kanji and phrases within the search range have been mapped out in step S5. S.

で検索の終了が検出筋れると、次に86で漢字索引テー
ブル12P1′3の久の読みがなが有れば、この読みが
なに対応する検索範囲内の変換辞優メモリ13を検索す
る。前記S4で変換対象漢字列と一致する漢字、熟語が
あった場合は、S7で変換辞書メモリ13から対応する
読みがなを読み出し、S8で、これを文Jメモリ15へ
誓き込んだ後に、S9で、文書メモリ15内の変換され
た読みがなを表示部18に表示する。
When the end of the search is detected at step 86, if there is a reading for ``ku'' in the kanji index table 12P1'3, the conversion dictionary memory 13 within the search range corresponding to this reading is searched. . If there is a kanji or compound word that matches the kanji string to be converted in S4, the corresponding pronunciation is read from the conversion dictionary memory 13 in S7, and after reading this into the sentence J memory 15 in S8, In S9, the converted readings in the document memory 15 are displayed on the display unit 18.

また、入力811で変換対象のかな文字列を指定した後
に、かな漢字変換キーを操作すると、St o−812
の処理で、変換辞書メモリ13及び付属語辞書メモリ1
4を参照してかな文字を漢字に変換する。変換辞書メモ
リ13の読みがなは50音順に配列されておシ、この配
列に基づくかな漢字変換は従来とほぼ同様であるためそ
の詳細な説明は省略する。
In addition, if you operate the Kana-Kanji conversion key after specifying the Kana character string to be converted in the input 811, the St o-812
In the process, the conversion dictionary memory 13 and the attached word dictionary memory 1
Convert kana characters to kanji by referring to 4. The readings in the conversion dictionary memory 13 are arranged in alphabetical order, and the kana-kanji conversion based on this arrangement is almost the same as the conventional one, so detailed explanation thereof will be omitted.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれば漢字からかなへの変
換が可能な装置を提供でき、日本語の文書データを扱う
機器に適用すれば、その利用範囲が著しく拡大できる。
As described above, according to the present invention, it is possible to provide a device capable of converting kanji to kana, and when applied to a device that handles Japanese document data, the scope of its use can be significantly expanded.

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

第1図は本発明の説明図、第2図は本発明の一実施例の
構成図、第3図は漢字索引テーブルの構成図、第4図は
変換辞書メモリの構成図、第5図は上記実施例の処坤動
作を示すフローチャートである。 1ノ・・・入力部、12・・・CPU、 Z 3・・・
漢字索引テーブル、14・・・変換辞書メモリ。 第3図 第4図
Fig. 1 is an explanatory diagram of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a block diagram of a kanji index table, Fig. 4 is a block diagram of a conversion dictionary memory, and Fig. 5 is a block diagram of an embodiment of the present invention. It is a flow chart which shows processing operation of the above-mentioned example. 1...Input section, 12...CPU, Z3...
Kanji index table, 14... Conversion dictionary memory. Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 漢字もしくは熟語をその読みがなと対応して記憶する変
換辞書記憶手段と、漢字に対応してこの漢字の読みがな
を記憶する読みがな記憶手段と、変換対象の漢字もしく
は変換対象の熟語の一部を構成する漢字に対応する読み
がなを前記読みがな記憶手段より読み出して、該読みが
なに関連する漢字もしくは熟語を前記変換辞書記憶手段
より読み出し、変換対象の漢字もしくは熟語と比較し、
一致する漢字もしくは熟語に対応する読みがなを出力す
る検索手段とよりなる漢字かな変換装置。
A conversion dictionary storage means for storing kanji or compound words in correspondence with their pronunciations, a reading memory means for storing pronunciations of these kanji in correspondence with kanji, and kanji to be converted or compound words to be converted. The readings corresponding to the kanji forming a part of the reading are read from the reading storage means, the kanji or compound words related to the reading are read from the conversion dictionary storage means, and the readings are read out from the conversion dictionary storage means and used as the kanji or compound words to be converted. Compare,
A kanji-kana conversion device comprising a search means for outputting readings corresponding to matching kanji or compound words.
JP61056501A 1986-03-14 1986-03-14 Kanji/kana converter Pending JPS62212877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61056501A JPS62212877A (en) 1986-03-14 1986-03-14 Kanji/kana converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61056501A JPS62212877A (en) 1986-03-14 1986-03-14 Kanji/kana converter

Publications (1)

Publication Number Publication Date
JPS62212877A true JPS62212877A (en) 1987-09-18

Family

ID=13028854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61056501A Pending JPS62212877A (en) 1986-03-14 1986-03-14 Kanji/kana converter

Country Status (1)

Country Link
JP (1) JPS62212877A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01175665A (en) * 1987-12-29 1989-07-12 Matsushita Electric Ind Co Ltd Word processor
JPH0612456A (en) * 1992-06-24 1994-01-21 Nippon Joho Center:Kk Kanji reading change device and method and device for kanji reading change retrieval
US8172458B2 (en) 2001-03-23 2012-05-08 Petrakis Dennis N Temperature responsive systems

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01175665A (en) * 1987-12-29 1989-07-12 Matsushita Electric Ind Co Ltd Word processor
JPH0612456A (en) * 1992-06-24 1994-01-21 Nippon Joho Center:Kk Kanji reading change device and method and device for kanji reading change retrieval
US8172458B2 (en) 2001-03-23 2012-05-08 Petrakis Dennis N Temperature responsive systems

Similar Documents

Publication Publication Date Title
JPS5821287B2 (en) Kana-Kanji conversion device
JPS62212877A (en) Kanji/kana converter
JPH0447440A (en) Converting system for word
JPS58123129A (en) Converting device of japanese syllabary to chinese character
KR860000681B1 (en) Hangul/hanja(korean character/chinese character)word processor
JPH027159A (en) Japanese processor
JPS63221464A (en) Input device for japanese sentence
JPH01133175A (en) Word converter
JPS62144269A (en) Information retrieving device
JPS62212876A (en) Kana/kanji mutual converter
JPH0350669A (en) Information processor
JPS62168263A (en) Kana-kanji mutual converter
JPH0340060A (en) Kana (japanese syllabary) to kanji (chinese character) converter
JPS62189565A (en) Kana/kanji converting device
JPH0378078A (en) Japanese sentence processor
JPS61210473A (en) Text preparing device
JPS61156465A (en) Document preparing system
JPH01276363A (en) Chiness word sentence producing device
JPS6215654A (en) Input device for japanese sentence
JPH0748212B2 (en) Single Kanji converter
JPS63116269A (en) Kana/kanji converter for japanese processing
JPH02289039A (en) Document processor with proper noun converting function
JPS62189568A (en) Kana kanji mutual conversion device
JPS61100863A (en) Electronic dictionary
JPH03208162A (en) Input device