JPH05158918A - Kanji/kana converter - Google Patents

Kanji/kana converter

Info

Publication number
JPH05158918A
JPH05158918A JP3322720A JP32272091A JPH05158918A JP H05158918 A JPH05158918 A JP H05158918A JP 3322720 A JP3322720 A JP 3322720A JP 32272091 A JP32272091 A JP 32272091A JP H05158918 A JPH05158918 A JP H05158918A
Authority
JP
Japan
Prior art keywords
reading
dictionary
kanji
speech
character string
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
JP3322720A
Other languages
Japanese (ja)
Inventor
Tsukasa Nagaki
司 永木
Kayoko Matsushima
加代子 松島
Hiroshi Matsuuchi
浩 松内
Daisaku Suzuki
大作 鈴木
Yuki Kuramitsu
由紀 倉光
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 JP3322720A priority Critical patent/JPH05158918A/en
Publication of JPH05158918A publication Critical patent/JPH05158918A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To enable selecting reading appropriate for a character string to be converted by a device for converting a 'KANJI (Chinese character) into KANA (Japanese syllabary). CONSTITUTION:A character string to be converted which is inputted from an input device 1 is retrieved by a dictionary main body part from a position obtained by a dictionary index retrieving means 2. The reading of words and their parts of speech are registered in a KANJI/KANA conversion dictionary 3 and when a specific part of speech is specified by a reading selecting means 5, the reading appropriate for the character string can be selected from plural reading states. A display device 6 displays the selected reading.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、日本語ワードプロセッ
サ等の日本語を処理する情報処理装置において、漢字を
かなに変換する機能を付加することにより、その利用範
囲を拡大可能にする漢字かな変換装置である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for processing Japanese, such as a Japanese word processor, by adding a function for converting kanji into kana so that the range of its use can be expanded. It is a device.

【0002】[0002]

【従来の技術】従来の漢字かな変換装置では、複数の読
みから特定の読みを選択する際、効率よく選択すること
ができなかった。
2. Description of the Related Art A conventional kanji-kana conversion device cannot efficiently select a specific reading from a plurality of readings.

【0003】[0003]

【発明が解決しようとする課題】従来の漢字かな変換装
置では、1つの単語に登録されている複数の読みから希
望する読みを選択する際、その装置の利用者が複数の読
みに順に目を通した上で選択しなければならず、効率が
悪かった。本発明では、複数の読みそれぞれに登録され
た品詞情報を使うことにより、変換対象文字列に適した
読みを効率よく選択することを可能とする漢字かな変換
装置を提供する事を目的とする。
In the conventional kanji / kana conversion device, when selecting a desired reading from a plurality of readings registered in one word, the user of the device sequentially looks at the plurality of readings. I had to go through and make a selection, which was inefficient. It is an object of the present invention to provide a kanji-kana conversion device that enables efficient selection of a reading suitable for a conversion target character string by using the part-of-speech information registered for each of the plurality of readings.

【0004】[0004]

【課題を解決するための手段】本発明の漢字かな変換装
置は、漢字や熟語もしくは記号などの単語をその読みが
なと品詞情報とを対応させて格納した本体部とそのイン
デックス部とより構成される漢字かな変換用辞書と、入
力される単語の表記情報とインデックス部のインデック
スとの比較により検索開始位置を得る辞書インデックス
検索手段と、辞書インデックス検索手段により求められ
た検索開始位置に基づいて辞書本体部を検索して読みが
なと品詞情報を求めて出力する辞書本体検索手段と、辞
書本体検索手段により求められた読みがなと品詞情報に
より特定の品詞に対応する読みを選択する選択手段とを
有する。
A kanji-kana conversion device of the present invention comprises a main body part in which words such as kanji, idioms or symbols are stored in association with their phonetic readings and part-of-speech information, and an index part thereof. Based on the search start position obtained by the dictionary index search means for obtaining the search start position by comparing the written information of the input word and the index of the index part A dictionary body searching unit that searches the dictionary body unit and obtains and outputs Yomiana and part-of-speech information, and a selection that selects a reading corresponding to a specific part-of-speech based on the Yomiana and part-of-speech information obtained by the dictionary body searching unit And means.

【0005】[0005]

【作用】本発明は、上記した構成により、1の入力装置
により入力された文字列に対応する読みと品詞を得るこ
とができる。読みが複数ある場合は、品詞を指定するこ
とにより、その品詞を含む特定の読みを選択することが
できる。
According to the present invention, with the above configuration, the reading and the part of speech corresponding to the character string input by one input device can be obtained. When there are plural readings, by specifying the part of speech, it is possible to select a specific reading that includes the part of speech.

【0006】[0006]

【実施例】図1は本発明の一実施例を示す機能ブロック
図である。図において、1は、変換対象文字列を入力す
る入力手段、2は、入力される単語の表記情報とインデ
ックス部のインデックスとの比較により検索開始位置を
得る辞書インデックス検索手段、3は漢字や熟語もしく
は記号などの単語をその読みがなと品詞情報とを対応さ
せて格納した本体部とそのインデックスを格納したイン
デックス部とより構成される漢字かな変換用辞書、4
は、辞書インデックス検索手段2により得られた検索開
始位置に基づいて辞書本体部を検索する辞書本体検索手
段、5は特定の読みを選択する読み選択手段、6は、読
み選択手段5により選択された読みと品詞を表示する表
示手段である。
FIG. 1 is a functional block diagram showing an embodiment of the present invention. In the figure, 1 is an input means for inputting a conversion target character string, 2 is a dictionary index search means for obtaining a search start position by comparing the written information of the input word and the index of the index part, and 3 is a kanji or idiom. Alternatively, a kana-kana conversion dictionary composed of a main body storing a word such as a symbol in association with its phonetic reading and part-of-speech information and an index storing the index thereof, 4
Is a dictionary body searching means for searching the dictionary body based on the search start position obtained by the dictionary index searching means 2, 5 is a reading selecting means for selecting a specific reading, and 6 is selected by the reading selecting means 5. It is a display means for displaying the reading and the part of speech.

【0007】図2は、図1に示した漢字かな変換装置を
実現する一具体例のブロック図である。現在、単語の表
記法として、シフトJIS、EUC、新JIS、旧JI
S等種々の方法が上げられるが、ここではシフトJIS
を用いた実施例を示す。同図中、11は入力部(入力装
置)で、変換対象文字列を入力する。12はCPUであ
り変換辞書本体の検索やデータの転送等を行う。13は
辞書検索テーブル(インデックス部)、14は漢字や熟
語もしくは記号などの単語をその読みがなと品詞情報と
を対応させて格納した漢字かな変換辞書メモリ(本体
部)である。辞書検索テーブル13は、漢字かな変換辞
書メモリ13の各セクタの先頭に登録されている単語の
先頭2文字の表記情報よりなり、変換対象文字列の先頭
2文字と比較することにより検索スタート位置を得るこ
とができる。メモリ15はCPU12を動作させるため
のプログラムを記憶しており、メモリ16は変換の結果
得られた全読みと品詞を格納するためのメモリ、メモリ
17はメモリ16に格納された全読みより最終的に選ば
れた読みを格納するメモリである。18はCPU12の
処理結果を表示する表示部である。
FIG. 2 is a block diagram of a specific example for realizing the kanji-kana conversion device shown in FIG. Currently, the word notation is shift JIS, EUC, new JIS, old JIS
Various methods such as S can be used, but here Shift JIS
An example using is shown. In the figure, 11 is an input unit (input device) for inputting a conversion target character string. Reference numeral 12 denotes a CPU which searches the conversion dictionary body and transfers data. Reference numeral 13 is a dictionary search table (index portion), and 14 is a kanji-kana conversion dictionary memory (main body portion) in which words such as kanji, idioms or symbols are stored in association with their phonetic readings and part-of-speech information. The dictionary search table 13 includes notation information of the first two characters of the word registered at the beginning of each sector of the kanji-kana conversion dictionary memory 13, and compares the first two characters of the conversion target character string with the search start position. Obtainable. The memory 15 stores a program for operating the CPU 12, the memory 16 stores a total reading obtained as a result of conversion and a part of speech, and the memory 17 stores a final reading based on the total reading stored in the memory 16. This is a memory that stores the reading selected for. Reference numeral 18 denotes a display unit that displays the processing result of the CPU 12.

【0008】図3は、辞書検索テーブル13の構成例を
示す図である。同図中、「亜」、「あさ子」、「一直
線」、「新聞記者」は各セクタの先頭に登録されている
単語で、「亜 」、「あさ」、「一直」、「新聞」はそ
れぞれの単語の先頭2文字である。検索開始時に、変換
対象文字列の先頭2文字とこのテーブルとを比較するこ
とにより、検索スタート位置を得ることができる。
FIG. 3 is a diagram showing a configuration example of the dictionary search table 13. In the figure, "A", "Asako", "Ishinjo", and "newspaper reporter" are the words registered at the beginning of each sector, and "A", "Asa", "Ichinoku", and "newspaper" are respectively Is the first two letters of the word. At the start of the search, the search start position can be obtained by comparing the first two characters of the conversion target character string with this table.

【0009】図4は、漢字かな変換辞書メモリ14の構
成例で、単語に対応してその読みと品詞を記憶してい
る。1レコードは、レコード長、単語の表記情報、内部
読みコード、品詞コードより構成され、読みが複数ある
場合は読みと品詞が続けて記憶されている。レコード長
はそのレコードの長さをバイト数で表し、単語の表記は
シフトJISコードである。内部読みコードは、平仮名
を固有の1バイトコードに対応させたもので、辞書全体
の容量を大幅に小さくすることができる。品詞コードも
同様に、品詞を固有の1バイトコードに割り当てたもの
である。
FIG. 4 shows an example of the structure of the kanji-kana conversion dictionary memory 14 in which the reading and the part of speech of each word are stored. One record is composed of a record length, word notation information, an internal reading code, and a part-of-speech code. When there are a plurality of readings, the reading and the part-of-speech are successively stored. The record length represents the length of the record in bytes, and the word notation is shift JIS code. The internal reading code corresponds to the hiragana corresponding to a unique 1-byte code, and can significantly reduce the capacity of the entire dictionary. Similarly, the part-of-speech code is a part-of-speech assigned to a unique 1-byte code.

【0010】第5図は、文字列を入力部11より入力し
変換された文字列の読みを表示部18に出力するまでの
CPUの動作を示すフローチャートである。入力部11
より文字列が入力された時、漢字ポインタは文字列の先
頭にある。D1では、スタート時、漢字ポインタより1
文字分の文字列を変換対象文字列として取得し、D3で
はD2において辞書インデックス検索手段2により求め
られた検索スタート位置より検索を開始し、検索できた
場合、最長一致法で検索を行う。検索できなかった場
合、変換対象文字列を1文字長くして再度検索を行う。
D4においては、変換対象文字列の終端と元の文字列の
終端を比較し、一致していれば、漢字ポインタを1文字
分次に移動してD1より繰り返す。D7において、変換
文字列の全読みと品詞を全読み品詞格納メモリ16へ転
送し、読みが複数ある場合は、変換文字列の品詞を入力
部11より入力することによりその品詞を含む読みが選
択される。その際、予め品詞を指定しておくことによ
り、自動的に品詞を選択することが可能である。指定し
た品詞が複数の読みに含まれている場合は、自動的に先
に登録されている読みを選択する。D10において、選
択された読みを読み出力結果格納メモリ17へ連結して
格納していく。D11では、漢字ポインタが元の文字列
の終端に達した場合、読み出力結果格納メモリ17の内
容を表示し、達していない場合、変換文字列の長さ分、
漢字ポインタを次に移動し、D1からの繰り返しとな
る。
FIG. 5 is a flowchart showing the operation of the CPU until a character string is input from the input unit 11 and the reading of the converted character string is output to the display unit 18. Input unit 11
When a character string is input, the Kanji pointer is at the beginning of the character string. At D1, 1 from the Kanji pointer at the start
A character string of characters is acquired as a character string to be converted, and in D3, the search is started from the search start position obtained by the dictionary index search means 2 in D2, and if the search is possible, the longest match method is used. If the search cannot be performed, the conversion target character string is lengthened by one character and the search is performed again.
At D4, the end of the conversion target character string is compared with the end of the original character string, and if they match, the Kanji pointer is moved to the next character and the process is repeated from D1. At D7, the full reading and part-of-speech of the conversion character string are transferred to the full-reading part-of-speech storage memory 16, and if there are plural readings, the part of speech of the conversion character string is input from the input unit 11 to select the reading including the part of speech. To be done. At that time, it is possible to automatically select the part of speech by designating the part of speech in advance. If the specified part-of-speech is included in multiple readings, the previously registered reading is automatically selected. At D10, the selected reading is linked and stored in the read output result storage memory 17. At D11, if the Kanji pointer reaches the end of the original character string, the contents of the read output result storage memory 17 are displayed. If not, the converted character string length,
The kanji pointer is moved to the next position, and the process is repeated from D1.

【0011】[0011]

【発明の効果】以上、詳細に説明したように、本発明に
より、容易に漢字からかなに変換することができ、複数
の読みから読みを選択する際、変換対象文字列に適した
読みを選択することができる。
As described above in detail, according to the present invention, it is possible to easily convert from kanji to kana, and when selecting a reading from a plurality of readings, a reading suitable for the conversion target character string is selected. can do.

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

【図1】本発明の一実施例を示す機能ブロック図FIG. 1 is a functional block diagram showing an embodiment of the present invention.

【図2】本発明の漢字かな変換装置を実現する一具体例
のブロック図
FIG. 2 is a block diagram of a specific example for realizing the kanji-kana conversion device of the present invention.

【図3】辞書検索テーブルの構成図FIG. 3 is a block diagram of a dictionary search table.

【図4】漢字かな変換辞書メモリの構成図FIG. 4 is a block diagram of a kanji-kana conversion dictionary memory.

【図5】CPUの動作を表すフローチャートFIG. 5 is a flowchart showing the operation of the CPU.

【符号の説明】[Explanation of symbols]

1 入力装置 2 辞書インデックス検索手段 3 漢字かな変換用辞書と、 4 辞書本体検索手段 5 読み選択手段 6 表示装置 DESCRIPTION OF SYMBOLS 1 input device 2 dictionary index search means 3 kanji-kana conversion dictionary, 4 dictionary body search means 5 reading selection means 6 display device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鈴木 大作 広島県広島市東区光町1丁目12番20号 株 式会社松下電器情報システム広島研究所内 (72)発明者 倉光 由紀 広島県広島市東区光町1丁目12番20号 株 式会社松下電器情報システム広島研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Daisaku Suzuki, 12-12 Hikari-cho, Higashi-ku, Hiroshima-shi, Hiroshima Prefecture Matsushita Electric Information Systems Hiroshima Laboratory, Ltd. (72) Inventor Yuki Kuramitsu, Higashi-ku, Hiroshima-shi, Hiroshima 1-12-20 Machi Matsushita Electric Information Systems Hiroshima Research Institute

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 漢字や熟語もしくは記号などの単語をそ
の読みがなと品詞情報とを対応させて格納した本体部と
そのインデックス部とより構成される漢字かな変換用辞
書と、 入力される単語の表記情報と前記インデックス部のイン
デックスとの比較により検索開始位置を得る辞書インデ
ックス検索手段と、 前記辞書インデックス検索手段により求められた検索開
始位置に基づいて前記辞書本体部を検索して読みがなと
品詞情報を求めて出力する辞書本体検索手段と、前記辞
書本体検索手段により求められた読みがなと品詞情報に
より特定の品詞に対応する読みを選択する選択手段とを
有する漢字かな変換装置。
1. A kanji-kana conversion dictionary composed of a body part storing the words such as kanji, idioms or symbols in association with their phonetic readings and part-of-speech information, and their index parts, and words to be input. Dictionary index search means for obtaining a search start position by comparing the notation information of the above and the index of the index part, and the dictionary main body part is searched based on the search start position obtained by the dictionary index search means and is not readable. And a kanji-kana conversion device having a dictionary body searching means for obtaining and outputting part-of-speech information, and a selecting means for selecting a reading corresponding to a particular part-of-speech based on the reading and the part-of-speech information obtained by the dictionary body searching means.
JP3322720A 1991-12-06 1991-12-06 Kanji/kana converter Pending JPH05158918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3322720A JPH05158918A (en) 1991-12-06 1991-12-06 Kanji/kana converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3322720A JPH05158918A (en) 1991-12-06 1991-12-06 Kanji/kana converter

Publications (1)

Publication Number Publication Date
JPH05158918A true JPH05158918A (en) 1993-06-25

Family

ID=18146875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3322720A Pending JPH05158918A (en) 1991-12-06 1991-12-06 Kanji/kana converter

Country Status (1)

Country Link
JP (1) JPH05158918A (en)

Similar Documents

Publication Publication Date Title
JPH05158918A (en) Kanji/kana converter
JPH02144762A (en) Kanji input device
JP2668205B2 (en) Text search device
JPS62212877A (en) Kanji/kana converter
JPS62168263A (en) Kana-kanji mutual converter
JP2638777B2 (en) Kana-Kanji conversion device
JPH06187371A (en) Storing method and reading method for compressed place name data
JPH04671A (en) Retrieving system for electronic dictionary
JPS62251962A (en) Word processor
JPS6198475A (en) Japanese sentence input device
JPS62282364A (en) Character string retrieval system
JPH0731675B2 (en) Kana-Kanji mutual conversion device
JPS59106029A (en) Kana (japanese syllabary) kanji (chinese character) converter
JPS62226270A (en) Sentence preparing device
JPS62174866A (en) Kana-kanji mutual converter
JPH0381863A (en) Kana/kanji conversion system
JPH01185765A (en) Electronic kanji dictionary
JPH10154141A (en) Kana-to-kanji (japanese syllabary-to-chinese character) conversion device
JPS62251961A (en) Word processor
JPH09282316A (en) Kanji-to-kana conversion device
JPH01112360A (en) Document preparation supporting device
JPH1031672A (en) Person name conversion device and method
JPS619755A (en) Kana-to-kanji conversion system
JPH0359770A (en) Electronic dictionary device
JPH0385669A (en) Retrieval replacing device with function for analyzing declensional kana ending