JPS6298455A - Character string processor - Google Patents

Character string processor

Info

Publication number
JPS6298455A
JPS6298455A JP60237536A JP23753685A JPS6298455A JP S6298455 A JPS6298455 A JP S6298455A JP 60237536 A JP60237536 A JP 60237536A JP 23753685 A JP23753685 A JP 23753685A JP S6298455 A JPS6298455 A JP S6298455A
Authority
JP
Japan
Prior art keywords
candidate
character string
displayed
candidates
input
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
JP60237536A
Other languages
Japanese (ja)
Inventor
Yoshio Yagi
八木 芳夫
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP60237536A priority Critical patent/JPS6298455A/en
Publication of JPS6298455A publication Critical patent/JPS6298455A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To select and display plural converted character strings by storing one outer mark of the second character string, also storing a data for indicating a candidate to be displayed and a data for indicating the like liest candidata among the candidates to be displayed, and generating a candidate to be displayed, from the indicated data. CONSTITUTION:From an input device 2, a reading input which is generated in reaction to a scan of a reading character key is inputted, and also an instruction by a conversion key for instructing a KANA (Japanese syllabary) to KANJI (Chinese character) conversion, and an instruction by a candidate selecting key for selecting one candidate from in plural displayed candidates are inputted. These inputs are sent to an input data buffer through a key input taking-in part 4. A conversion key detecting part 8 detects whether an instruction of the KANA to KANJI conversion by the conversion key exists in an input from the input data buffer 6 or not, and in case when the instruction exists, read-out from a dictionary 12 is executed by a dictionary read-out part 10, and in case when no instruction exists, an input data of a KANA character is outputted to an input data output part 18. The input data output part 18 outputs the input data of the KANA character to a display memory 20.

Description

【発明の詳細な説明】 技術分野 本発明は文字列処理装置、とくに、たとえば日本語ワー
ドプロセッサ、メモリ伺タイプライタ、オフィスコンピ
ュータ、翻訳機械など、ある入力文字列からそれに対応
する他の文字夕1を導出して出力する文字列処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a character string processing device, particularly a Japanese word processor, a memory typewriter, an office computer, a translation machine, etc., which converts an input character string into a corresponding character string. This invention relates to a character string processing device that derives and outputs character strings.

従来技術 たとえば日本語ワードプロセッサなどにおいて広く採用
されている1゛仮名漢字変換」方式では、入力文7夕1
から!′t¥語中位語中線文m rrt−位で変換文字
列を生成する方式がある。入力された読み文字列に対応
する漢字仮名混じり文字列は送り仮名の付は方により、
複数種類存在する場合がある。たとえば入力文字列とし
て「うけつけ」を入力し、仮名漢字変換すると、漢字仮
名混じり文字列の候補として「受付」 「受付け」 「
受は付け」が存在する。日本語においては、このように
送り仮名を付けるものと付けないものとを使い分けるこ
とが多くある。
Conventional technology For example, in the 1 Kana-Kanji conversion method widely adopted in Japanese word processors, the input sentence 7 and 1
from! There is a method of generating a converted character string at 't\ word middle word middle line sentence m rrt- position. The kanji-kana mixed character string that corresponds to the input reading character string depends on the way the okurikana is added.
There may be multiple types. For example, if you enter "uketsuke" as an input string and convert it to kana-kanji, the candidates for the string containing kanji and kana will be "reception", "reception", and "reception".
There is a "Ukeha Tsuke". In Japanese, okurikana is often used differently in this way, with or without okurigana.

従来は、このような送り仮名の違いによる複数の漢字仮
名混じり文字列の候補のすべてを、内部メモリや外部記
憶に格納されている辞書に登録しておく必要があった。
Conventionally, it has been necessary to register all of the candidates for a plurality of character strings containing kanji and kana based on different okurikana in a dictionary stored in internal memory or external storage.

したがって辞書の容量が大きくなる欠点があった。Therefore, there is a drawback that the dictionary has a large capacity.

この欠点を解消するため、複数の漢字仮名混じり文字列
の候補の1つの表記と、この1つの表記から他の候補を
作成するためのデータを辞書に登録しておくことが考え
られる。しかしこのようにした場合には複数の漢字仮名
混じり文字列の候補を表示することはできるが、最有力
候補を記憶する学習機能をもたせることができない欠点
がある。
In order to solve this drawback, it is conceivable to register in a dictionary one notation of a candidate for a plurality of character strings containing kanji and kana, and data for creating other candidates from this one notation. However, in this case, although a plurality of candidates for character strings containing kanji and kana can be displayed, there is a drawback that a learning function for memorizing the most likely candidates cannot be provided.

目   的 本発明はこのような欠点を解消し、大きい容量の辞書を
有することなく、複数の変換文字列を選択して表示する
ことができ、かつ最有力候補の文字列を表示することが
できる文字列処理装置を提供することを目的とする。
Purpose The present invention solves these drawbacks, and makes it possible to select and display a plurality of converted character strings without having a large-capacity dictionary, and to display the most likely candidate character string. The purpose is to provide a character string processing device.

構  成 本発明は−1−記の目的を達成させるため、第1の文字
列および指示を入力する入力手段と、第1の文字列に対
応する第2の文字列の候補を記憶する記憶手段と、入力
手段から入力された第1の文字列に対応する第2の文字
列の候補を記憶手段から読み出す候補索出手段とを有す
る文字夕1処理装置において、記憶手段は、第2の文字
列の1つの表記を記憶するとともに、表示される候補を
指示するデータおよび表示される候補のうち最有力候補
を指示するデータを記憶し、装置はさらに、記憶手段か
ら読み出された1つの表記および表示される候補を指示
するデータから表示すべき候補を作成する候補処理手段
と、候補処理手段により作成された候補のうち最有力候
補を最有力候補を指示するデータにより作成する最有力
候補処理手段とを有することを特徴としたものである。
Structure In order to achieve the object stated in -1-, the present invention includes an input means for inputting a first character string and an instruction, and a storage means for storing a second character string candidate corresponding to the first character string. , candidate retrieval means for reading out candidates for a second character string corresponding to the first character string inputted from the input means from the storage means, wherein the storage means is configured to retrieve candidates for the second character string corresponding to the first character string inputted from the input means; The device further stores one notation read from the storage means and data instructing a candidate to be displayed and data instructing a most likely candidate among the candidates to be displayed. Candidate processing means for creating candidates to be displayed from data instructing candidates to be displayed, and most likely candidate processing means for creating the most likely candidate among the candidates created by the candidate processing means from data instructing the most likely candidate. It is characterized by having the following.

以下、本発明の一実施例にノ^づいて囲体的に説明する
Hereinafter, one embodiment of the present invention will be described in detail.

第1図を参照すると、本発明を仮名漢字変換処理装置に
適用した実施例が概念的機能ブロック図にて示されてい
る。
Referring to FIG. 1, an embodiment in which the present invention is applied to a kana-kanji conversion processing device is shown in a conceptual functional block diagram.

同図に示すように本実施例は、キーボードなどの入力装
置2を有する。入力装置2は、本実施例では仮名文字を
入力する文字キーと、仮名漢字変換の結果得られた候補
漢字の表示を指示する変換キーと、表示された複数の候
補漢字の中から1つを選択する候補選択キーとを有する
As shown in the figure, this embodiment has an input device 2 such as a keyboard. In this embodiment, the input device 2 includes a character key for inputting a kana character, a conversion key for instructing display of a candidate kanji obtained as a result of kana-kanji conversion, and a key for selecting one of the displayed candidate kanji. and a candidate selection key for selection.

本装置はまた表示装置24を有し、これは、たとえばC
RT文字表示装置でよく、本システムに入力された読み
文字列、仮名漢字変換された変換結果の文字列、選択さ
れた候補漢字などが可視表示される。
The device also has a display 24, which can be displayed, for example by C.
An RT character display device may be used, and the reading character string input into this system, the character string resulting from the kana-kanji conversion, the selected candidate kanji, etc. are visually displayed.

本装置はまた辞書12を有し、これは、仮名漢字変換の
際、索引される変換辞書データが格納されたファイル記
憶装置であり、たとえば、RAM、ROMなどの内部メ
モリや、固定ディスク、フロッピーディスクなどの外部
記憶装置を使用してよい。第1図に示された」1記以外
の要素は、マイクロプロセッサなどの処理システムによ
って右利に構成され、同図ではその機能別にブロックで
示されている。
The device also has a dictionary 12, which is a file storage device in which conversion dictionary data to be indexed during kana-kanji conversion is stored, such as an internal memory such as RAM or ROM, a fixed disk, or a floppy disk. External storage devices such as disks may be used. Elements other than item 1 shown in FIG. 1 are constructed by a processing system such as a microprocessor, and are shown in blocks according to their functions in the figure.

入力装置2からは、読み文字キーの走査に応動して発生
する読み入力が入力され、また、仮名漢字変換を指示す
る変換キーによる指示、さらに表示ごれた複数の候補の
中から1つの候補を選択する候補選択キーによる指示が
入力される。これらの入力は、キー人力取り込み部4を
通して入力データバッフγBに送られる。
From the input device 2, the reading input generated in response to the scanning of the reading character key is input, as well as an instruction using the conversion key to instruct kana-kanji conversion, and one candidate from among the displayed candidates. An instruction using a candidate selection key to select is input. These inputs are sent to the input data buffer γB through the key input input unit 4.

変換キー検出部8は入カデータパッファ6からの入力に
変換キーによる仮名漢字変換の指示があるか否かを検出
し、指示がある場合には辞書読み出し部IOに辞書12
からの読み出しを行わせ、指示がない場合には入力デー
タ出力部18に仮名文字の人力データを出力する。人力
データ出力部18は仮名文字の入力データを表示メモリ
20に出力する。
The conversion key detection section 8 detects whether or not there is an instruction for kana-kanji conversion using a conversion key in the input from the input data puffer 6, and if there is an instruction, the dictionary reading section IO sends the dictionary 12 to the dictionary reading section IO.
If there is no instruction, manual data of kana characters is output to the input data output unit 18. The human data output unit 18 outputs input data of kana characters to the display memory 20.

辞書読み出し部10は変換キー検出部8において仮名漢
字変換の指示が検出された場合に、入力データパックァ
6からの読みデータにより辞書12の内部アドレスすな
わち物理的なアドレスを生成し、辞書12に対してその
読みデータに対応する漢字の索出を要求する。
When the conversion key detection unit 8 detects a kana-kanji conversion instruction, the dictionary reading unit 10 generates an internal address, that is, a physical address, of the dictionary 12 based on the reading data from the input data packer 6, and inputs the internal address to the dictionary 12. It requests the search for the kanji corresponding to the reading data.

辞書12には、第2図に示すように各アドレスの記憶位
置に、読みに対応する漢字および送り仮名の複数の候補
のうちの1つの表記、他の表記を表示するためのフラグ
、最有力の候補を表示するためのフラグが登録されてい
る。
In the dictionary 12, as shown in FIG. 2, at the storage location of each address, there is one representation of a plurality of candidates for the kanji and okurikana corresponding to the reading, a flag for displaying other representations, and the most likely representation. A flag has been registered to display candidates.

例えば「うけつけ」という読みに対しては、「受は付け
」 「受付け」 「受付」という3種類の送り仮名があ
るが、辞書12には第2図に示すように「うけつけ」と
いう読み、上記3種類のうち「受は付け」という表記、
他の表記および最有力の候補を表示するためのたとえば
5ビットのフラグ、品詞情報その他が登録されている。
For example, for the reading ``uketsuke,'' there are three types of okurikana: ``ukewatsuke,''``reception,'' and ``reception.'' However, as shown in Figure 2, the dictionary 12 has the reading ``uketsuke,'' and the above. Of the three types, the notation “Ukeha Tsuke”,
For example, a 5-bit flag, part-of-speech information, etc. for displaying other notations and the most likely candidates are registered.

5ビットのフラグは、「受は付け」という表記から他の
表記を作成するための3ビットのフラグと、複数の表記
の中から最有力の表記を指示するための2ビットのフラ
グからなる。
The 5-bit flag consists of a 3-bit flag for creating another notation from the notation "receiving" and a 2-bit flag for indicating the most likely notation from among multiple notations.

辞書12には」1記3種類の送り仮名をすべて登録する
のではなく、本実施例ではそのうち最も送り仮名の多く
つけられた「受は付け」という表記のみを登録し、他の
送り仮名は−に記3ビットのフラグにより表示する。
In the dictionary 12, instead of registering all of the three types of okurikana listed in 1., in this embodiment, only the notation ``Uke wa Tsuke'', which has the most okurigana, is registered, and the other okurikana are - It is indicated by the 3-bit flag shown below.

3ビットのフラグによる表示は例えば表1に示すように
される。
The display using 3-bit flags is shown in Table 1, for example.

表1 3ビットのフラグbito〜2がすべて0のときには表
記の通り表示する。すなわち、「受は付け」と表示する
。3ビットのフラグのうちbitOが1のときは、表記
の通り送り仮名を全部つけたもの、すなわち「受は付け
」を表示する。bitlが1のときは、漠字間の送り仮
名を全部とったもの、すなわち「受付け」を表示する。
Table 1 When the 3-bit flag bito~2 is all 0, it is displayed as shown. In other words, it is displayed as "Uke wa Tsuke". When bitO of the 3-bit flag is 1, all okurikana are added as shown, that is, "Uke wa Tsuke" is displayed. When bitl is 1, all the okurikana between the blank characters are removed, that is, "reception" is displayed.

bit2が1のときは、送り仮名を全部とったもの、す
なわち「受付」を表示する。
When bit 2 is 1, all okurikana characters are removed, that is, "reception" is displayed.

したがって例えば表2に示すように表示する。Therefore, it is displayed as shown in Table 2, for example.

表2 bit O〜2がすべてlのときには上記の3種類の送
り仮名の全部を候補として表示する。すなわち、「受は
伺け」 「受付け」 「受付」を表示する。また、bi
t OがOであり、bit l と 2が1のときには
漢字間の送り仮名をとったものおよび送り仮名を全部と
ったものを候補として表示する。
Table 2 When bits O to 2 are all l, all of the three types of okurikana described above are displayed as candidates. In other words, ``Uke wa Ikeke'', ``Reception'', and ``Reception'' are displayed. Also, bi
When tO is O and bits 1 and 2 are 1, candidates are displayed that have okrigana between kanji characters and those that have all okurikana.

すなわち、「受付け」 「受付」を候補として表示する
That is, "reception" and "reception" are displayed as candidates.

送り仮名処理部I4では、このように辞書12から読み
出した1つの表記と3ビットのフラグから1つまたは複
数の送り仮名を作成する送り仮名処理を行い、候補出力
部16に送る。候補出力部16は、送り仮名処理部14
から送られた送り仮名の候補を表示メモリ20に送る。
The okurikana processing section I4 performs okurikana processing to create one or more okurikana from one notation read from the dictionary 12 and the 3-bit flag, and sends them to the candidate output section 16. The candidate output unit 16 is the okurikana processing unit 14
The candidates for the okurikana sent from are sent to the display memory 20.

最有力候補処理部26は送り仮名処理部14において作
成された複数の送り仮名の表記から最有力の候補を表示
する処理を」−記2ビットのフラグにより行う。2ピツ
I・のフラグによる表示は例えば表3に示すようにされ
る。
The most likely candidate processing unit 26 displays the most likely candidate from the plurality of okurikana notations created in the okurikana processing unit 14 using a 2-bit flag. The display by the flag of 2-pitsu I is as shown in Table 3, for example.

表3 2ビットのフラグbit3.4がいずれも0のときには
最有力候補を表示しない。すなわち、学習機能として最
有力候補とするものを表示しない。
Table 3: When the 2-bit flag bits 3 and 4 are both 0, the most likely candidate is not displayed. In other words, the learning function that is the most likely candidate is not displayed.

bit3が1で、bit4が0のときには、送り仮名を
全部つけたもの、すなわち「受は付け」を最有力候補と
して表示する。bit3が0で、bit4が 1のとき
には、漢字間の送り仮名を全部とったもの、すなわち「
受付け」を最有力候補として表示する。
When bit 3 is 1 and bit 4 is 0, the most likely candidate is displayed with all okurikana added, that is, ``Uke wa Tsuke''. When bit 3 is 0 and bit 4 is 1, all okurigana between kanji are removed, that is, "
"Reception" is displayed as the most likely candidate.

bit3、bit4がいずれも lのときには、送り仮
名を全部とったもの、すなわち「受付」を最有力候補と
して表示する。このように2ビットのフラグにより最有
力候補を表示する。
When bit 3 and bit 4 are both l, the most likely candidate is displayed with all the okurikana characters removed, that is, "reception". In this way, the most likely candidate is displayed using a 2-bit flag.

したがって5ビットのフラグが例えば bit 43210=01111 である場合には、「受はイ4け」、「受付け」、「受付
」を全部候補として表示し、かつ「受は付け」を最有力
候補として選択する。
Therefore, if the 5-bit flag is, for example, bit 43210 = 01111, "Ukeha I4ke", "Reception", and "Reception" are all displayed as candidates, and "Ukeha Tsuke" is displayed as the most likely candidate. select.

最有力候補処理部26はこのように送り仮名処理部14
において作成された複数の送り仮名の表記から最有力の
候補を表示する処理を行い、最有力候補出力部28に送
る。最有力候補出力部28は、最有力候補処理部26か
ら送られた送り仮名の最有力候補を表示メモリ20に送
る。
The most likely candidate processing unit 26 processes the sending kana processing unit 14 in this way.
Processing is performed to display the most likely candidate from the plurality of okurikana notations created in , and the most likely candidate is sent to the most likely candidate output section 28 . The most likely candidate output unit 28 sends the most likely candidate for the kana to be sent from the most likely candidate processing unit 26 to the display memory 20.

候補選択キー検出部30は、入力データバッファ6から
の入力に候補選択キーによる候補選択の指示があるか否
かを検出し、指示がある場合には表示メモリ20に記憶
されている複数の送り仮名の候補のうち候補選択キーに
より選択された候補以外の候補を消去するとともに、候
補選択キーにより選択された候補を辞書12に最有力候
補として登録する。すなわち、」−記の2ビットのフラ
グを書きかえる。
The candidate selection key detection unit 30 detects whether or not there is an instruction to select a candidate using a candidate selection key in the input from the input data buffer 6, and if there is an instruction to select a candidate using a candidate selection key, the Among the kana candidates, candidates other than the one selected by the candidate selection key are deleted, and the candidate selected by the candidate selection key is registered in the dictionary 12 as the most likely candidate. That is, the 2-bit flag marked "-" is rewritten.

表示メモリ20は入力データ出力部18からの入力デー
タ、候補出力部16からのデータおよび最有力候補出力
部28からのデータを記憶し、表示回路22を通して表
示装置24に送る。
The display memory 20 stores input data from the input data output section 18, data from the candidate output section 16, and data from the most likely candidate output section 28, and sends them to the display device 24 through the display circuit 22.

動作を説明する。Explain the operation.

入力装置2から読みが入力される。たとえば「うけつけ
」と入力される。この入力はキー人力取り込み部4から
入力データバッファ6に送られる。入力データバッファ
6からの入力データは、変換キー検出部8において変換
キーによる入力があるか否かを検出し、変換キーによる
入力がない場合には入力データ、すなわち「うけつけ」
を入力データ出力部18に送る。入力データ出力部18
に送られた入力データ「うけつけ」は表示メモリ20に
格納される。
The reading is input from the input device 2. For example, "uketsuke" is input. This input is sent from the key manual input section 4 to the input data buffer 6. The input data from the input data buffer 6 is detected by the conversion key detection unit 8 as to whether or not there is an input using the conversion key.If there is no input using the conversion key, the input data is input data, that is, "receive".
is sent to the input data output section 18. Input data output section 18
The input data "receipt" sent to is stored in the display memory 20.

変換キー検出部8において変換キーによる入力があるこ
とを検出した場合には、辞書読み出し部lOに入力デー
タを送り、辞書読み出し部10は辞書12から入力され
た読みデータに対応する漢字の案出を行う。辞書12か
らは前述のように1種類の表記と、5ビットのフラグの
情tυを読み出す。この例の場合には、「受は伺け」と
いう表記と5ビットのフラグの情報を読み出す。
When the conversion key detection unit 8 detects that there is an input using the conversion key, the input data is sent to the dictionary reading unit 10, and the dictionary reading unit 10 generates a kanji corresponding to the reading data input from the dictionary 12. I do. As described above, one type of notation and the 5-bit flag information tυ are read from the dictionary 12. In this example, the notation "Uke wa ikike" and 5-bit flag information are read out.

5ビットのフラグのうち3ビットのフラグには他の表記
を含めた送り仮名の候補を作成するためのデータが示さ
れ、2ビットのフラグには例えば最も最近に使用された
送り仮名を最有力候補として表示する情報が示されてい
る。
Of the 5-bit flags, 3-bit flags indicate data for creating okurikana candidates including other notations, and 2-bit flags indicate, for example, the most recently used okurikana. Information to be displayed as candidates is shown.

辞書読み出し部10により辞書12から読み出された1
種類の表記と、3ビットのフラグは、送り仮名処理部1
4に送られ、送り仮名処理部14において表示装置24
に表示すべき送り仮名の表記の候補が作成される。この
送り仮名の処理について第3A図に示すフロー図により
説明する。
1 read out from the dictionary 12 by the dictionary reading unit 10
The notation of the type and the 3-bit flag are shown in the okurikana processing section 1.
4, and is sent to the display device 24 in the sending kana processing section 14.
Candidates for the okurigana notation to be displayed are created. This okurikana processing will be explained with reference to the flowchart shown in FIG. 3A.

フラグの3つのビットbito〜2のすべてがOである
か否かを検出しく1oo) 、すべてが0のときは表記
の通り、すなわち「受は付け」という表示を候補として
候補出力部IBに出力しく114) 、送り仮名処理を
終了する。3つのピッ)bitQ〜2の中にOでないも
のがあるときは、最初のビットbit Oが1であるか
否かを判断し、lであるときは表記の通り送り仮名を全
部つけたもの、すなわち「受は付け」という表示を候補
として候補出力部16に出力する(104)。1でない
ときは何もしないでステップ106に進む。
Detect whether or not all three bits bits ~ 2 of the flag are O (1oo), and if all are 0, output as indicated, that is, "acceptance accepted" as a candidate to the candidate output unit IB. 114), the sending kana processing ends. If any of the three bits (bits Q~2) is not O, judge whether the first bit O is 1 or not, and if it is l, add all the okurigana as shown, That is, the display ``Reception is accepted'' is output as a candidate to the candidate output unit 16 (104). If it is not 1, do nothing and proceed to step 106.

次に2番目のピッ)bitlが1であるか否かを判断し
く10f() 、  lであるときは漢字間の仮名を全
部とったもの、すなわち「受付け」という表示を候補と
して候補出力部1Bに出力する(ioa)。1でないと
きは何もしないでステップ110に進む。次に3番目の
ビットbit2が1であるか否かを判断しく110) 
、  1であるときは送り仮名を全部とったもの、すな
わち「受付」という表示を候補として候補出力部16に
出力する(112)。■でないときは何もしないで送り
仮名処理を終了する。
Next, it is judged whether the second bitl is 1 or not (10f()). If it is l, the candidate output section 1B takes all the kana between the kanji characters, that is, the display of "reception" as a candidate. (ioa). If it is not 1, do nothing and proceed to step 110. Next, determine whether the third bit bit2 is 1 (110)
, 1, the one with all the okurikana removed, that is, the display of "reception" is output as a candidate to the candidate output unit 16 (112). ■If not, do nothing and end the Okukana processing.

このようにして、辞書12に登録された1つの表記から
送り仮名の表示の候補を作成する。候補出力部16はこ
の表示を表示メモリ20に送る。表示回路22は表示メ
モリ20に格納されている読みの入力データ、すなわち
「うけつけ」という表示と、送り仮名の候補の表示、例
えば「受付」という表示の一方または双方を表示装置2
4に送り、表示装置24には表示メモリ20から送られ
たデータが表示される。
In this way, candidates for displaying okurigana are created from one notation registered in the dictionary 12. The candidate output unit 16 sends this display to the display memory 20. The display circuit 22 displays one or both of reading input data stored in the display memory 20, that is, a display of "uketsuke" and a display of okurikana candidates, for example, a display of "reception."
4, and the data sent from the display memory 20 is displayed on the display device 24.

表示装置24の漢字候補を表示する領域(図示せず)に
候補の送り仮名をすべて表示する場合には、前記のよう
にして複数の送り仮名の候補を表示する。たとえば3つ
のピッ)bitO〜2のすべてを1として「受は付け」
 「受付け」 「受付」という3種類の候補を表示する
。送り仮名が2種類だけの漢字の場合には例えばbit
 Oと 1を1とし、bit 2をOとして2種類の送
り仮名を表示すればよい。
When displaying all candidate okurikana in the area (not shown) for displaying kanji candidates on the display device 24, a plurality of okurikana candidates are displayed as described above. For example, if all 3 bits) bitO~2 are set to 1, "Uke is attached"
Three types of candidates are displayed: "Reception" and "Reception". If there are only two types of kanji, for example, bit.
Two types of okurigana can be displayed by setting O and 1 to 1 and bit 2 to O.

次に最有力候補を選択する処理についてf53B図に示
すフロー図により説明する。
Next, the process of selecting the most likely candidate will be explained with reference to the flowchart shown in figure f53B.

フラグの2つのピッ)bit3.4がいずれもOである
か否かを判断しく11B) 、いずれもOのときはいず
れの候補も最有力候補としない(118)。すなわち、
学習機能によっては−1−記のステップlOO〜114
の送り仮名の処理により表示された複数の表記の候補の
いずれも最有力候補としない。
It is determined whether or not the two bits 3 and 4 of the flag are both O (11B), and when both are O, none of the candidates is determined as the most likely candidate (118). That is,
Depending on the learning function, steps lOO to 114 in -1-
None of the multiple notation candidates displayed by the processing of the okurikana is selected as the most likely candidate.

bit 3 、4にOでないものがあるときには、bi
t3が 1でbit4が 0であるか否かを判断しく1
20) 、 bit3=1かつbit4=0のときには
送り仮名を全部つけたものを最有力候補として表示する
(122)。bit3=1かつbit←0でないときに
は、bit3=0かつbit4=1であるか否かを判断
しく124) 、bit3=0かつbit4=1である
ときには、漢字間の仮名を全部とったものを最有力候補
として表示する(12B)。
When bits 3 and 4 are not O, bit
Please judge whether t3 is 1 and bit4 is 0.
20) When bit3=1 and bit4=0, the one with all the okurikana added is displayed as the most likely candidate (122). When bit 3 = 1 and bit ← is not 0, judge whether bit 3 = 0 and bit 4 = 1 (124), and when bit 3 = 0 and bit 4 = 1, remove all kana between kanji. Displayed as a likely candidate (12B).

bit3=0かつbit4=1でないときには、仮名を
全部とったものを最有力候補として表示する(12B)
When bit3=0 and bit4=1, display the one with all kana removed as the most likely candidate (12B)
.

このようにして最有力候補を選択し表示装置24に表示
する。
In this way, the most likely candidate is selected and displayed on the display device 24.

次に操作者が候補選択キーにより候補を選択した場合の
処理について、第3C図に示すフロー図により説明する
Next, the process when the operator selects a candidate using the candidate selection key will be explained with reference to the flowchart shown in FIG. 3C.

キーによる入力を待ち(200) 、入力があった場合
には候補選択キー検出部30により候補選択キーによる
入力か否かを検出する(202)。キーによる入力がな
い場合にはステップ200に戻り、再びキーによる人力
を待つ。候補選択キーによる入力でない場合にはこの処
理は終了する。
It waits for an input using a key (200), and if there is an input, the candidate selection key detection unit 30 detects whether or not the input is from a candidate selection key (202). If there is no input using the keys, the process returns to step 200 and waits for manual input using the keys again. If the input is not by the candidate selection key, this process ends.

候補選択キーによる入力の場合には、選択した候補を表
示メモリ20に格納し、表示メモリ20に格納されてい
る他の候補を消去する(204)。さらに、選択した候
補が送り仮名を全部つけたものであるか否かを判断しく
2013) 、送り仮名を全部つけたものである場合に
はフラグのbit3.4をbit3=1. bit4=
0に書きかえる(208.)。送り仮名を全部つけたも
のでない場合には何もしないでステップ210に進む。
In the case of input using the candidate selection key, the selected candidate is stored in the display memory 20, and other candidates stored in the display memory 20 are deleted (204). Furthermore, it is determined whether the selected candidate has all the okuri kana added (2013), and if it has all the okurigana added, bit 3.4 of the flag is set to bit 3=1. bit4=
Rewrite to 0 (208.). If not all the okurikana have been added, the process proceeds to step 210 without doing anything.

次に選択した候補が漢字間の送り仮名を全部とったもの
であるか否かを判断しく210) 、 9字間の送り仮
名を全部とったものである場合にはフラグのbit3.
4をbit3=o、bit4=1に書きかえる(212
)。漢字間の送り仮名を全部とったものでない場合には
伺もしないでステップ214に進む。
Next, it is determined whether or not the selected candidate takes all the Okurigana between kanji (210), and if it takes all the Okurigana between 9 characters, bit 3 of the flag is selected.
Rewrite 4 to bit3=o, bit4=1 (212
). If all the okurigana between kanji are not included, the process proceeds to step 214 without even asking.

次に選択した候補が送り仮名を全部とったものであるか
否かを判断しく214) 、送り仮名を全部とったもの
である場合にはフラグのbit3.4をbit3=I、
bit4=1に書きかえる(21[()。送り仮名を全
部とったものでない場合には何もしないで終了する。
Next, it is determined whether the selected candidate has all the okuri kana (214), and if it has all the okurikana, set bit 3.4 of the flag to bit 3=I,
Rewrite bit 4 = 1 (21 [(). If all okurigana are not removed, do nothing and end.

本実施例によれば、辞書12に1種類の表記と5ビット
のフラグを登録し、5ビットのフラグのうち3ビットの
フラグにより3種類の送り仮名の表記を作成して表示す
る。したがって従来のように辞書12に3種類の表記の
全部を登録するものと比較して辞書12の容量を小ごく
することができる。
According to this embodiment, one type of notation and a 5-bit flag are registered in the dictionary 12, and three types of okurikana notations are created and displayed using 3-bit flags among the 5-bit flags. Therefore, the capacity of the dictionary 12 can be reduced compared to the conventional method in which all three types of expressions are registered in the dictionary 12.

また、2ビットのフラグにより最有力候補を表示し、こ
の表示する最有力候補は操作者の選択に基づく学習によ
り最近に使用されたものに書きかえることができる。
Further, the most likely candidate is displayed using a 2-bit flag, and the displayed most likely candidate can be replaced with a recently used one through learning based on the operator's selection.

効  果 本発明によれば、第1の文字列に対応する第2の文字列
の候補が複数ある場合に、そのうちの1つの表記と他の
候補を作成するためのデータを記憶手段に記憶しておく
ことにより、必要な候補を選択して作成することができ
るから、記憶手段の容量を小さくすることができる。
Effects According to the present invention, when there are multiple candidates for the second character string corresponding to the first character string, the notation for one of them and data for creating other candidates are stored in the storage means. By storing the information in advance, necessary candidates can be selected and created, and the capacity of the storage means can be reduced.

また、記憶手段に記憶されたデータにより学習された最
有力候補を表示することができる。
Furthermore, the most likely candidates learned from the data stored in the storage means can be displayed.

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

951図は、本発明を漢字仮名変換処理装置に適用した
実施例を概介的に示す機能ブロック図、第2図は、第1
図の辞書に登録される内容の一例を示す図、 第3A図は、第1図に示す装置の送り仮名の処理のフロ
ーを示すフロー図、 第3B図は、W第1図に示す装置の最有力候補の選択の
フローを示すフロー図、 第3C図は、第1図に示す装置の候補選択キーの操作に
よる処理のフローを示すフロー図である。 主要部分の符号の説明 210.入力装置 801.変換キー検出部 10、、、辞書読み出し部 +2.、、辞書 14、、、送り仮名処理部 1B、、、候補出力部 24、、、表示装置 2B、、、最有力候補処理部 2B、、、最有力候補出力部 30、、、候補選択キー検出部
FIG. 951 is a functional block diagram schematically showing an embodiment in which the present invention is applied to a kanji-kana conversion processing device, and FIG.
FIG. 3A is a flowchart showing the processing flow of the okurikana processing in the device shown in FIG. Flowchart Showing Flow of Most Promising Candidate Selection FIG. 3C is a flowchart showing the flow of processing performed by operating the candidate selection key of the device shown in FIG. Explanation of symbols of main parts 210. Input device 801. Conversion key detection unit 10, . . . dictionary reading unit +2. ,,Dictionary 14, ,Forward kana processing unit 1B, ,Candidate output unit 24, ,Display device 2B, ,Most likely candidate processing unit 2B, ,Most likely candidate output unit 30, ,Candidate selection key detection. Department

Claims (1)

【特許請求の範囲】 1、第1の文字列および指示を入力する入力手段と、 第1の文字列に対応する第2の文字列の候補を記憶する
記憶手段と、 前記入力手段から入力された第1の文字列に対応する第
2の文字列の候補を前記記憶手段から読み出す候補索出
手段とを有する文字列処理装置において、 前記記憶手段は、前記第2の文字列の1つの表記を記憶
するとともに、表示される候補を指示するデータおよび
該表示される候補のうち最有力候補を指示するデータを
記憶し、 該装置はさらに、前記記憶手段から読み出された前記1
つの表記および前記表示される候補を指示するデータか
ら表示すべき候補を作成する候補処理手段と、 該候補処理手段により作成された候補のうち最有力候補
を前記最有力候補を指示するデータにより作成する最有
力候補処理手段とを有することを特徴とする文字列処理
装置。 2、特許請求の範囲第1項記載の装置において、前記第
1の文字列が仮名であり、前記指示が仮名漢字変換のた
めの指示であり、前記第2の文字列が漢字と送り仮名か
らなる文字列であることを特徴とする文字列処理装置。 3、特許請求の範囲第2項記載の装置において、前記記
憶手段に記憶される第2の文字列の1つの表記が最も送
り仮名の多い文字列であることを特徴とする文字列処理
装置。 4、特許請求の範囲第3項記載の装置において、前記表
示される候補を指示するデータが3ビットのフラグによ
り指示され、前記最有力候補を指示するデータが2ビッ
トのフラグにより指示されることを特徴とする文字列処
理装置。 5、特許請求の範囲第4項記載の装置において、前記最
有力候補を指示する2ビットのフラグが、前記表示され
る候補のうち最も後に使用された文字列を指示すること
を特徴とする文字列処理装置。
[Claims] 1. An input means for inputting a first character string and an instruction; a storage means for storing second character string candidates corresponding to the first character string; and candidate retrieval means for reading out candidates for a second character string corresponding to the first character string from the storage means, wherein the storage means reads one representation of the second character string. and data indicating the candidates to be displayed and data indicating the most likely candidate among the candidates to be displayed;
candidate processing means for creating candidates to be displayed from the notation and data instructing the candidate to be displayed; and creating the most likely candidate among the candidates created by the candidate processing means from the data instructing the most likely candidate. A character string processing device characterized in that it has a most likely candidate processing means. 2. In the device according to claim 1, the first character string is a kana, the instruction is an instruction for converting kana to kanji, and the second character string is a kana character string, and the second character string is a kana character string. A character string processing device characterized in that the character string is a character string. 3. A character string processing device according to claim 2, wherein one representation of the second character string stored in the storage means is a character string with the most okurikana characters. 4. In the apparatus according to claim 3, the data indicating the candidate to be displayed is indicated by a 3-bit flag, and the data indicating the most likely candidate is indicated by a 2-bit flag. A string processing device characterized by: 5. The apparatus according to claim 4, wherein the 2-bit flag indicating the most likely candidate indicates a character string used most recently among the displayed candidates. Column processing device.
JP60237536A 1985-10-25 1985-10-25 Character string processor Pending JPS6298455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60237536A JPS6298455A (en) 1985-10-25 1985-10-25 Character string processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60237536A JPS6298455A (en) 1985-10-25 1985-10-25 Character string processor

Publications (1)

Publication Number Publication Date
JPS6298455A true JPS6298455A (en) 1987-05-07

Family

ID=17016789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60237536A Pending JPS6298455A (en) 1985-10-25 1985-10-25 Character string processor

Country Status (1)

Country Link
JP (1) JPS6298455A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6457368A (en) * 1987-08-28 1989-03-03 Hitachi Ltd Automatic translation system
JPH02311952A (en) * 1989-05-26 1990-12-27 Sharp Corp Kana-kanji converter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6457368A (en) * 1987-08-28 1989-03-03 Hitachi Ltd Automatic translation system
JPH02311952A (en) * 1989-05-26 1990-12-27 Sharp Corp Kana-kanji converter

Similar Documents

Publication Publication Date Title
JPS6298455A (en) Character string processor
JPH0125098B2 (en)
JPH05113964A (en) Electronic dictionary
JPH0612548B2 (en) Document processor
JP2634926B2 (en) Kana-Kanji conversion device
JPS63115217A (en) Character input device
JP2575650B2 (en) Kana-Kanji conversion device
JPS6275761A (en) Character string processor
JPH0640330B2 (en) Chinese input method
JP2962718B2 (en) Character processor
JPH0380363A (en) Document processor
JP2864418B2 (en) Document processing device
JPS63261458A (en) 'kana'/'kanji' converter
JPH05189414A (en) Word processor and its system
JPH06259414A (en) Method and device for outputting furikana (japanese pronunciation of chinese character) for word processor
JPS61180360A (en) Document editing device
JPS6252348B2 (en)
JPH0581262A (en) 'kana'/'kanji' converter
JPH04318659A (en) Document processing unit
JPH0619771B2 (en) Character processor
JPH05282290A (en) Sentence preparation supporting device
JPH0546593A (en) Character input device
JPH04290157A (en) Document processor
JPS5896376A (en) Japanese input device
JPH031273A (en) Character processor having operation self-study function