Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0731674B2 - Kana-Kanji mutual conversion device - Google Patents
[go: Go Back, main page]

JPH0731674B2 - Kana-Kanji mutual conversion device - Google Patents

Kana-Kanji mutual conversion device

Info

Publication number
JPH0731674B2
JPH0731674B2 JP61016516A JP1651686A JPH0731674B2 JP H0731674 B2 JPH0731674 B2 JP H0731674B2 JP 61016516 A JP61016516 A JP 61016516A JP 1651686 A JP1651686 A JP 1651686A JP H0731674 B2 JPH0731674 B2 JP H0731674B2
Authority
JP
Japan
Prior art keywords
kanji
kana
conversion
character
next candidate
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 - Lifetime
Application number
JP61016516A
Other languages
Japanese (ja)
Other versions
JPS62174866A (en
Inventor
徹 山北
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 JP61016516A priority Critical patent/JPH0731674B2/en
Publication of JPS62174866A publication Critical patent/JPS62174866A/en
Publication of JPH0731674B2 publication Critical patent/JPH0731674B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、日本語ワードプロセッサ等の文書処理機能
をもつ装置に於ける仮名漢字相互変換装置に関する。
TECHNICAL FIELD The present invention relates to a kana-kanji mutual conversion device in a device having a document processing function such as a Japanese word processor.

〔従来の技術〕[Conventional technology]

日本語ワードプロセッサ等の文書処理機能を於いて、従
来では、仮名を漢字に変換する変換機構をもち、漢字の
読みを仮名で入力して仮名漢字変換を指定することによ
り、上記変換機構より、変換対象となる読みに該当する
漢字を得ていた。
Conventionally, in a word processing function such as a Japanese word processor, a conversion mechanism for converting a kana into kanji has been provided. By inputting the reading of a kanji in kana and specifying kana-kanji conversion, the conversion mechanism is changed. I was getting the kanji corresponding to the target reading.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

このように従来では、仮名から漢字への変換は可能であ
ったが、これとは逆に漢字から仮名への変換は不可能で
あった。従って、例えば文書ファイルより或る文書を呼
出して漢字又は熟語の読みを出力したい場合、又は或る
特定種別の漢字を仮名に戻して出力したい場合等に於い
て、その変換が不可能であった。
Thus, in the past, conversion from kana to kanji was possible, but conversely, conversion from kanji to kana was not possible. Therefore, for example, when a certain document is called from a document file and kanji or idiom readings are to be output, or when kanji of a certain specific type is to be returned to kana and then output, the conversion is impossible. .

この発明は、入力された文書中の任意の文字又は文字列
を対象に、簡単な操作で仮名・漢字相互の変換が容易に
行なえる仮名漢字相互変換装置を提供するものである。
The present invention provides a kana-kanji mutual conversion device that can easily perform mutual conversion between kana and kanji by a simple operation for any character or character string in an input document.

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

本発明の仮名漢字相互変換装置は、仮名をもとに検索さ
れる索引テーブルを有し、仮名を漢字に変換する第1の
変換手段と、漢字をもとに検索される索引テーブルを有
し、漢字を仮名に変換する第2の変換手段と、仮名−漢
字変換及び次候補漢字選択を指定する第1の指定手段
と、漢字−仮名変換及び次候補仮名選択を指定する第2
の指定手段と、前記第1の指定手段による初回の指定操
作で、変換対象の仮名を前記第1の変換手段で変換して
漢字を出力するとともに、前記第1の指定手段による次
回以降の指定操作で、次候補漢字を順次出力する第1の
制御手段と、前記第2指定手段による初回の指定操作
で、変換対象の漢字を前記第2の変換手段で変換して仮
名を出力するとともに、前記第2の指定手段による次回
以降の査定操作で、次候補仮名を順次出力する第2の制
御手段とを具備してなる。
The kana-kanji mutual conversion device of the present invention has an index table searched based on kana, has a first conversion means for converting kana into kanji, and an index table searched based on kanji. , Second conversion means for converting kanji into kana, first specifying means for specifying kana-kanji conversion and next candidate kanji selection, and second specifying means for kanji-kana conversion and next candidate kana selection
And the first designating means performs the first designating operation to convert the kana to be converted by the first converting means to output Kanji, and the first designating means designates the next and subsequent times. The first control means for sequentially outputting the next candidate kanji by operation, and the first specifying operation by the second specifying means converts the kanji to be converted by the second converting means and outputs a kana, and It is provided with a second control means for sequentially outputting the next candidate kana in subsequent assessment operations by the second designating means.

〔作 用〕[Work]

仮名・漢字変換の際は、第1の指定手段により、変換の
開始指定、及び変換された漢字の次候補選択を行なう。
又、漢字・仮名変換の際は、第2の指定手段により、変
換の開始指定、及び変換された仮名の次候補選択を行な
う。
When converting kana / kanji, the first designating means designates the start of conversion and selects the next candidate of the converted kanji.
Further, when converting kanji / kana, the second specifying means specifies the start of conversion and selects the next candidate of the converted kana.

上記第1の指定手段が操作されると、変換対象となる仮
名文字列が第1の変換手段により漢字に変換され表示さ
れる。この仮名−漢字変換後、更に上記第1の指定手段
が操作されると第1の制御手段により次候補の漢字が選
択され表示される。
When the first designating means is operated, the kana character string to be converted is converted into kanji by the first converting means and displayed. After this kana-kanji conversion, when the first designating means is further operated, the next candidate kanji is selected and displayed by the first control means.

又、上記第2の指定手段が操作されると、変換対象とな
る漢字が第2の変換手段により仮名に変換される。この
漢字−仮名変換後、更に上記第2の指定手段が操作され
ると第2の制御手段により次候補の仮名(読み)が選択
され表示される。
When the second designating means is operated, the kanji to be converted is converted into a kana by the second converting means. After the Kanji-kana conversion, when the second designating means is further operated, the second candidate kana (reading) is selected and displayed.

このように仮名・漢字の相互変換機能をもつことによ
り、仮名から漢字への変換のみならず漢字から仮名への
変換を簡単な操作で実現できる。
By having a mutual conversion function between kana and kanji in this way, not only conversion from kana to kanji but also conversion from kanji to kana can be realized by a simple operation.

〔実施例〕〔Example〕

(1)実施例の構成 第1図はこの発明の一実施例を示すブロック図である。 (1) Configuration of Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention.

図中、10は装置全体の制御並びに各種の文書処理を行な
うCPUであり、ここでは後述する「漢字変換/次候補」
キー、「仮名変換/次候補」キー等のキー操作に伴い、
仮名−漢字又は漢字−仮名の変換処理、更には変換処理
された文字の次候補処理等を選択的に実行する。
In the figure, 10 is a CPU that controls the entire apparatus and performs various document processes. Here, "Kanji conversion / next candidate" will be described later.
With the key operation such as the key and "Kana conversion / next candidate" key,
The conversion process of Kana-Kanji or Kanji-Kana, and the next candidate process of the converted characters are selectively executed.

11は文書入力のための仮名文字キー、更には各種のファ
ンクションキーを備えた入力部であり、ここでは文字変
換のためのフアンクションキーとして、仮名−漢字変換
及び次候補漢字選択を指定する「漢字変換/次候補」キ
ー、漢字−仮名変換及び次候補仮名選択を指定する「仮
名変換/次候補」キー等が設けられる。
Reference numeral 11 is an input unit provided with a kana character key for document input and further various function keys. Here, as a function key for character conversion, kana-kanji conversion and next candidate kanji selection are designated. A “Kanji conversion / next candidate” key, a “Kana conversion / next candidate” key for designating Kanji-kana conversion and selecting a next candidate kana are provided.

12乃至15はそれぞれ仮名・漢字の相互変換時に於いてCP
U10により参照される辞書・テーブル類である。このう
ち、12は仮名漢字変換時に於いて変換対象仮名文字列か
らその親文字(先頭漢字)を検索するための仮名索引テ
ーブル、13はこの仮名索引テーブル12で検索された親文
字に対する変換辞書内の領域ポインタアドレスを検索す
るための漢字索引テーブル、14は親文字とその読みが対
応付されて格納された変換辞書メモリ、15は接頭語、接
尾後を含む助詞、助動詞等が格納された付属語辞書メモ
リである。
12 to 15 are CP at the time of mutual conversion of kana and kanji
These are dictionaries and tables referenced by U10. Among these, 12 is a kana index table for searching the parent character (first kanji) from the conversion target kana character string during kana kanji conversion, and 13 is the conversion dictionary for the parent character searched by this kana index table 12. Kanji index table for searching the area pointer address, 14 is a conversion dictionary memory in which the base characters and their readings are stored in association with each other, 15 is a prefix, a particle including post suffix, auxiliary verb, etc. are stored It is a word dictionary memory.

16は入力及び編集文書を表示する表示部であり、仮名−
漢字,漢字−仮名の各変換時に於いては変換対象文字列
が明示されるとともに、変換された文字又は文字列が表
示される。17は上記各文書を印刷出力する印字部であ
る。
Reference numeral 16 is a display unit for displaying input and edited documents.
At the time of each conversion of kanji and kanji-kana, the character string to be converted is specified and the converted character or character string is displayed. A printing unit 17 prints out each of the above documents.

18は入力された又は編集対象となる文書情報を貯える文
書メモリである。19はキャラクタジェネレータ、及び第
2図に示すようなテーブル・辞書検索による仮名−漢
字,漢字−仮名の各変換処理を含む各種の制御プログラ
ムが格納されたROMである。
Reference numeral 18 is a document memory that stores the document information that has been input or is to be edited. Reference numeral 19 is a ROM which stores a character generator and various control programs including conversion processing of kana-kanji and kanji-kana by table / dictionary search as shown in FIG.

20はCPU10の作業用RAMであり、仮名・漢字相互の変換処
理に関しては、親文字ポインタ、漢字ポインタ、読みが
なポインタ、漢字バッファ、読みがなバッファ、仮名索
引テーブルポインタ、更には図示しない仮名/漢字/次
候補判定フラグF等が設けられる。
Reference numeral 20 is a work RAM of the CPU 10. Regarding conversion processing between kana and kanji, parent character pointer, kanji pointer, kana pointer, kanji buffer, kana buffer, kana index table pointer, and kana not shown / Kanji / next candidate determination flag F and the like are provided.

第2図は上記実施例に於ける「漢字変換/次候補」キ
ー、及び「仮名変換/次候補」キーのキー操作に伴う仮
名−漢字相互の変換処理及び次候補選択処理フローを示
すフローチャートである。
FIG. 2 is a flow chart showing a flow of conversion processing between Kana and Kanji and selection processing of the next candidate in accordance with the key operation of the "Kanji conversion / next candidate" key and the "Kana conversion / next candidate" key in the above embodiment. is there.

第3図は上記実施例に於ける変換処理動作を説明するた
めのテーブル及び辞書の索引順序とその具体的な文字検
索例を示す図である。
FIG. 3 is a diagram showing the index order of tables and dictionaries and a specific character search example for explaining the conversion processing operation in the above embodiment.

第4図(a)乃至(g)はそれぞれ上記実施例に於ける
各変換処理ステップ毎の文字表示例を示す図である。
FIGS. 4 (a) to 4 (g) are diagrams showing examples of character display for each conversion processing step in the above embodiment.

(2)実施例の作用 [仮名から漢字への変換] 変換対象となる文字又は文字列を含む文書が表示部16に
表示され、その文書内の変換対象文字列がカーソルによ
り指定された後、入力部11の「漢字変換/次候補」キー
が操作されると、CPU10の制御の下に第2図に示す変換
処理が実行される。
(2) Operation of Embodiment [Conversion from Kana to Kanji] A document including a character or a character string to be converted is displayed on the display unit 16, and the character string to be converted in the document is designated by the cursor. When the “Kanji conversion / next candidate” key of the input unit 11 is operated, the conversion process shown in FIG. 2 is executed under the control of the CPU 10.

上記「漢字変換/次候補」キーが操作されると、先ず仮
名/漢字/次候補判定フラグFの内容が調べられる(第
2図ステップS1)。
When the "Kanji conversion / next candidate" key is operated, the contents of the kana / kanji / next candidate determination flag F are checked (step S1 in FIG. 2).

ここで、仮名/漢字/次候補判定フラグFの内容が
「0」で、既に変換された漢字の候補確定後に於ける初
回の「漢字変換/次候補」キー操作であることが判定さ
れると、仮名−漢字変換処理に先立ち、上記仮名/漢字
/次候補判定フラグFに、以後「漢字変換/次候補」キ
ーが漢字の次候補選択キーとなることを示す「1」がセ
ットされる(第2図ステップS2)。
Here, if the content of the kana / kanji / next candidate determination flag F is "0", and it is determined that it is the first "kanji conversion / next candidate" key operation after the already-converted kanji candidate is confirmed. Prior to the kana-kanji conversion process, the kana / kanji / next candidate determination flag F is set to "1" indicating that the "kanji conversion / next candidate" key will be the next candidate selection key for kanji ( Figure 2 step S2).

そして変換対象となる上記仮名文字又は仮名文字列の文
字コードをもとに仮名索引テーブル12を索引し、変換対
象となる仮名で表わされた読みに対応する漢字の親文字
(先頭の漢字文字コード)を検索する(第2図ステップ
S3)。
Then, the kana index table 12 is indexed based on the character code of the above kana character or kana character string to be converted, and the base character of the kanji corresponding to the reading represented by the kana to be converted (the first kanji character Search code (Fig. 2 step)
S3).

次に、上記仮名索引テーブル12より検索された親文字を
もとに漢字索引テーブル13を索引して、その親文字が格
納された変換辞書メモリ14上のアドレス(親文字アドレ
ス)を得る(第2図ステップS4)。
Next, the Kanji index table 13 is indexed based on the base character searched from the kana index table 12 to obtain the address (base character address) in the conversion dictionary memory 14 in which the base character is stored (first character 2 step S4).

この親文字アドレスは作業用RAM20内の親文字ポインタ
に貯えられる。更にこれに伴って親文字に付随する漢字
が存在する際(即ち変換対象が熟語である際)は、その
付随する漢字のアドレスを指定する作業用RAM20内の漢
字ポインタに、初期アドレスとして、上記親文字に特定
の値を加えて得た、上記親文字とともに熟語を形成する
最初の候補漢字の格納位置を示すアドレスがセットされ
るとともに、その漢字の読みのアドレスを指定する読み
がなポインタに初期アドレスとして、上記漢字の最初の
読みの格納位置を示すアドレスがセットされる。
This parent character address is stored in the parent character pointer in the work RAM 20. Further, when there is a Chinese character attached to the base character (that is, when the conversion target is a idiom), a Kanji pointer in the work RAM 20 that specifies the address of the attached Chinese character is set to the above-mentioned initial address. The address indicating the storage position of the first candidate Kanji that forms a phrase together with the above base character, which is obtained by adding a specific value to the base character, is set, and a reading pointer that specifies the address of the reading of that Kanji is set. An address indicating the storage position of the first reading of the Chinese character is set as the initial address.

次に、上記親文字ポインタに貯えられた親文字アドレス
に特定の値を加えて親文字の最初の読みを格納したアド
レスが求められ、このアドレスと上記読みがなポインタ
に貯えられた読みのアドレスとをもとに変換辞書メモリ
14が索引されて、親文字とこれに付随する漢字を含めた
読みがなが読出される(第2図ステップS5)。
Next, a specific value is added to the base character address stored in the base character pointer to obtain an address storing the first reading of the base character, and this address and the reading address stored in the reading character pointer. Conversion dictionary memory based on and
14 is indexed, and the phonetic reading including the base character and the Chinese character accompanying it is read (step S5 in FIG. 2).

この変換辞書メモリ14より読出された読みがなを上記カ
ーソルで指定された変換対象文字列(又は文字)と比較
照合する(第2図ステップS6)。
The phonetic reading read from the conversion dictionary memory 14 is compared and collated with the conversion target character string (or character) designated by the cursor (step S6 in FIG. 2).

ここで、読みがなの一致がとれれば、変換辞書メモリ14
より、その各読みに対応する漢字(例えば熟語)その読
みを読出し、それぞれ作業用RAM20内の漢字バッファ及
び読みがなバッファに記憶した後、その変換処理内容
(即ち漢字(例えば熟語)とその読みがな)を表示部16
に表示する(第2図ステップS7,S17)。
If the readings match, the conversion dictionary memory 14
Read the kanji corresponding to each reading (eg, kanji) and store it in the kanji buffer and kana in the work RAM 20, and then convert the kanji (eg kanji (kanji) and its reading). Display section 16
Is displayed on the screen (steps S7 and S17 in FIG. 2).

又、上記変換辞書メモリ14より読出した読みがなと変換
対象文字列(又は文字)との比較照合(第2図ステップ
S6)に於いて一致がとれない際は、作業用RAM20内の読
みがなポインタを更新し、その更新された読みがなで再
度変換対象文字列(又は文字)との比較照合を行なう
(第2図ステップS5,S6,S18,S19)。更にこの際、読み
がなポインタのアドレスが親文字に付随する漢字の読み
を一循したならば、作業用RAM20内の仮名索引テーブル
ポインタを更新し、次の親文字を対象に上記同様の比較
照合を行なう(第2図ステップS5,S6,S18.S19,S20)。
In addition, the comparison and collation of the phonetic reading read from the conversion dictionary memory 14 and the conversion target character string (or character) (step in FIG. 2).
If no match is found in S6), the reading pointer in the work RAM 20 is updated, and the updated reading is again compared and collated with the conversion target character string (or character) (No. (2) Steps S5, S6, S18, S19). Further, at this time, if the address of the unreadable pointer goes through the reading of the kanji that accompanies the base character, the kana index table pointer in the working RAM 20 is updated and the same comparison as above is performed for the next base character. Collation is performed (steps S5, S6, S18.S19, S20 in FIG. 2).

又、仮名−漢字変換が行なわれて、変換された候補漢字
が表示された状態で、再び「漢字変換/次候補」キーが
操作されると、仮名/漢字/次候補判定フラグFの内容
が、漢字の次候補選択指定であることを示す「1」であ
ることが確認された後、上記同様のポインタ更新、更に
はその更新された読みがなを対象とした上記同様の比較
照合が行なわれる(第2図ステップS1,S18〜S20,S5,S
6)。
When the Kana-Kanji conversion is performed and the converted candidate Kanji is displayed, if the "Kanji conversion / next candidate" key is operated again, the contents of the Kana / Kanji / next candidate determination flag F will be changed. , After confirming that it is "1" indicating that the next candidate selection of kanji is designated, the pointer is updated in the same manner as above, and further the comparison and collation similar to the above is performed for the updated reading. (Fig. 2 Steps S1, S18 ~ S20, S5, S
6).

この際、表示された候補漢字が例えば「選択」キー等の
操作により確定する毎に、仮名/漢字/次候補判定フラ
グFが「0」に戻される。又、上記「漢字変換/次候
補」キーの操作に伴う仮名/漢字/次候補判定フラグF
の識別時(第2図ステップS1)に於いて、その内容が
「2」である際は上記キー入力を無視しノーフアンクシ
ョン(NF)とする。
At this time, the kana / kanji / next candidate determination flag F is reset to "0" every time the displayed candidate kanji is determined by operating the "select" key or the like. Also, a kana / kanji / next candidate determination flag F associated with the operation of the “Kanji conversion / next candidate” key
At the time of identification (step S1 in FIG. 2), when the content is "2", the key input is ignored and no function (NF) is set.

このようにして、仮名入力された漢字の読みが順次漢字
に変換される。
In this way, the readings of kanji input in kana are sequentially converted to kanji.

上記変換処理時に於ける各テーブル及び辞書の索引手順
を第3図に示し、その索引例を第4図(a)乃至(c)
に示している。
FIG. 3 shows the index procedure of each table and dictionary at the time of the conversion process, and the index examples are shown in FIGS. 4 (a) to 4 (c).
Is shown in.

[漢字から仮名への変換] 変換対象となる漢字混じり文が表示部16に表示され、そ
の文書内の変換対象となる漢字又は漢字文字列(例えば
熟語後)がカーソルにより指定された後、入力部11の
「仮名変換/次候補」キーが操作されると、CPU10の制
御の下に第2図に示す変換処理が実行される。
[Conversion from kanji to kana] A kanji mixed sentence to be converted is displayed on the display unit 16, and a kanji or kanji character string (for example, after a idiom) to be converted in the document is designated by the cursor and then input. When the “kana conversion / next candidate” key of the section 11 is operated, the conversion process shown in FIG. 2 is executed under the control of the CPU 10.

上記「仮名変換/次候補」キーが操作されると、先ず仮
名/漢字/次候補判定フラグFの内容が調べられる(第
2図ステップS8)。
When the "kana conversion / next candidate" key is operated, the contents of the kana / kanji / next candidate determination flag F are first examined (step S8 in FIG. 2).

ここで、仮名/漢字/次候補判定フラグFの内容が
「0」で、既に変換された漢字の候補確定後に於ける初
回の「仮名変換/次候補」キー操作であることが判定さ
れると、漢字−仮名変換処理に先立ち、上記仮名/漢字
/次候補判定フラグFに、以後「仮名変換/次候補」キ
ーが仮名の次候補選択キーとなることを示す「2」がセ
ットされる(第2図ステップS9)。
Here, if the content of the kana / kanji / next candidate determination flag F is "0" and it is determined that it is the first "kana conversion / next candidate" key operation after the candidate of the already converted kanji is determined. Prior to the kanji-kana conversion processing, the kana / kanji / next candidate determination flag F is set to "2" indicating that the "kana conversion / next candidate" key will be the next candidate selection key for kana ( Figure 2 step S9).

そして変換対象となる漢字文字列(例えば熟語)の親文
字を検索し、その検索した親文字をもとに漢字索引テー
ブル13を索引して、その親文字が格納された変換辞書メ
モリ14上のアドレス(親文字アドレス)を得る(第2図
ステップS10,S11)。
Then, a Kanji character string (for example, a compound word) to be converted is searched for a base character, the Kanji index table 13 is indexed based on the searched base character, and the conversion character is stored in the conversion dictionary memory 14 in which the base character is stored. An address (base letter address) is obtained (steps S10 and S11 in FIG. 2).

この親文字アドレスは作業用RAM20内の親文字ポインタ
に貯えられる。更にこれに伴つて親文字に付随する漢字
が存在する際(即ち変換対象が熟語である際)は、その
付随する漢字のアドレスを指定する作業用RAM20内の漢
字ポインタに、初期アドレスとして、上記親文字に特定
の値を加えて得た、上記親文字とともに熟語を形成する
最初の候補漢字の格納位置を示すアドレスがセットされ
るとともに、その漢字の読みのアドレスを指定する読み
がなポインタに初期アドレスとして、上記漢字の最初の
読みの格納位置を示すアドレスがセットされる。
This parent character address is stored in the parent character pointer in the work RAM 20. Further, when there is a Kanji character accompanying the base character (that is, when the conversion target is a compound word), the Kanji pointer in the working RAM 20 that specifies the address of the Kanji character that accompanies the Kanji character will be used as the initial address. The address indicating the storage position of the first candidate Kanji that forms a phrase together with the above base character, which is obtained by adding a specific value to the base character, is set, and a reading pointer that specifies the address of the reading of that Kanji is set. An address indicating the storage position of the first reading of the Chinese character is set as the initial address.

次に、上記親文字ポインタに貯えられた親文字アドレス
と上記漢字ポインタに貯えられたアドレスとをもとに変
換辞書メモリ14が索引されて、該当する漢字(例えば熟
語)が読出される(第2図ステップS12)。
Next, the conversion dictionary memory 14 is indexed based on the base character address stored in the base character pointer and the address stored in the Chinese character pointer, and the corresponding Chinese character (for example, a idiom) is read ( 2 step S12).

次にこの変換辞書メモリ14より読出された漢字(例えば
熟語)が上記カーソルで指定された変換対象として指定
された漢字と比較照合される(第2図ステップS13)。
Next, the Chinese character (for example, the idiom) read from the conversion dictionary memory 14 is compared and collated with the Chinese character designated as the conversion target designated by the cursor (step S13 in FIG. 2).

ここで、漢字の一致がとれれば、変換辞書メモリ14よ
り、その読みがなが読出され、作業用RAM20内の読みが
なバッファに記憶された後、表示部16に表示される(第
2図ステップS14,S17)。
If the Chinese characters match, the phonetic reading is read from the conversion dictionary memory 14, stored in the phonetic reading buffer in the working RAM 20, and then displayed on the display unit 16 (FIG. 2). Steps S14, S17).

又、上記変換辞書メモリ14より読出した漢字と変換対象
となる漢字との比較照合(第2図ステップS13)に於い
て一致がとれない際は、作業用RAM20内の漢字ポインタ
を更新し、その更新された漢字を対象に再度上記同様の
比較照合を行なう(第2図ステップS12〜S16)。
Further, when there is no match in the comparison and comparison between the Kanji read from the conversion dictionary memory 14 and the Kanji to be converted (step S13 in FIG. 2), the Kanji pointer in the work RAM 20 is updated, The same comparison and collation as above is performed again for the updated kanji (steps S12 to S16 in FIG. 2).

又、漢字−仮名変換が行なわれて、変換された候補仮名
文字列が表示された状態で、再び「仮名変換/次候補」
キーが操作された際は、仮名/漢字/次候補判定フラグ
Fの内容が仮名の次候補選択指定であることを示す
「2」であることが確認された後、読みがなポインタが
更新され、表示部16上の読みがなが更新される(第2図
ステップS8,S21,S14,S17)。
In addition, when Kanji-Kana conversion is performed and the converted candidate Kana character string is displayed, "Kana conversion / next candidate" is displayed again.
When the key is operated, it is confirmed that the content of the kana / kanji / next candidate determination flag F is “2” indicating the designation of the next candidate selection of kana, and then the unreadable pointer is updated. The reading on the display unit 16 is updated (steps S8, S21, S14, S17 in FIG. 2).

この際、表示された候補仮名文字列が例えば「選択」キ
ー等の操作により確定する毎に、仮名/漢字/次候補判
定フラグFが「0」に戻される。又,上記「仮名変換/
次候補」キーの操作に伴う仮名/漢字/次候補判定フラ
グFの識別時(第2図ステップS8)において、その内容
が「1」である際は上記キー入力を無視しノーファンク
ション(NF)とする。
At this time, the kana / kanji / next candidate determination flag F is reset to "0" every time the displayed candidate kana character string is confirmed by operating the "select" key or the like. In addition, the above “Kana conversion /
When the kana / kanji / next candidate determination flag F is identified (step S8 in FIG. 2) associated with the operation of the "next candidate" key, if the content is "1", the above key input is ignored and no function (NF) And

このようにして、指定された漢字が順次その読みに従う
仮名文字列に変換される。
In this way, the designated kanji are sequentially converted into a kana character string according to the reading.

この際の仮名から漢字へ、又、漢字から仮名への相互変
換操作例を第4図(a)乃至(g)に示している。
An example of mutual conversion operation from kana to kanji and from kanji to kana at this time is shown in FIGS. 4 (a) to 4 (g).

上述の如くして、仮名から漢字への変換とその候補漢字
の次候補選択指定がそれぞれ同一キーの繰返し操作で行
なえるとともに、漢字から仮名への変換とその候補仮名
文字列の次候補選択指定がそれぞれ同一キーの繰返し操
作で行なえることから、通常の仮名−漢字変換のみなら
ず、漢字混じり文の任意の漢字を対象に漢字をその読み
に対応した仮名に変換できる。
As described above, conversion from kana to kanji and selection of the next candidate of the candidate kanji can be performed by repeating the same key operation, and conversion of kanji to kana and selection of the next candidate of the candidate kana character string can be performed. Since each can be performed by repeating the same key, not only ordinary kana-kanji conversion, but also kanji in any kanji mixed sentence can be converted into kana corresponding to its reading.

尚、上記した実施例に於いては、変換対象となる文字又
は文字列をカーソルで指定する手段を例に示したが、こ
れに限ることはなく、例えば表示ページ全体又は指定さ
れた文書全体を変換対象として順次上記した変換処理を
行なうことも可能である。
In the above embodiment, the means for designating the character or character string to be converted with the cursor has been shown as an example, but the present invention is not limited to this. For example, the entire display page or the designated document can be displayed. It is also possible to sequentially perform the above-described conversion processing as a conversion target.

〔発明の効果〕〔The invention's effect〕

以上詳記したようにこの発明の仮名漢字相互変換装置に
よれば、文書処理機能をもつ装置に於いて、仮名と漢字
の相互変換機能をもつとともに、仮名から漢字への変換
及び次候補漢字の選択を各々指定する第1の指定手段
と、漢字から仮名への変換及び次候補仮名の選択を各々
指定する第2の指定手段とをもち、仮名−漢字変換と次
候補漢字の出力、又は、漢字−仮名変換と次候補漢字の
出力を共通の指定手段により行なう構成としたことによ
り、仮名から漢字への変換、及び漢字から仮名への変換
が簡単な操作で実現できる。
As described above in detail, according to the kana-kanji mutual conversion device of the present invention, in the device having the document processing function, the kana-kanji mutual conversion function is provided, and the kana-to-kanji conversion and the next candidate kanji It has a first designating means for designating each selection and a second designating means for designating conversion from kanji to kana and selection of next candidate kana, respectively, and kana-kanji conversion and output of next candidate kanji, or Since the kanji-kana conversion and the output of the next candidate kanji are performed by the common designating means, the kana to kanji conversion and the kanji to kana conversion can be realized by a simple operation.

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

第1図はこの発明の一実施例による構成を示すブロック
図、第2図は上記実施例の処理フローを示すフローチャ
ート、第3図は上記実施例に於ける変換処理動作を説明
するためのテーブル及び辞書の索引順序とその具体的な
文字検索例を示す図、第4図(a)乃至(g)はそれぞ
れ上記実施例に於ける各変換処理ステップ毎の文字表示
例を示す図である。 10……CPU、11……入力部、12……仮名索引テーブル、1
3……漢字索引テーブル、14……変換辞書メモリ、15…
…付属語辞書メモリ、16……表示部、17……印字部、18
……文書メモリ、19……ROM、20……作業用RAM。
FIG. 1 is a block diagram showing the configuration according to an embodiment of the present invention, FIG. 2 is a flow chart showing the processing flow of the above embodiment, and FIG. 3 is a table for explaining the conversion processing operation in the above embodiment. And a diagram showing an index order of the dictionary and a specific character search example thereof, and FIGS. 4 (a) to 4 (g) are diagrams showing a character display example at each conversion processing step in the above embodiment. 10 …… CPU, 11 …… Input section, 12 …… Kana index table, 1
3 ... Kanji index table, 14 ... conversion dictionary memory, 15 ...
… Adjunct dictionary memory, 16 …… Display, 17 …… Printing, 18
…… Document memory, 19 …… ROM, 20 …… Work RAM.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】仮名をもとに検索される索引テーブルを有
し、仮名を漢字に変換する第1の変換手段と、漢字をも
とに検索される索引テーブルを有し、漢字を仮名に変換
する第2の変換手段と、仮名−漢字変換及び次候補漢字
選択を指定する第1の指定手段と、漢字−仮名変換及び
次候補仮名選択を指定する第2の指定手段と、前記第1
の指定手段による初回の指定操作で、変換対象の仮名を
前記第1の変換手段で変換して漢字を出力するととも
に、前記第1の指定手段による次回以降の指定操作で、
次候補漢字を順次出力する第1の制御手段と、前記第2
の指定手段による初回の指定操作で、変換対象の漢字を
前記第2の変換手段で変換して仮名を出力するととも
に、前記第2の指定手段による次回以降の指定操作で、
次候補仮名を順次出力する第2の制御手段とを具備して
なることを特徴とした仮名漢字相互変換装置。
Claim: What is claimed is: 1. A kana character is converted into a kana by having an index table searched based on the kana and having a first conversion means for converting the kana into kanji and an index table searched based on the kanji. Second converting means for converting; first specifying means for specifying kana-kanji conversion and selecting next candidate kana; second specifying means for specifying kanji-kana conversion and selecting next candidate kana;
In the first specifying operation by the specifying means, the kana to be converted is converted by the first converting means to output the kanji, and in the subsequent specifying operation by the first specifying means,
First control means for sequentially outputting the next candidate kanji, and the second control means
In the first specifying operation by the specifying means, the Kanji to be converted is converted by the second converting means and a kana is output, and in the subsequent specifying operation by the second specifying means,
A kana-kanji mutual conversion device, comprising: a second control means for sequentially outputting the next candidate kana.
JP61016516A 1986-01-28 1986-01-28 Kana-Kanji mutual conversion device Expired - Lifetime JPH0731674B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61016516A JPH0731674B2 (en) 1986-01-28 1986-01-28 Kana-Kanji mutual conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61016516A JPH0731674B2 (en) 1986-01-28 1986-01-28 Kana-Kanji mutual conversion device

Publications (2)

Publication Number Publication Date
JPS62174866A JPS62174866A (en) 1987-07-31
JPH0731674B2 true JPH0731674B2 (en) 1995-04-10

Family

ID=11918435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61016516A Expired - Lifetime JPH0731674B2 (en) 1986-01-28 1986-01-28 Kana-Kanji mutual conversion device

Country Status (1)

Country Link
JP (1) JPH0731674B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5814688B2 (en) * 1979-05-02 1983-03-22 富士通株式会社 Kanji-mixed sentence input device that sequentially displays homophones
JPS5692677A (en) * 1979-12-26 1981-07-27 Fujitsu Ltd Kanji (chinese character)/kana (japanese syllabary) converter
JPS5816488B2 (en) * 1979-12-26 1983-03-31 富士通株式会社 Japanese text input method
JPS5729137A (en) * 1980-07-29 1982-02-17 Fujitsu Ltd "kanji" (chinese character) input system
JPS593630A (en) * 1982-06-30 1984-01-10 Fujitsu Ltd Documentation device
JPH0612539B2 (en) * 1982-10-06 1994-02-16 株式会社日立製作所 Kanji / Kana conversion device
JPS59100941A (en) * 1982-11-30 1984-06-11 Sharp Corp Kana (japanese syllabary)-kanji (chinese character) converter

Also Published As

Publication number Publication date
JPS62174866A (en) 1987-07-31

Similar Documents

Publication Publication Date Title
JPH0236019B2 (en)
JPH0731674B2 (en) Kana-Kanji mutual conversion device
JPH0731675B2 (en) Kana-Kanji mutual conversion device
JPH087747B2 (en) Kana-Kanji mutual conversion device
JPH0612548B2 (en) Document processor
JPH05282360A (en) Multilingual input device
JPS63313268A (en) Reading search device in document creation device
JP3187671B2 (en) Electronic dictionary display
JPH0512257A (en) Document creation device
JP3273778B2 (en) Kana-kanji conversion device and kana-kanji conversion method
JPH052578A (en) Kana-Kanji conversion method
JP2761635B2 (en) Kanji processing device
JP2628775B2 (en) Dictionary creation device
JPS62202259A (en) Documentation device
JPH04270450A (en) document creation device
JPH05282290A (en) Writing support device
JPH10154141A (en) Kana-Kanji conversion device
JPH10334089A (en) Character input device
JPH0512249A (en) Document creation device
JPH0727526B2 (en) Kana-Kanji converter
JPH05282365A (en) Electronic dictionary device
JPH01277961A (en) Character conversion system
JPH0895978A (en) Decryption support device
JPH0370065A (en) Kanji input system
JPH09282316A (en) Kanji / Kana conversion device