JPH0638258B2 - Character processor - Google Patents
Character processorInfo
- Publication number
- JPH0638258B2 JPH0638258B2 JP59226837A JP22683784A JPH0638258B2 JP H0638258 B2 JPH0638258 B2 JP H0638258B2 JP 59226837 A JP59226837 A JP 59226837A JP 22683784 A JP22683784 A JP 22683784A JP H0638258 B2 JPH0638258 B2 JP H0638258B2
- Authority
- JP
- Japan
- Prior art keywords
- dictionary
- word
- stored
- reading
- memory
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 〔技術分野〕 本発明は、学習機能をともなったかな漢字変換機能を備
えた文字処理装置に関するものである。Description: TECHNICAL FIELD The present invention relates to a character processing device having a learning function and a kana-kanji conversion function.
従来この種の装置において、学習機能をともなったかな
漢字変換機能を実現するためには、次の様な方法がとら
れていた。In order to realize a kana-kanji conversion function with a learning function in this type of device, the following method has been conventionally used.
辞書内の各単語に対応した学習に関する情報を記憶す
るメモリを設ける。A memory is provided for storing information regarding learning corresponding to each word in the dictionary.
この場合は、辞書内の単語数に比例した記憶領域が必要
となるので、単語数が多い場合は高価となるという欠点
がある。In this case, since a storage area proportional to the number of words in the dictionary is required, there is a drawback that the cost increases if the number of words is large.
辞書内の単語の位置をその単語の使用頻度に応じて置
換し、単語の位置により優先順位をつける。The word position in the dictionary is replaced according to the frequency of use of the word, and the word position is prioritized.
この方法は辞書として読取専用メモリを使用している場
合には不可能であり、またフロッピーディスクを辞書と
して使用している場合には、フロッピーディスクへの書
込をともなうので処理時間がかかるという欠点がある。This method is not possible when using a read-only memory as a dictionary, and when using a floppy disk as a dictionary, it takes time to process because it involves writing to the floppy disk. There is.
本発明の目的は、上述の欠点を除去し、辞書内の単語数
とは無関係な、少ない容量の記憶領域を効率よく利用
し、短い処理時間で、学習された単語を優先させる仮名
漢字変換を実現できる文字処理装置を提供することにあ
る。An object of the present invention is to eliminate the above-mentioned drawbacks, efficiently use a small storage area irrelevant to the number of words in a dictionary, and perform kana-kanji conversion that prioritizes learned words in a short processing time. It is to provide a character processing device that can be realized.
以下に、図面を参照して本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.
第1図は本発明文字処理装置の全体の構成を示す。すな
わち、本発明装置は、読みを入力する読み入力手段1
と、読み入力手段1により入力された読みを格納する読
みメモリ2と、読みメモリ2に格納された読みを漢字に
変換することを指示する漢字変換指示手段3と、読みと
漢字を対応させて記憶する第1の辞書4と、以前に選択
された読みおよび漢字を記憶する第2の辞書5と、同音
異義語を格納する同音意義語メモリ6と、同音異義語の
順位を決定するための得点を求める評価手段7と、読み
を漢字に変換する漢字変換手段8と、同音異義語メモリ
6に格納されている同音異義語の一部または全部を表示
する表示手段9と、文字を格納する文字メモリ10と、同
音異義語メモリ6に格納された同音異義語のうちの一つ
を選択することを指示する同音異義語選択指示手段11
と、同音異義語を選択して文字メモリ10および第2の辞
書5に格納する同音異義語選択手段12とを具える。FIG. 1 shows the overall construction of the character processing apparatus of the present invention. That is, the device of the present invention is the reading input means 1 for inputting the reading.
And a reading memory 2 for storing the reading input by the reading input means 1, a kanji conversion instructing means 3 for instructing to convert the reading stored in the reading memory 2 into kanji, and the reading and kanji are associated with each other. A first dictionary 4 to be stored, a second dictionary 5 to store previously selected readings and kanji, a homophone meaning word memory 6 to store homonyms, and a order for determining homonyms An evaluation means 7 for obtaining a score, a kanji conversion means 8 for converting the reading into kanji, a display means 9 for displaying a part or all of the homonyms stored in the homonym memory 6, and a character are stored. The character memory 10 and the homonym selection instruction means 11 for instructing to select one of the homonyms stored in the homonym memory 6
And a homonym synonym selection means 12 for selecting a homonym and storing it in the character memory 10 and the second dictionary 5.
上述の評価手段7は、第2の辞書5に記憶されている漢
字には、第1の辞書4に記憶されている漢字よりも高得
点を与える。また、漢字変換手段8は、漢字変換指示手
段3により変換が指示されると、第1の辞書4および第
2の辞書5を用いて、読みメモリ2に格納されている読
みを漢字に変換し、かつ評価手段7により得られた得点
が高い同音異義語を高順位の候補として同音異義語メモ
リ6に格納する。また、同音異義語選択手段12は、同音
異義語選択指示手段11により選択が指示されると、選択
が指示された同音異義語を文字メモリ10に格納するとと
もに、選択された同音異義語および読みを第2の辞書5
に記憶させる。The above-mentioned evaluation means 7 gives a higher score to the kanji stored in the second dictionary 5 than the kanji stored in the first dictionary 4. When the Kanji conversion instructing unit 3 instructs conversion, the Kanji conversion unit 8 uses the first dictionary 4 and the second dictionary 5 to convert the readings stored in the reading memory 2 into Kanji. Further, the homonyms with high scores obtained by the evaluation means 7 are stored in the homonyms memory 6 as high-rank candidates. Further, when the homonym synonym selection means 12 is instructed to select by the homonym synonym selection instructing means 11, the homonym synonym is stored in the character memory 10 while the selected homonym and reading are selected. The second dictionary 5
To memorize.
第2図は本発明文字処理装置の一実施例を示す。ここ
で、21は第1図の入力手段1、変換指示手段3および選
択指示手段11を構成するキーボードであり、例えば、か
な文字および記号の入力を指示する文字キー、かな漢字
変換の実行を指示する変換キー、同音意義語の選択を指
示する選択キー、および文字処理に必要なその他の処理
動作を指示する各種ファンクションキーを有する。FIG. 2 shows an embodiment of the character processing device of the present invention. Reference numeral 21 denotes a keyboard which constitutes the input means 1, the conversion instruction means 3 and the selection instruction means 11 in FIG. 1, and for example, a character key for instructing the input of kana characters and symbols and an instruction for executing kana-kanji conversion. It has a conversion key, a selection key for instructing the selection of homophones, and various function keys for instructing other processing operations necessary for character processing.
22は、第1図の評価手段7、変換手段8および選択手段
12を構成する例えばマイクロプロセッサ形態のCPU(中
央演算処理装置)であり、プログラム・メモリ(PROM)24
に記憶された処理手順に従って文字処理に必要な各種制
御を行う。Reference numeral 22 is an evaluation means 7, a conversion means 8 and a selection means of FIG.
A CPU (Central Processing Unit) in the form of, for example, a microprocessor, which constitutes 12, and a program memory (PROM) 24
Various controls necessary for character processing are performed according to the processing procedure stored in.
23は読取専用メモリ(ROM)であり、プログラムメモリ24
および第1の辞書(メモリ)25を含む。プログラムメモ
リ24は第3図のフローチャートに示す処理手順をあらか
じめ記憶している。第1の辞書25は第1図の辞書4に相
当し、かな漢字変換のための読みおよび漢字を対応させ
て記憶している。23 is a read-only memory (ROM), and program memory 24
And a first dictionary (memory) 25. The program memory 24 stores in advance the processing procedure shown in the flowchart of FIG. The first dictionary 25 corresponds to the dictionary 4 in FIG. 1, and stores readings and kanji for Kana-kanji conversion in association with each other.
26は書込可能メモリ(RAM)であり、読みメモリ27,同音
意義語メモリ28,文字メモリ29,第2の辞書30,同音意
義語表示中フラグ31,同音意義語番号レジスタ32,カー
ソルレジスタ33および文字処理を行なうために必要なそ
の他の記憶領域34とを含む。読みメモリ27は第1図の読
みメモリ2に相当し、キーボード21から入力された文字
を格納する。Reference numeral 26 denotes a writable memory (RAM), which is a reading memory 27, a homophone meaning word memory 28, a character memory 29, a second dictionary 30, a homophone meaning word displaying flag 31, a homophone meaning word number register 32, and a cursor register 33. And other storage area 34 required for character processing. The reading memory 27 corresponds to the reading memory 2 in FIG. 1 and stores characters input from the keyboard 21.
同音意義語メモリ28は、第1図の同義語メモリ6に相当
し、かな漢字変換によって変換された同音意義語を格納
する。文字メモリ29は第1図の文字メモリ10に相当し、
選択された同音意義語を格納する。第2の辞書30は第1
図の第2の辞書5に相当し、選択された同音意義語およ
び読みを格納し、格納された同音意義語および読みは次
回以降のかな漢字変換の際に参照される。The homophone meaning word memory 28 corresponds to the synonym word memory 6 in FIG. 1 and stores the homophone meaning words converted by the kana-kanji conversion. The character memory 29 corresponds to the character memory 10 in FIG. 1,
The selected homonym word is stored. The second dictionary 30 is the first
It corresponds to the second dictionary 5 in the figure and stores the selected homonym meaning words and readings, and the stored homonym meaning words and readings are referred to in the subsequent Kana-Kanji conversion.
同音意義語表示中フラグ31は同音意義語を表示中である
か否かを記憶する。同音意義語番号レジスタ32は、表示
中の同音意義語の番号を記憶する。カーソルレジスタ34
はカーソル位置を記憶する。The homophone meaning word display flag 31 stores whether or not the homophone meaning word is being displayed. The homophone significant word number register 32 stores the number of the homophone significant word being displayed. Cursor register 34
Stores the cursor position.
35は第1図の表示手段9に相当する表示器であり、文字
メモリ29および、読みメモリ27または同音意義語メモリ
28に格納された文字を表示する。36は各部の制御に必要
なアドレス信号、データ信号およびコントロール信号の
転送を行うバスラインである。CPU22はこのバスライン3
6を介してキーボード21、読取専用メモリ23、書込可能
メモリ26および表示器35に接続している。Reference numeral 35 is a display corresponding to the display means 9 in FIG. 1, and is a character memory 29 and a reading memory 27 or a homophone meaning word memory.
Display the characters stored in 28. Reference numeral 36 is a bus line for transferring address signals, data signals and control signals necessary for controlling each part. CPU22 is this bus line 3
It is connected to the keyboard 21, the read-only memory 23, the writable memory 26 and the display 35 via 6.
第3図は第2図のプログラムメモリ24に記憶されて、CP
U22により実行される本発明文字処理装置の処理手順の
一例を示すフローチャートである。次に、第3図のフロ
ーチャートを参照して第2図の本発明装置の動作例を説
明する。まず、電源が投入されると、ステップS1におい
てキーボード21からのキー入力を待機する。このとき、
読みメモリ27、文字メモリ29および第2の辞書30の記憶
内容は空の状態であり、同音意義語表示中フラグ31はリ
セット状態であり、またカーソルレジスタ33は文字メモ
リ29の先頭の位置を記憶している。FIG. 3 shows the CP stored in the program memory 24 of FIG.
It is a flow chart which shows an example of the processing procedure of the character processing device of the present invention performed by U22. Next, an operation example of the device of the present invention shown in FIG. 2 will be described with reference to the flowchart shown in FIG. First, when the power is turned on, a key input from the keyboard 21 is awaited in step S1. At this time,
The memory contents of the reading memory 27, the character memory 29, and the second dictionary 30 are empty, the homophone meaning word display flag 31 is in a reset state, and the cursor register 33 stores the start position of the character memory 29. is doing.
その後、キーボード21から文字キーがキー入力される
と、ステップS2の入力キー判断手順を経て、ステップS3
に進み、同音意義語表示中フラグ31がリセット状態であ
れば、次のステップS4において入力された文字が読みメ
モリ27に格納され、次にステップS5において文字メモリ
29および読みメモリ27に格納されている文字が表示器35
に表示され、ステップS1のキー入力待機に戻る。同音意
義語表示中フラグ31がセット状態であれば、文字キーの
入力は誤操作によるものなので直ちにステップS1のキー
入力待機に戻る。After that, when a character key is input from the keyboard 21, the input key determination procedure of step S2 is performed, and then step S3 is performed.
If the homophone meaning word display flag 31 is in the reset state, the character input in the next step S4 is stored in the reading memory 27, and then the character memory is stored in step S5.
29 and the characters stored in reading memory 27 are displayed 35
Is displayed, and the process returns to the key input standby in step S1. If the homophone meaning word display flag 31 is in the set state, the input of the character key is due to an erroneous operation, and the process immediately returns to the key input standby in step S1.
ステップS1において変換キーがキー入力されると、ステ
ップS2の入力キー判断手順を経てステップS6に進み、同
音意義語表示中フラグ31がリセット状態であれば、次の
ステップS7に進み、読みメモリ27に格納された漢字の読
みをもとに第2の辞書30に格納された対応する単語(漢
字)をサーチ(検索)する。その単語が発見された場合
には、ステップS8を経てステップS9に進み、発見された
単語を同音意義語として同音意義語メモリ28に格納す
る。この際、先に発見された単語ほど選択表示される順
位が高い高順位の候補となるように格納する。次に、ス
テップS7に戻り、上述のサーチ動作を繰返す。When the conversion key is keyed in in step S1, the process proceeds to step S6 through the input key determination procedure in step S2, and if the homophone meaning word display flag 31 is in the reset state, the process proceeds to the next step S7 and the reading memory 27 The corresponding word (kanji) stored in the second dictionary 30 is searched based on the reading of the kanji stored in. If the word is found, the process proceeds to step S9 via step S8, and the found word is stored in the homonym meaningful word memory 28 as the homonym significant word. At this time, the word found earlier is stored so that it becomes a high-ranked candidate having a higher rank to be selectively displayed. Next, returning to step S7, the above-described search operation is repeated.
第2の辞書30に該当の単語が発見されなくなると、ステ
ップS8を経てステップS10に進み、第1の辞書25に格納
された上述の読みに対応する単語(漢字)をサーチす
る。以後、ステップS10〜S12において、上述のステップ
S7〜S9と同様のサーチおよびメモリへの格納処理を行
い、第1の辞書25に該当の単語が発見されなくなるまで
この処理をくり返す。When the corresponding word is no longer found in the second dictionary 30, the process proceeds to step S10 through step S8, and the word (kanji) corresponding to the above-mentioned reading stored in the first dictionary 25 is searched. After that, in steps S10 to S12,
The same search and memory storage processing as in S7 to S9 is performed, and this processing is repeated until the corresponding word is no longer found in the first dictionary 25.
第1の辞書25に該当の単語が発見されなくなると、ステ
ップS11を経てステップS13に進み、同音意義語表示中フ
ラグ31をセット状態とする。次に、ステップS14に進
み、同音意義語番号レジスタに“1”を記憶させる。次
に、ステップS15において、文字メモリ29に格納されて
いる文字および同音意義語メモリ28に格納されている同
音意義語(漢字)のうち、同音意義語番号レジスタ32が
示す“1”の順番(第1の候補)の同音意義語を表示器
35に表示し、再びステップS1に戻る。従って、第2の辞
書30からサーチされた単語は第1の辞書25からサーチさ
れた単語より高順位となり、最高の高順位のものが第1
の候補として最初に表示される。When the corresponding word is no longer found in the first dictionary 25, the process proceeds to step S13 through step S11, and the homophone meaning word displaying flag 31 is set. Next, proceeding to step S14, "1" is stored in the homonym significant word number register. Next, in step S15, among the characters stored in the character memory 29 and the same-sound significant words (kanji) stored in the same-sound significant word memory 28, the order of “1” indicated by the same-sound significant word number register 32 ( The first candidate) homophone meaning word display
The message is displayed at 35, and the process returns to step S1 again. Therefore, the words searched from the second dictionary 30 have a higher rank than the words searched from the first dictionary 25, and the word with the highest rank is the first rank.
First displayed as a candidate for.
他方、上述のステップS6において同音意義語表示中フラ
グ31がセット状態であると判断した場合は、ステップS1
6に移行し同音意義語番号レジスタ32に“1”を加算す
る。次に、ステップS17に進み、同音意義語番号レジス
タ32に記憶されている数値が同音意義語メモリ28に格納
されている同音意義語の数よりも大であるか否かを判断
し、大である、つまりレジスタ値がメモリ28に格納され
ている同音意義語数を越えたと判断された場合はステッ
プS14において同音意義語番号レジスタ32に“1”を記
憶させ、ステップS15に進む。ステップS17でレジスタ値
は大でないと判断した場合にはステップS17からステッ
プS15に直接進む。On the other hand, if it is determined in step S6 that the homonym significant word displaying flag 31 is in the set state, step S1
The process shifts to 6 and "1" is added to the homonym meaning word number register 32. Next, proceeding to step S17, it is determined whether or not the numerical value stored in the homonym significant word number register 32 is larger than the number of homonym significant words stored in the homonym significant word memory 28, and the value is large. If there is, that is, if it is determined that the register value has exceeded the number of homophone meaning words stored in the memory 28, "1" is stored in the homophone meaning word number register 32 in step S14, and the process proceeds to step S15. If it is determined in step S17 that the register value is not large, the process directly proceeds from step S17 to step S15.
次に、ステップS15において、文字メモリ29に格納され
ている文字、および同音意義語メモリ28に格納されてい
る同音意義語のうち、同音意義語番号レジスタ32によっ
て示される順番の同音意義語、すなわち現在表示されて
いる同音意義語の次の順位を有する同音意義語を表示器
35に表示する。次に、ステップS1に戻る。Next, in step S15, among the characters stored in the character memory 29, and the homophone significant words stored in the homophone significant word memory 28, the homophone significant words in the order indicated by the homophone significant word number register 32, that is, Homophone word having the next rank of the currently displayed homophone word is displayed
Display on 35. Then, the process returns to step S1.
ステップS1においてキーボード21から選択キーがキー入
力されると、ステップS2を経て、ステップS18に進み、
同音意義語表示中フラグ31がセット状態であれば、ステ
ップS19において、同音意義語メモリ28に格納されてい
る同音意義語のうちで同音意義語番号レジスタ32によっ
て示される順番の同音意義語、すなわち現在表示中の同
音意義語を文字メモリ29に格納する。このとき、同時に
カーソルレジスタ33の内容をその格納した同音意義語の
文字数に応じて更新する。次に、ステップS20に進み、
読みメモリ27の読み、および同音意義語メモリ28に格納
されている同音意義語のうちで、同音意義語番号レジス
タ32によって示される順番の同音意義語とを第2の辞書
30の先頭に格納する。このとき、以前に先頭にあった単
語は2番目に、2番目にあった単語は3番目へと順次移
動し、最後の単語が第2の辞書30から失なわれるように
する。When the selection key is input from the keyboard 21 in step S1, the process proceeds to step S18 via step S2,
If the homophone meaning word display flag 31 is in the set state, in step S19, among the homophone meaning words stored in the homophone meaning word memory 28, the homophone meaning words in the order indicated by the homophone meaning word number register 32, that is, The homophone meaning word currently being displayed is stored in the character memory 29. At this time, the contents of the cursor register 33 are updated at the same time according to the number of characters of the stored homonym significant words. Then go to step S20,
The reading of the reading memory 27 and, of the homonym significant words stored in the homonym significant word memory 28, the homonym significant words in the order indicated by the homonym significant word number register 32 are stored in the second dictionary.
Store at the beginning of 30. At this time, the word previously at the beginning is sequentially moved to the second, the word at the second is moved to the third, and the last word is lost from the second dictionary 30.
次に、ステップS21に進み、読みメモリ27に格納されて
いた読みをクリアし、次のステップS22において同音意
義語表示中フラグ31をリセット状態にし、さらに次のス
テップS23において文字メモリ29に格納されている文字
を表示器35に表示してステップS1に戻る。Next, in step S21, the reading stored in the reading memory 27 is cleared, the homophone meaning word display flag 31 is reset in the next step S22, and further stored in the character memory 29 in the next step S23. The displayed characters are displayed on the display 35 and the process returns to step S1.
他方、上述のステップS18において同音意義語表示中フ
ラグ31がリセット状態であると判断した場合には、選択
キーの入力は誤操作によるものなので直ちにステップS1
に戻る。On the other hand, if it is determined in step S18 that the homonym meaning word display flag 31 is in the reset state, the selection key is input erroneously, so immediately step S1.
Return to.
また、ステップS1において、文字キー、変換キー、選択
キー以外のその他のキーが入力された場合には、ステッ
プS2を経てステップS24に進み、入力したキーの種類に
応じて文字処理に必要なその他の処理、例えば編集、印
刷、または保存等の各種処理を行い、ステップS1に戻
る。Further, in the step S1, if a character key, a conversion key, or any other key other than the selection key is input, the process proceeds to step S24 through step S2, and other necessary for character processing depending on the type of the input key. Processing, for example, various processing such as editing, printing, or saving is performed, and the process returns to step S1.
第4図(A)〜(J)は、第3図の処理動作により表示器35に
表示される表示態様例を表示順次に従って示す。また、
第5図(A)〜(D)は、第3図の処理動作順に応じて第2の
辞書30に記憶された読みおよび漢字の状態の一例を示
す。第4図のCは次に文字表示する位置を表すカソード
を示す。FIGS. 4A to 4J show examples of display modes displayed on the display 35 by the processing operation of FIG. 3 in the order of display. Also,
FIGS. 5 (A) to 5 (D) show an example of the states of reading and kanji stored in the second dictionary 30 according to the processing operation order of FIG. C of FIG. 4 shows the cathode showing the position where the character is displayed next.
電源投入後に例えば「き」「か」「い」の3文字をキー
ボード21から入力すると、その仮名の3文字は読みメモ
リ27に格納され、第4図(A)に示すように表示器35上に
表示される。ここで、表示器35の左側画面は読みまたは
同音意義語を表示する領域であり、表示器35の右側画面
は文字メモリ29に格納されている文字の一部を表示する
領域であるとする。本図でカーソルCは文字メモリ29の
先頭に対応する位置に表示されている。If, for example, three characters of “ki”, “ka”, and “i” are input from the keyboard 21 after the power is turned on, the three characters of the kana are stored in the reading memory 27 and displayed on the display 35 as shown in FIG. 4 (A). Is displayed in. Here, it is assumed that the left side screen of the display unit 35 is an area for displaying the reading or homophone meaning words, and the right side screen of the display unit 35 is an area for displaying a part of the characters stored in the character memory 29. In this figure, the cursor C is displayed at a position corresponding to the beginning of the character memory 29.
次に、キーボード21上の変換キーが押下されると、まず
第2の辞書30がサーチされるが、第2の辞書30の内容は
最初は空なので読みの「きかい」に対応する単語(漢
字)はなく、第1の辞書25のサーチへ進む。ここで、第
1の辞書25には、読み「きかい」に対応する漢字として
「機械」「機会」「奇怪」の3単語がこの順に記憶され
ているものとする。Next, when the conversion key on the keyboard 21 is pressed, the second dictionary 30 is searched first, but since the content of the second dictionary 30 is initially empty, the word corresponding to the reading "kikai" ( There is no kanji), and the search proceeds to the first dictionary 25. Here, it is assumed that the first dictionary 25 stores three words “machine”, “opportunity”, and “strange” as the kanji corresponding to the reading “kikai” in this order.
第1の辞書25のサーチの結果、同音意義語メモリ28には
「機械」「機会」「奇怪」の3単語がこの順に格納さ
れ、まず最初に第1の候補の「機械」が第4図(B)に示
すように表示される。次に、キーボード21上の変換キー
を押下すると、第2の候補の「機会」が第4図(C)に示
すように表示される。更にキーボード21上の変換キーを
押下すると第3図の候補の「奇怪」が第4図(D)に示す
ように表示される。次に、キーボード21上の選択キーを
押下すると、表示器35の左画面に表示中の同音意義語
「奇怪」が選択され、この選択された「奇怪」が文字メ
モリ29に格納され、表示器35の右画面に表示される。ま
た、同時に読みメモリ27に格納されている読みの「きか
い」と選択された上記の「奇怪」とが第2の辞書30の先
頭位置に記憶され、第2の辞書30の内容は第5図(A)に
示すような状態となる。ここで、第2の辞書30の記憶容
量は仮に4単語とする。As a result of the search of the first dictionary 25, the three words "machine", "opportunity", and "strange" are stored in the homonym meaning word memory 28 in this order. First, the first candidate "machine" is shown in FIG. Displayed as shown in (B). Next, when the conversion key on the keyboard 21 is pressed, the "opportunity" of the second candidate is displayed as shown in FIG. 4 (C). When the conversion key on the keyboard 21 is further pressed, the candidate "strange" shown in FIG. 3 is displayed as shown in FIG. 4 (D). Next, when the selection key on the keyboard 21 is pressed, the homonym meaning word “strange” displayed on the left screen of the display 35 is selected, and the selected “strange” is stored in the character memory 29. Displayed on the right screen of 35. At the same time, the reading "Kaikai" stored in the reading memory 27 and the selected "strange monster" are stored at the head position of the second dictionary 30, and the contents of the second dictionary 30 are the fifth. The state is as shown in FIG. Here, the storage capacity of the second dictionary 30 is assumed to be 4 words.
次に、再び「き」「か」「い」の仮名をキーボード21か
らキー入力し、変換キーを押下すると、今度は第2の辞
書30には前回選択された「きかい」と「奇怪」とが記憶
されているので、(第5図(A)参照)、「奇怪」が第1
の候補となり、「機械」および「機会」がそれぞれ第
2、第3の候補となる。従って、第4図(E)に示すよう
に、まず「奇怪」が表示器35の左画面に表示され、キー
ボード21上の変換キーの押下にしたがって第4図(F),
(G)に示すように「機械」,「機会」が順次表示器35の
左画面に表示される。Next, the kana of "ki", "ka", and "i" are entered again from the keyboard 21, and when the conversion key is pressed, this time, the previously selected "kikai" and "bizarre" are entered in the second dictionary 30. Is stored (see Fig. 5 (A)), the "strange" is the first
, And “machine” and “opportunity” are second and third candidates, respectively. Therefore, as shown in FIG. 4 (E), first, a “strange monster” is displayed on the left screen of the display unit 35, and as the conversion key on the keyboard 21 is pressed, FIG.
As shown in (G), “machine” and “opportunity” are sequentially displayed on the left screen of the display unit 35.
第4図(G)のように、表示器35の左画面に「機会」が表
示されている状態でキーボード21の選択キーを押下する
と、第5図(B)に示すように「きかい」および「機会」
とが第2の辞書30の先頭に格納され、以前にその先頭に
あった「きかい」と「奇怪」とは第2の格納位置に繰下
って格納される。As shown in FIG. 4 (G), if the selection key of the keyboard 21 is pressed while the “opportunity” is displayed on the left screen of the display unit 35, “quick” is displayed as shown in FIG. 5 (B). And "opportunity"
And are stored at the head of the second dictionary 30, and the “kikai” and “strange” that were previously at the head are stored in the second storage position.
このとき、みたび「き」「か」「い」の読み仮名をキー
入力すると、キーボード21の変換キーの押下にしたがっ
て第4図(H)〜(J)に示すように「機会」,「奇怪」,
「機械」の順に対応の単語が表示器35の左画面に表示さ
れる。At this time, when the kana, "ka", and "i" phonetic alphabets are keyed in, the "opportunity" and "opportunity" are displayed as shown in FIGS. Bizarre ",
Corresponding words in the order of “machine” are displayed on the left screen of the display 35.
なお、第2の辞書30が第5図(B)に示す状態のときに、
「朝」および「昼」を順次選択すると、第2の辞書30の
状態は、第5図(C)に示す状態となる。すなわち、後で
選択された単語が先頭に記憶され、以前に選択された単
語は順次後方の位置に繰り下って記憶される。次に、
「夜」を選択すると、第2の辞書30の状態は、第5図
(D)に示す状態となる。すなわち、「よる」と「夜」と
が第2の辞書30の先頭の位置に記憶され、「ひる」
「昼」,「あさ」「朝」,「きかい」「機会」とは順次
後方の位置に記憶され、最後の位置にあった「きかい」
「奇怪」は失われることとなる。When the second dictionary 30 is in the state shown in FIG. 5 (B),
When “morning” and “daytime” are sequentially selected, the state of the second dictionary 30 becomes the state shown in FIG. 5 (C). That is, the word selected later is stored at the beginning, and the previously selected word is sequentially stored backward in the backward position. next,
If "night" is selected, the state of the second dictionary 30 is shown in FIG.
The state shown in (D) is obtained. That is, "yoru" and "night" are stored in the first position of the second dictionary 30, and "hiru" is stored.
"Day", "Asa", "Morning", "Kikai" and "Opportunity" are stored in the rear position in sequence, and the "Kikai" in the last position.
The "bizarre" will be lost.
なお、上述の本発明実施例では、第1の辞書25は読取専
用メモリ23に記憶されていたが、このメモリ23に代えて
他の記憶媒体、例えばフロッピーディスク等に記憶させ
てもよい。また、第1の辞書25は読取専用メモリ23に記
憶されている基本辞書(不図示)および書込可能メモリ
26に記憶されていて操作者が登録可能な登録辞書(不図
示)とによって構成されるようにしてもよい。Although the first dictionary 25 is stored in the read-only memory 23 in the above-described embodiment of the present invention, it may be stored in another storage medium such as a floppy disk instead of the memory 23. The first dictionary 25 is a basic dictionary (not shown) and a writable memory stored in the read-only memory 23.
It may be configured by a registration dictionary (not shown) stored in 26 and registerable by the operator.
また、本例では同音意義語の順位の決定を、第2の辞書
30に記憶されている順序を利用して暗黙的に行っていた
が、これに代えて、第2の辞書30に記憶されている順序
により得点を与え、この得点に他の評価手段の得点、例
えば選択された頻度情報や文法処理等により得点と加算
等の演算をほどこした結果によって同音意義語の順位を
決定してもよい。Further, in this example, the order of homonymous meaning words is determined by the second dictionary.
Although it was performed implicitly by using the order stored in 30, the score is given in the order stored in the second dictionary 30 instead, and the score of another evaluation means is added to this score. For example, the order of the homonymous meaning words may be determined based on the selected frequency information, the result of the calculation such as the score and the addition based on the grammar processing, and the like.
また、本例では第2の辞書30には読みおよび漢字のみを
記憶していたが、これらに加えて補助的な情報、例え
ば、文法情報等を記憶するようにしてもよい。また、本
例では第2の辞書30は固定長の逐次的な表構造を持って
いたが(第5図(A)〜(D)参照)、これに代えて他の構
造、例えば可変長の表構造、あるいは線形リストによる
表構造としてもよい。Further, in this example, the second dictionary 30 stores only readings and Chinese characters, but in addition to these, auxiliary information such as grammatical information may be stored. Further, in this example, the second dictionary 30 had a fixed length sequential table structure (see FIGS. 5A to 5D), but instead of this, another structure, for example, a variable length It may be a table structure or a table structure with a linear list.
また、本例では読みそのものを同音意義語メモリ28に格
納していないが、この読みを同音意義語メモリ28に格納
するようにしてもよい。また、読みメモリ27を独立させ
ずに、文字メモリ29と共用して使用するようにしてもよ
い。また、表示器35に同音意義語を表示中に、現在表示
中の同音意義語を一時的に文字メモリ29に格納するよう
にしてもよい。Further, in the present example, the reading itself is not stored in the homophone meaning word memory 28, but this reading may be stored in the homophone meaning word memory 28. Further, the reading memory 27 may be used in common with the character memory 29 instead of being independent. Further, while the same-sound meaning word is being displayed on the display 35, the same-sound meaning word currently being displayed may be temporarily stored in the character memory 29.
また、本例では読みおよび同音意義語の表示領域を、文
字メモリ29に格納されている文字の表示領域と区別して
分けていたが(第4図(A)〜(J)参照)、これに代えて他
の方法、例えば読みと、同音意義語および文字メモリ29
に格納されている文字とを区別せずに表示領域を共用す
るようにしてもよい。また、同時に複数の同音意義語が
同時に表示器35上に表示されるようにしてもよい。In this example, the reading and homophone meaning display areas are separated from the display areas of the characters stored in the character memory 29 (see FIGS. 4 (A) to (J)). Alternatively, other methods such as reading and homonym and character memory 29
The display area may be shared without distinguishing it from the characters stored in. Also, a plurality of homonymous meaning words may be simultaneously displayed on the display device 35.
さらに、第1図の変換指示手段3および選択指示手段11
は、専用のキーによるものに限定されず、他のいかなる
入力方式によるものであってもよい。一例をあげると、
同音意義語を表示器35に表示中に文字キーを入力と、選
択指示および文字入力の指示とが兼ねてできるようにし
てもよい。また、逐次的に変換あるいは選択を行わず
に、他の手順、例えば読みを先に全て入力し、後から変
換および選択を行なうようにし、あるいは変換のみを先
に行って同音意義語表示のまま、次の読みを入力し、後
から選択をするようにしてもよい。Furthermore, the conversion instruction means 3 and the selection instruction means 11 in FIG.
Is not limited to a dedicated key, but may be any other input method. For example,
It is also possible to input a character key while the homonym meaning word is being displayed on the display 35, and to perform both the selection instruction and the character input instruction. Also, instead of sequentially performing conversion or selection, other procedures, such as reading, may be entered first and conversion and selection may be performed later, or only conversion may be performed first and the homophone meaning word display remains. , The next reading may be input and the selection may be made later.
さらに、第1図の変換指示手段3および選択指示手段11
に他の付加的な指示機能を付加してもよい。一例をあげ
ると、選択指示手段11によって選択が指示され、それが
実行された後に他の読み、あるいは同音意義語のサーチ
が行われるようにしてもよい。Furthermore, the conversion instruction means 3 and the selection instruction means 11 in FIG.
Other additional indicating function may be added. As an example, the selection instructing means 11 may instruct the selection, and after the selection is executed, another reading or a search for a homonym meaning word may be performed.
また、本例では第2の辞書30に記憶されている単語が選
択されたときに、同じ単語が、順位の異なる複数の位置
に記憶されるように構成されていたが、これに代えて、
第2の辞書30に記憶されている単語が選択されたとき、
その単語は第2の辞書30の先頭の位置にのみに格納さ
れ、以前に記憶されていた当該単語は、もともと先頭の
位置に記憶されていたのでなければ、削除されるように
構成してもよい。Further, in the present example, when a word stored in the second dictionary 30 is selected, the same word is stored in a plurality of positions having different ranks, but instead of this,
When a word stored in the second dictionary 30 is selected,
The word is stored only in the first position of the second dictionary 30, and the previously stored word is deleted even if it was not originally stored in the first position. Good.
また、かな−漢字変換を行なう代わりに、ローマ字入力
によりローマ字−漢字変換、あるいはローマ字−かな−
漢字変換を行なうようにしてもよいのは勿論である、ま
た、漢字の候補が一つしかない場合は、同音意義語とし
て扱わずに、文字メモリ29に直接格納するようにしても
よい。また、同じ漢字の候補が複数、表示器35の表示画
面に現われないように処理手順を構成してもよい。Also, instead of performing kana-kanji conversion, input romaji to romaji-kanji or romaji-kana-
Needless to say, kanji conversion may be performed, and if there is only one kanji candidate, it may be directly stored in the character memory 29 without being treated as a homophone meaning word. Further, the processing procedure may be configured such that a plurality of candidates for the same Chinese character do not appear on the display screen of the display 35.
以上説明したように、本発明によれば、仮名漢字変換に
おける変換候補選択に際して、後から使用された単語ほ
ど優先の候補としつつ、未学習の単語も同時に選択肢と
して与えられるので、学習した単語を再度使用する場合
には、選択操作が簡単になるとともに、未学習の単語を
使用する場合にも、短い時間で必要な候補を得ることが
できる。As described above, according to the present invention, when selecting a conversion candidate in Kana-Kanji conversion, unlearned words are given as options at the same time, while words that have been used later are given priority as candidates. When it is used again, the selection operation becomes simple, and even when using an unlearned word, the necessary candidate can be obtained in a short time.
また、学習を行うためには、辞書の単語のうち学習され
た単語を記憶する学習単語辞書(第2の辞書)を設ける
ようにしたので、元の辞書(第1の辞書)の総単語数と
は無関係な少ない容量の記憶領域により、学習機能を実
現できる。Further, in order to perform learning, since a learning word dictionary (second dictionary) that stores learned words among the words in the dictionary is provided, the total number of words in the original dictionary (first dictionary) is set. A learning function can be realized by a small-capacity storage area that is unrelated to.
また、このようにして選択される単語が学習済か否かに
かかわらず、選択された単語は、学習単語の辞書中で重
複することなく、最高順位の候補として1つだけ記憶さ
れるようにしたので、学習済の単語を繰り返して使用し
ても、それらが独立に学習されることはない。従って、
同じ単語が優先の候補として複数個出現するという選択
操作上の不具合が解消でき、かつ限られた容量の学習単
語辞書に同一の単語の複数個が格納されるという効率の
悪いメモリ使用状況の発生が回避できるという効果があ
る。In addition, regardless of whether or not the word selected in this way has been learned, the selected word is stored in the dictionary of learned words without duplication, and only one is stored as the highest-ranked candidate. Thus, repeated use of learned words will not be learned independently. Therefore,
Inefficient memory usage occurs because the same word appears multiple times as a priority candidate in the selection operation, and more than one identical word is stored in the limited learning word dictionary. There is an effect that can be avoided.
また、本発明によれば学習機能の実現が辞書の物理的な
構成と無関係であるので、辞書を交換した場合でも、学
習機能に関連した情報を記憶する記憶領域の初期化が不
要となるので、操作性のすぐれた文字処理装置を簡潔に
構成することができる。Further, according to the present invention, since the implementation of the learning function is irrelevant to the physical configuration of the dictionary, even if the dictionary is exchanged, it is not necessary to initialize the storage area for storing the information related to the learning function. A character processing device having excellent operability can be simply configured.
第1図は本発明文字処理装置の全体構成図、 第2図は本発明文字処理装置の一実施例を示すブロック
図、 第3図は第2図の本発明装置による文字処理手順の一例
を示すフローチャート、 第4図(A)〜(J)はその文字処理時における表示器での順
次の表示状態を示す説明図、 第5図(A)〜(D)はその文字処理時における第2の辞書の
記憶領域の順次の記憶状態を示す説明図である。 1……読み入力手段、 2,27……読みメモリ、 3……漢字変換指示手段、 4,25……第1の辞書、 5,30……第2の辞書、 6,28……同音意義語メモリ、 7……評価手段、 8……漢字変換手段、 9……表示手段、 10,29……文字メモリ、 11……同音意義語選択指示手段、 12……同音意義語選択手段、 21……キーボード、 22……CPU、 23……読取専用メモリ(ROM)、 24……プログラムメモリ、 26……書込可能メモリ(RAM)、 35……表示器。1 is an overall configuration diagram of the character processing device of the present invention, FIG. 2 is a block diagram showing an embodiment of the character processing device of the present invention, and FIG. 3 is an example of a character processing procedure by the device of the present invention shown in FIG. 4A to 4J are explanatory diagrams showing sequential display states on the display unit during character processing, and FIGS. 5A to 5D are second diagrams during character processing. FIG. 8 is an explanatory diagram showing a sequential storage state of storage areas of the dictionary. 1 ... reading input means, 2,27 ... reading memory, 3 ... kanji conversion instruction means, 4,25 ... first dictionary, 5,30 ... second dictionary, 6,28 ... homogeneous meaning Word memory, 7 ... Evaluation means, 8 ... Kanji conversion means, 9 ... Display means, 10,29 ... Character memory, 11 ... Homophone meaningful word selection instruction means, 12 ... Homophone meaningful word selection means, 21 ...... Keyboard, 22 ... CPU, 23 ... Read-only memory (ROM), 24 ... Program memory, 26 ... Writable memory (RAM), 35 ... Display unit.
Claims (1)
と、 該第1の辞書から選択された単語の読みと表記とを対応
づけて記憶する第2の辞書と、 前記入力手段より入力された読みと一致する読みの単語
を、前記第2の辞書の高順位のものより順次検索し、続
いて第1の辞書より順次検索する検索手段と、 前記検索手段により検索された、入力された読みと一致
する読みの単語の表記を、検索された順に高い優先順位
で記憶するための候補記憶手段と、 該候補記憶手段に記憶された単語の表記を、優先順位に
従って順次表示する候補表示手段と、 該候補表示手段により表示された候補を選択する選択手
段と、 該選択手段により選択された単語が前記第2の辞書に記
憶されているか否かを判定する判定手段と、 前記選択手段により選択された単語の読みと表記を、前
記第2の辞書に最高の順位で記憶させるように制御する
第1の記憶制御手段と、 前記判定手段により記憶されていると判定されたとき
に、前記選択された単語の読みと表記を、前記第2の辞
書中で最高の順位に1つだけ記憶させるように制御する
第2の記憶制御手段とを具えることを特徴とする文字処
理装置。1. Corresponding input means for inputting a reading of a word, a first dictionary in which the reading and a notation of a word are associated and stored, and a reading and a notation of a word selected from the first dictionary. A second dictionary to be additionally stored, and words with a reading that matches the reading input by the input means are sequentially searched from the higher-ranked words in the second dictionary, and then sequentially searched from the first dictionary. Searching means, a candidate storing means for storing the readings of the reading words that match the input readings, searched by the searching means, in a descending order of priority, and stored in the candidate storing means. Candidate display means for sequentially displaying the notations of the selected words in accordance with the priority order, selection means for selecting the candidates displayed by the candidate display means, and the words selected by the selection means are stored in the second dictionary. Determine whether or not Determining means for controlling the reading and notation of the word selected by the selecting means so as to store the reading and notation of the word in the second dictionary at the highest rank; A second storage control means for controlling, when it is determined that the selected word is read and written, to store only one in the highest rank in the second dictionary. Character processing device characterized by.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59226837A JPH0638258B2 (en) | 1984-10-30 | 1984-10-30 | Character processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59226837A JPH0638258B2 (en) | 1984-10-30 | 1984-10-30 | Character processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61107462A JPS61107462A (en) | 1986-05-26 |
| JPH0638258B2 true JPH0638258B2 (en) | 1994-05-18 |
Family
ID=16851344
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59226837A Expired - Lifetime JPH0638258B2 (en) | 1984-10-30 | 1984-10-30 | Character processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0638258B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62286163A (en) * | 1986-06-05 | 1987-12-12 | Matsushita Electric Ind Co Ltd | Character processor |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS554663A (en) * | 1978-06-27 | 1980-01-14 | Fujitsu Ltd | Character row conversion processor |
| JPS55143648A (en) * | 1979-04-26 | 1980-11-10 | Canon Inc | Character processor |
-
1984
- 1984-10-30 JP JP59226837A patent/JPH0638258B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61107462A (en) | 1986-05-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0210982B2 (en) | ||
| JPH0117185B2 (en) | ||
| JPS59132029A (en) | Kana-kanji conversion device | |
| JPH0638258B2 (en) | Character processor | |
| JPS6054032A (en) | Character input device | |
| US4955734A (en) | Information processing apparatus | |
| JPS6010348B2 (en) | Automatic conversion method for half-width and full-width characters | |
| JPH0115906B2 (en) | ||
| JPS5814688B2 (en) | Kanji-mixed sentence input device that sequentially displays homophones | |
| JPH0565898B2 (en) | ||
| JPS60129874A (en) | Japanese character input device | |
| JPS59100941A (en) | Kana-kanji conversion device | |
| JP2575650B2 (en) | Kana-Kanji conversion device | |
| JPS646498B2 (en) | ||
| JPS5836368B2 (en) | Kanji-mixed sentence creation device with dictionary registration function | |
| JPS62260266A (en) | Kana/kanji converting system | |
| JPH0148581B2 (en) | ||
| JP2001117924A (en) | Electronic dictionary | |
| JPS6263366A (en) | Searching system for unwritten part in word processor | |
| JPS5951015B2 (en) | document creation device | |
| JPH0640330B2 (en) | Chinese input method | |
| JPH05189439A (en) | Device and method for document preparation | |
| JPS5814689B2 (en) | Kanji-mixed sentence input device that sequentially displays homonyms | |
| JP3042437B2 (en) | How to display conversion candidates for reading input character strings | |
| JPS60103389A (en) | character processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |