JPH07110811A - Character processor and its method - Google Patents
Character processor and its methodInfo
- Publication number
- JPH07110811A JPH07110811A JP5257261A JP25726193A JPH07110811A JP H07110811 A JPH07110811 A JP H07110811A JP 5257261 A JP5257261 A JP 5257261A JP 25726193 A JP25726193 A JP 25726193A JP H07110811 A JPH07110811 A JP H07110811A
- Authority
- JP
- Japan
- Prior art keywords
- reading
- candidate
- character string
- input
- character
- 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
Links
Landscapes
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、ワープロ、パソコン等
のデジタルコンピュータ制御の文書処理システムに使用
され、日本語入力文書の誤入力補正機能を有する文字処
理装置及び文字処理方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device and a character processing method which are used in a word processing system such as a word processor or a personal computer and which is controlled by a digital computer and have a function of correcting an erroneous input of a Japanese input document.
【0002】[0002]
【従来の技術】近年、日本語の入力方式として、かな漢
字変換方式が主流となっている。この方式は、作成すべ
き文章の表記を指定するために文書処理装置に対して文
書の各文字の読みを入力データとして使用している。そ
して、読み文字列を入力データとしてかな漢字変換処理
を行う文書作成においては、この読みを入力指示する際
に、タイプミス、仮名遣いの間違い、シフト洩れ、など
に起因する指示間違いが多く発生している。2. Description of the Related Art In recent years, a kana-kanji conversion method has become the mainstream as a Japanese input method. This method uses the reading of each character of the document as input data to the document processing apparatus to specify the notation of the sentence to be created. Then, when creating a document in which kana-kanji conversion processing uses a phonetic character string as input data, there are many erroneous instructions due to typos, incorrect kana usage, shift omission, etc., when inputting and instructing this reading. .
【0003】そこで、従来、このような間違った読み入
力に対しても、所望の漢字仮名混じり列を得るためのか
な漢字変換方式が考案されている。図19は、このよう
な誤入力補正機能を有する従来の文字処理装置の構成を
示すブロック図である。図2において、1は読み入力部
であり、キーボード装置上で打鍵指示された文字に対応
するコードを発生する。Therefore, conventionally, a kana-kanji conversion method has been devised for obtaining a desired kanji-kana mixed string even with such an incorrect reading input. FIG. 19 is a block diagram showing the configuration of a conventional character processing device having such an erroneous input correction function. In FIG. 2, reference numeral 1 is a reading input unit, which generates a code corresponding to a character keyed on the keyboard device.
【0004】2は入力読み列一時記憶部であり、読み入
力部1から入力された文字コードを順次記憶し、一連の
文字読み列として一時記憶する。3は読み替えテーブル
であり、半導体記憶装置上に誤りやすい仮名遣いの組を
記憶する。例えば、「ぢ」と「じ」、「づ」と「ず」、
「とお」と「とう」等の組が記憶される。Reference numeral 2 denotes an input reading string temporary storage unit which sequentially stores the character codes input from the reading input unit 1 and temporarily stores them as a series of character reading strings. Reference numeral 3 is a replacement table for storing a set of pseudonyms used in the semiconductor storage device, which are prone to errors. For example, "ji" and "ji", "zu" and "zu",
A group such as "to" and "to" is stored.
【0005】4は読み替え列生成部であり、入力読み列
一時記憶部2に格納されている読みを読み替えテーブル
3内で検索する。そして、一致するものがあれば入力読
み列内の検索された読みを対応する読みに読み替える。
5は読み替え列一時記憶部であり、読み替え列生成部4
が読み替えた結果を読み替え列として一時記憶する。Reference numeral 4 is a replacement string generation unit, which searches the replacement table 3 for the readings stored in the input reading string temporary storage unit 2. Then, if there is a match, the retrieved reading in the input reading string is replaced with the corresponding reading.
A read sequence temporary storage unit 5 includes a read sequence generation unit 4
The temporary replacement result is temporarily stored as a replacement string.
【0006】6は表示装置であり、液晶表示装置上に、
指定されたコードに対応する文字を表示する。7は注目
候補一時記憶部であり、複数の変換候補の中で、現在注
目している変換候補の順序番号を一時記憶する。8は変
換候補生成部であり、キーボード上の「変換キー」の押
下に従い、入力読み列一時記憶部2と読み替え列一時記
憶部5内の入力読み列と読み替え列に対して、文節区切
りと各文節での変換候補を推定し、可能性の高い漢字仮
名交じり列の候補を生成する。A display device 6 is provided on the liquid crystal display device.
Display the character corresponding to the specified code. Reference numeral 7 denotes an attention candidate temporary storage unit that temporarily stores the sequence number of the conversion candidate currently being noticed among the plurality of conversion candidates. Reference numeral 8 denotes a conversion candidate generation unit, and when the "conversion key" on the keyboard is pressed, the input segment and the transposition column in the input reading sequence temporary storage unit 2 and the substitution sequence temporary storage unit 5 are separated into each phrase and Estimate conversion candidates in bunsetsu and generate candidates for kanji and kana mixed sequences with high probability.
【0007】9は変換候補一時記憶部であり、変換候補
生成部8が生成した変換候補を一時記憶する。例えば、
「こうり」という入力読みに対して、「こおり」という
読み替え列が生成されたときは、「小売り(こうり)、
公理(こうり)、高利(こうり)、功利(こうり)、氷
(こおり)、桑折(こおり)、凍り(こおり)」という
ように、各変換候補に対して読みを対応付けて記憶す
る。A conversion candidate temporary storage unit 9 temporarily stores the conversion candidates generated by the conversion candidate generation unit 8. For example,
When a replacement sequence of "Koori" is generated for the input reading of "Kouri", "Retail (Kouri),
"Axiom (Kouri), high profit (Kouri), utilitarianism (Kouri), ice (Koori), mulberry (Koori), freeze (Koori)" is stored in association with each conversion candidate.
【0008】10は候補表示部であり、変換候補一時記
憶部9内の変換候補を表示装置6に出力し、液晶画面上
に表示させる。この際、注目候補一時記憶部7を参照
し、複数の変換候補の中で現在注目されている変換候補
を反転表示する。注目候補一時記憶部7の内容が変われ
ば、その変換候補番号に対応する変換候補の表記を反転
表示する。A candidate display unit 10 outputs the conversion candidates in the conversion candidate temporary storage unit 9 to the display device 6 and displays them on the liquid crystal screen. At this time, the attention candidate temporary storage unit 7 is referred to and the currently noticed transformation candidate among the plurality of transformation candidates is highlighted. If the contents of the attention candidate temporary storage unit 7 change, the notation of the conversion candidate corresponding to the conversion candidate number is displayed in reverse video.
【0009】11は候補選択部であり、キーボード装置
上の「変換キー」の押下に従い、注目候補一時記憶部7
上の注目順序番号を順次インクリメントする。現在が同
音語候補の数(最大の順序番号)と同じならば、次は
「1」に設定する。また、「番号キー」の打鍵による候
補指示か、「確定キー」「読みキー」の打鍵による注目
候補指示があると、該当する候補が所望のものであると
して決定する。Reference numeral 11 denotes a candidate selection unit, which is a candidate candidate temporary storage unit 7 when the "conversion key" on the keyboard device is pressed.
The above noted sequence number is sequentially incremented. If the current number is the same as the number of homophone candidates (maximum sequence number), then set to "1". Further, when there is a candidate instruction by keystroke of the "number key" or a target candidate instruction by keystroke of the "confirmation key" and "reading key", the corresponding candidate is determined to be the desired one.
【0010】次に、上記の従来の文字処理装置の動作に
ついて説明する。先ず、読み入力部1から打鍵入力され
た読みは、入力読み列一時記憶部2に一時記憶される。
そして、利用者が「変換キー」を打鍵すると、読み替え
列生成部4は、読み替えテーブル3を参照して入力読み
列一時記憶部2中の部分読み列を置換した読み替え列を
生成し、読み替え列一時記憶部5に格納する。Next, the operation of the above-mentioned conventional character processing device will be described. First, the reading input from the reading input unit 1 is temporarily stored in the input reading string temporary storage unit 2.
When the user presses the "conversion key", the reading sequence generating unit 4 refers to the reading table 3 to generate a reading sequence in which the partial reading sequence in the input reading sequence temporary storage unit 2 is replaced, and the reading sequence is generated. It is stored in the temporary storage unit 5.
【0011】その後、変換候補生成部8は、入力読み列
一時記憶部2内の入力読み列と、読み替え列一時記憶部
5内の読み替え列に対する変換候補を生成し、変換候補
一時記憶部9に格納する。さらに、注目候補一時記憶部
に変換候補の先頭の候補番号である「1」を書き込む。
候補表示部10は、注目候補一時記憶部7に指定された
候補番号の候補だけを反転属性をつけて表示装置6に一
覧表示する。After that, the conversion candidate generation unit 8 generates conversion candidates for the input reading sequence in the input reading sequence temporary storage unit 2 and the reading sequence in the reading sequence temporary storage unit 5, and stores them in the conversion candidate temporary storage unit 9. Store. Further, the leading candidate number “1” of the conversion candidates is written in the attention candidate temporary storage unit.
The candidate display unit 10 displays a list of only the candidates of the candidate number specified in the attention candidate temporary storage unit 7 on the display device 6 with an inversion attribute.
【0012】また、利用者が「変換キー」を打鍵する
と、候補選択部11は、注目候補一時記憶部7内の番号
を順にインクリメントし、それに従って表示装置6上の
反転表示される変換候補が変化する。以上のようにし
て、例えば入力読み列「こうり」という入力に対して、
「こう」を「こお」と読み替えると、画面上には、図2
0に示す表示がなされる。従って、「氷」(こおり)を
入力するのに、仮名遣いを間違って「こうり」と入力し
ても、変換候補に必要な候補が表示されるので、その変
換候補を選択することによって簡単に所望の文字を入力
することができる。When the user presses the "conversion key", the candidate selection section 11 sequentially increments the numbers in the attention candidate temporary storage section 7, and accordingly the conversion candidate displayed on the display device 6 is highlighted. Change. As described above, for example, with respect to the input reading string “Kouri”,
If "kou" is read as "koo,"
The display shown in 0 is made. Therefore, even if you input "ice" (koori) by mistake and enter "kouri" in kana, the necessary candidates for conversion will be displayed, so you can easily select it by selecting the conversion candidate. You can enter the characters.
【0013】[0013]
【発明が解決しようとする課題】しかしながら、従来の
文字入力装置では、操作者の入力操作時における誤入力
補正の簡便化の観点から、さらに以下のような不都合が
あった。 (1)図19に示す文字処理装置において、入力読み列
中の部分読みが、読み替えテーブル3中の読み替え対象
読み列と一致すれば、複数の候補が検出されることがあ
る。例えば、拗音と濁音が各々直音、清音に読み替えら
れる場合、具体的には、「こうしよう」と入力される
と、「こ」が「ご」に、「し」が「じ」に、「よ」が
「ょ」に変換されるため、図21に示されるように、講
師用(こうしよう)、交渉(こうしょう)、工事用(こ
うじよう)、向上(こうじょう)、工場(こうじょ
う)、合資用(ごうしよう)、豪商(ごうしょう)、強
情(ごうじょう)などが候補として提示される。この場
合、変換結果のかな漢字文字列だけでなく、読み替えて
解釈した読み列をあわせて表示したとしても、その読み
列の表示は似通っており、それらを見分けるのは困難で
ある。そのために、操作者が本来所望する単語表記を選
択する際に、選択誤りを生じる可能性が高かった。 (2)また、従来の文字処理装置では、かな漢字変換操
作に馴れた利用者は第一候補が補正候補であった場合
も、補正されたことを意識せずにその候補を選択してし
まう場合が多かった。このため、本来意図しない類似し
た候補が選択されてしまうことがあり、補正候補を表示
したがために、不適当な候補を選択してしまうという補
正の副作用が生じる場合があった。 (3)一般に、入力操作のやり方には個人差があり、変
換時にすべてを確定してゆく逐次確定作法を用いる人
と、とりあえず入力を完了した後に単語表記の選択や用
語を確認してゆく事後確認作法を用いる人がいる。とこ
ろが、従来の文字処理装置では、候補を一旦選択し、文
章テキストとして確定すると、確定処理後に、どの部分
について誤入力補正の変換候補を選択したかを確認する
ことができなかった。このために、事後確認操作の作法
に馴れた人が「補正結果の確認」を行う場合には、字面
から読みを推定して補正の正しさを確認するという困難
な操作を行わねばならなかった。 (4)さらに、従来の文字処理装置では、入力読み列が
「ふょうかぞく…」や「あるこ゜りずむ」のように入力
の途中で日本語の単語の読みとして存在しにくいものが
入力された場合でも、操作者から「変換」を起動する指
示があるまでこれを放置していた。このため、操作者
は、元々、文節区切りや同音語選択などの複雑な操作が
必要な「変換候補選択時」に、同時に入力読みの修正を
行う必要があり、操作者の負担が大きくなっていた。However, the conventional character input device has the following inconveniences from the viewpoint of simplifying erroneous input correction during the input operation by the operator. (1) In the character processing device shown in FIG. 19, if the partial reading in the input reading string matches the reading target reading string in the reading table 3, a plurality of candidates may be detected. For example, in the case that the Japanese sound and the dakuon are read as the direct sound and the pure sound respectively, specifically, when you input "Kou try", "ko" becomes "go", "shi" becomes "ji", " As "yo" is converted into "yo", as shown in Fig. 21, it is for teachers, for negotiations, for construction, for improvement, for factories, and for factories. ), Joint venture (goshou), auspicious trade (gosho), and obstinacy (gojo) are presented as candidates. In this case, even if not only the kana-kanji character string obtained as the conversion result but also the reading string interpreted and read is also displayed, the display of the reading string is similar and it is difficult to distinguish them. Therefore, there is a high possibility that the operator will make a selection error when selecting the desired word notation. (2) In the conventional character processing device, when the user who is accustomed to the kana-kanji conversion operation selects the candidate even if the first candidate is the correction candidate, without being aware of the correction. There were many Therefore, a similar candidate that is not originally intended may be selected, and the correction candidate is displayed, which may cause a side effect of the correction that an inappropriate candidate is selected. (3) Generally, there are individual differences in the method of input operation, and those who use the sequential deterministic method that confirms everything at the time of conversion, and those who select the word notation and confirm the term after completing the input for the time being Some people use confirmation methods. However, in the conventional character processing device, once a candidate was selected and confirmed as a text, it was not possible to confirm which portion the conversion candidate for erroneous input correction was selected after the confirmation process. For this reason, when a person accustomed to the method of the post-confirmation operation performs the “confirmation of the correction result”, he / she has to perform the difficult operation of estimating the reading from the text and confirming the correctness of the correction. . (4) Further, in the conventional character processing device, the input reading string is difficult to exist as a reading of a Japanese word in the middle of the input, such as "Fukazoku ..." or "Arkorizumu". Even if it was input, it was left as it was until the operator instructed to start "Conversion". For this reason, the operator originally had to correct the input readings at the same time "when selecting a conversion candidate", which requires complicated operations such as punctuation and homophone selection. This increases the burden on the operator. It was
【0014】このように、従来の文字処理装置は、「候
補の視認性が悪い」、「補正事実の確認が困難」、「確
定後の確認が困難」、「補正のタイミングが遅い」等、
誤入力文字の補正機能の操作性を向上させるために、種
々の問題点を有していた。したがって、本発明は、上記
のような問題点を解消するためになされたもので、読み
文字列入力時に生じる誤入力の補正処理時の操作性を向
上しうる文字処理装置および文字処理方法を提供するこ
とを目的とする。As described above, in the conventional character processing apparatus, "the visibility of the candidate is poor", "the confirmation of the correction fact is difficult", "the confirmation after confirmation is difficult", "the correction timing is late", etc.
There were various problems in order to improve the operability of the correction function for erroneously input characters. Therefore, the present invention has been made to solve the above problems, and provides a character processing device and a character processing method capable of improving the operability during correction processing of erroneous input that occurs when a reading character string is input. The purpose is to do.
【0015】[0015]
【課題を解決するための手段】請求項1の発明に係る文
字処理装置は、作成すべき文章の各文字を表音文字で示
した読み文字列を入力する読み入力手段と、入力された
読み文字列が予め定めた誤入力の態様に該当する場合
に、読み文字列中の該当部分を予め定めた規則に従って
別の読み文字に置き換えることによって拡張読み文字列
を生成するとともに、拡張読み文字列を表記文字列に変
換することによって拡張候補を生成する拡張候補生成手
段と、拡張候補生成手段によって生成された拡張読み文
字列の内、拡張候補生成手段によって置き換えられた読
み文字列の部分に他の読み文字列の部分と異なる表示属
性を付与する表示属性更新手段と、表示属性更新手段に
よって付与された表示属性に従って拡張読み文字列を表
示する候補表示手段とを有する。According to a first aspect of the present invention, there is provided a character processing device which comprises a phonetic input means for inputting a phonetic character string in which each character of a sentence to be created is represented by a phonetic character, and the input phonetic character. When the character string corresponds to a predetermined erroneous input mode, the extended reading character string is generated by replacing the corresponding portion in the reading character string with another reading character according to a predetermined rule, and the extended reading character string is generated. To the notation character string to generate an expansion candidate, and an extended candidate character string generated by the expanded candidate generation means and replaced with the reading character string replaced by the expanded candidate generation means. Attribute updating means for giving a display attribute different from that of the reading character string, and a candidate displaying means for displaying the extended reading character string according to the display attribute given by the display attribute updating means. Having.
【0016】請求項2の発明に係る文字処理装置は、作
成すべき文章の各文字を表音文字で示した読み文字列を
入力する読み入力手段と、入力された読み文字列が予め
定めた誤入力の態様に該当する場合に、読み文字列中の
該当部分を予め定めた規則に従って別の読み文字に置き
換えることによって拡張読み文字列を生成するととも
に、入力された読み文字列及び拡張読み文字列を表記文
字列に変換することによって拡張候補を生成する拡張候
補生成手段と、拡張候補生成手段によって生成された拡
張候補の表示順位を予め定めた規則に従って設定する表
示順位設定手段と、設定された表示順序に従って拡張候
補と拡張読み文字列を表示する候補表示手段とを有す
る。In the character processing device according to the second aspect of the present invention, the reading input means for inputting the reading character string in which each character of the sentence to be created is represented by phonetic characters, and the input reading character string are predetermined. When it corresponds to the erroneous input mode, the extended reading character string is generated by replacing the corresponding portion in the reading character string with another reading character according to a predetermined rule, and the input reading character string and the extended reading character Expansion candidate generation means for generating expansion candidates by converting a string into a notation string, and display order setting means for setting the display order of the expansion candidates generated by the expansion candidate generation means according to a predetermined rule are set. And a candidate display unit for displaying the extended candidate and the extended reading character string in accordance with the display order.
【0017】請求項3の発明に係る文字処理装置は、請
求項2の発明に対し、さらに、表示順位設定手段によっ
て第一優先出力順位に設定された拡張候補の拡張読み文
字列と、入力された読み文字列の内、この拡張読み文字
列に対応する文字列とが等しいかどうかを判定する最尤
候補判定手段と、最尤候補判定手段が読み文字列と拡張
読み文字列とが異なると判定した場合に、予め定めた形
式で警告を出力する警告出力手段とを有する。The character processing apparatus according to the invention of claim 3 is different from the invention of claim 2 in that the extended reading character string of the extension candidate set to the first priority output order by the display order setting means is input. Among the reading character strings, the maximum likelihood candidate determining means for determining whether or not the character string corresponding to the extended reading character string is equal, and the maximum likelihood candidate determining means determines that the reading character string and the extended reading character string are different. When the determination is made, it has a warning output means for outputting a warning in a predetermined format.
【0018】請求項4の発明に係る文字処理装置は、作
成すべき文章の各文字を表音文字で示した読み文字列を
入力する読み入力手段と、読み入力手段から読み文字が
入力される度に、入力された読み文字が予め定めた誤入
力形態の文字に該当するか否かを判定する読み評価手段
と、読み評価手段によって誤入力文字と判定された場合
に、判定された読み文字を予め設定した代替読み文字に
置き換える読み文字訂正手段とを有する。In the character processing device according to the invention of claim 4, the phonetic input means for inputting a phonetic character string in which each character of the sentence to be created is represented by phonetic characters, and the phonetic character is input from the phonetic input means. Each time, the reading evaluation means for determining whether or not the input reading character corresponds to a character of a predetermined erroneous input form, and the reading character determined when the reading evaluation means determines the erroneous input character And a reading character correcting means for replacing the reading character with a preset alternative reading character.
【0019】請求項5の発明に係る文字処理装置は、作
成すべき文章の各文字を表音文字で示した読み文字列を
入力する読み入力手段と、入力された読み文字列が予め
定めた誤入力の態様に該当する場合に、読み文字列中の
該当部分を予め定めた規則に従って別の読み文字に置き
換えることによって拡張読み文字列を生成するととも
に、拡張読み文字列を表記文字列に変換することによっ
て拡張候補を生成する拡張候補生成手段と、拡張候補生
成手段によって生成された拡張候補及び拡張読み文字列
を表示する候補表示手段と、候補表示手段が表示した拡
張候補の中からオペレータが所望の拡張候補を選択する
ための候補選択手段と、拡張候補と、拡張候補が拡張読
み文字列に基づいて生成されたことを示す拡張履歴情報
と対応付けて記憶するテキスト記憶手段と、テキスト記
憶手段中から拡張履歴情報が対応付られた拡張候補の変
換文章中の位置情報を検索する補正箇所検索手段と、補
正箇所検索手段が検索した拡張候補の位置情報に基づい
て、この位置情報が示す位置に表示される文字を識別可
能な形態で表示する検索結果表示手段とを有する。In the character processing device according to the invention of claim 5, the reading input means for inputting the reading character string in which each character of the sentence to be created is represented by phonetic characters, and the input reading character string are predetermined. When it corresponds to the erroneous input mode, the extended reading character string is generated by replacing the corresponding portion in the reading character string with another reading character according to a predetermined rule, and the extended reading character string is converted into the written character string. The expansion candidate generating means for generating the expansion candidate by doing, the candidate display means for displaying the expansion candidate and the extended reading character string generated by the expansion candidate generating means, and the operator from the expansion candidates displayed by the candidate display means A candidate selection unit for selecting a desired extension candidate, the extension candidate, and extension history information indicating that the extension candidate is generated based on the extension reading character string are stored in association with each other. Based on the text storage means, the correction location search means for searching the location information in the converted sentence of the extension candidate associated with the extension history information from the text storage means, and the location information of the extension candidate searched by the correction location search means. And a search result display means for displaying the character displayed at the position indicated by the position information in a form that can be identified.
【0020】請求項6の発明に係る文字処理方法は、作
成すべき文章の各文字を表音文字で示した読み文字列を
入力する読み入力ステップと、入力された読み文字列が
予め定めた誤入力の態様に該当する場合に、読み文字列
中の該当部分を予め定めた規則に従って別の読み文字に
置き換えることによって拡張読み文字列を生成するとと
もに、拡張読み文字列を表記文字列に変換することによ
って拡張候補を生成する拡張候補生成ステップと、拡張
候補生成ステップにおいて生成された拡張読み文字列の
内、拡張候補生成ステップにおいて置き換えられた読み
文字列の部分に他の読み文字列の部分と異なる表示属性
を付与する表示属性更新ステップと、表示属性更新ステ
ップにおいて付与された表示属性に従って拡張読み文字
列を表示する候補表示ステップとを有する。In the character processing method according to the invention of claim 6, a phonetic input step of inputting a phonetic character string in which each character of a sentence to be created is represented by phonetic characters, and the input phonetic character string is predetermined. When it corresponds to the erroneous input mode, the extended reading character string is generated by replacing the corresponding portion in the reading character string with another reading character according to a predetermined rule, and the extended reading character string is converted into the written character string. The extended candidate generation step for generating an extended candidate by doing the above, and the reading character string portion replaced in the extended candidate generation step among the extended reading character string generated in the extended candidate generation step, and a portion of another reading character string. Display attribute update step for assigning a display attribute different from the above, and candidates for displaying the extended reading character string according to the display attribute assigned in the display attribute update step And a step shows.
【0021】請求項7の発明に係る文字処理方法は、作
成すべき文章の各文字を表音文字で示した読み文字列を
入力する読み入力ステップと、入力された読み文字列が
予め定めた誤入力の態様に該当する場合に、読み文字列
中の該当部分を予め定めた規則に従って別の読み文字に
置き換えることによって拡張読み文字列を生成するとと
もに、入力された読み文字列及び拡張読み文字列を表記
文字列に変換することによって拡張候補を生成する拡張
候補生成ステップと、拡張候補生成ステップにおいて生
成された拡張候補の表示順位を予め定めた規則に従って
設定する表示順位設定ステップと、設定された表示順序
に従って拡張候補と拡張読み文字列を表示する候補表示
ステップとを有する。In the character processing method according to the invention of claim 7, a reading input step for inputting a reading character string in which each character of a sentence to be created is represented by phonetic characters, and the input reading character string is predetermined. When it corresponds to the erroneous input mode, the extended reading character string is generated by replacing the corresponding portion in the reading character string with another reading character according to a predetermined rule, and the input reading character string and the extended reading character An expansion candidate generation step of generating expansion candidates by converting a column into a notation character string, and a display order setting step of setting the display order of the expansion candidates generated in the expansion candidate generation step according to a predetermined rule are set. And a candidate display step of displaying the extended reading character string in accordance with the display order.
【0022】請求項8の発明に係る文字処理方法は、請
求項7の発明に対し、さらに、表示順位設定ステップに
よって第一優先出力順位に設定された拡張候補の拡張読
み文字列と、入力された読み文字列の内、この拡張読み
文字列に対応する文字列とが等しいかどうかを判定する
最尤候補判定ステップと、最尤候補判定ステップにおい
て読み文字列と拡張読み文字列とが異なると判定された
場合に、予め定めた形式で警告を出力する警告出力ステ
ップとを有する。The character processing method according to the invention of claim 8 is different from the invention of claim 7, in that the extended reading character string of the extension candidate set to the first priority output order by the display order setting step is input. Among the read character strings, the maximum likelihood candidate determination step of determining whether or not the character string corresponding to the extended read character string is equal, and the read character string and the extended read character string are different in the maximum likelihood candidate determination step. And a warning output step for outputting a warning in a predetermined format when the determination is made.
【0023】請求項9の発明に係る文字処理方法は、作
成すべき文章の各文字を表音文字で示した読み文字列を
入力する読み入力ステップと、読み入力ステップから読
み文字が入力される度に、入力された読み文字が予め定
めた誤入力形態の文字に該当するか否かを判定する読み
評価ステップと、読み評価ステップによって誤入力文字
と判定された場合に、判定された読み文字を予め設定し
た代替読み文字に置き換える読み文字訂正ステップとを
有する。In the character processing method according to the ninth aspect of the present invention, a phonetic input step of inputting a phonetic character string in which each character of a sentence to be created is represented by phonetic characters, and phonetic characters are input from the phonetic input step. Each time, the reading evaluation step that determines whether the input reading character corresponds to a character with a predetermined erroneous input form, and the reading character that is determined when the reading evaluation step determines that the input character is an erroneous input character Is replaced with a preset alternative reading character.
【0024】請求項10の発明に係る文字処理方法は、
作成すべき文章の各文字を表音文字で示した読み文字列
を入力する読み入力ステップと、入力された読み文字列
が予め定めた誤入力の態様に該当する場合に、読み文字
列中の該当部分を予め定めた規則に従って別の読み文字
に置き換えることによって拡張読み文字列を生成すると
ともに、拡張読み文字列を表記文字列に変換することに
よって拡張候補を生成する拡張候補生成ステップと、拡
張候補生成ステップによって生成された拡張候補及び拡
張読み文字列を表示する候補表示ステップと、候補表示
ステップにおいて表示された拡張候補の中からオペレー
タが所望の拡張候補を選択するための候補選択ステップ
と、拡張候補と、拡張候補が拡張読み文字列に基づいて
生成されたことを示す拡張履歴情報と対応付けて記憶す
るテキスト記憶ステップと、拡張履歴情報が対応付られ
た拡張候補の変換文章中の位置情報を検索する補正箇所
検索ステップと、補正箇所検索ステップにおいて検索さ
れた拡張候補の位置情報に基づいて、この位置情報が示
す位置に表示される文字を識別可能な形態で表示する検
索結果表示ステップとを有する。A character processing method according to the invention of claim 10 is
When a reading input step of inputting a reading character string in which each character of a sentence to be created is represented by phonetic characters and the input reading character string corresponds to a predetermined erroneous input mode, the reading character string An extended candidate generation step of generating an extended reading character string by replacing the corresponding portion with another reading character according to a predetermined rule, and generating an extended candidate by converting the extended reading character string into a notation character string; A candidate display step for displaying the expansion candidate and the expanded reading character string generated by the candidate generation step, and a candidate selection step for the operator to select a desired expansion candidate from the expansion candidates displayed in the candidate display step, A text storage space that stores the extension candidate and the extension history information indicating that the extension candidate is generated based on the extended reading character string. Position information based on the position information of the expansion candidate searched in the correction position searching step and the correction position searching step for searching the position information in the converted sentence of the expansion candidate associated with the expansion history information. And a search result display step of displaying the character displayed at the position indicated by in an identifiable form.
【0025】[0025]
【作用】請求項1の発明において、読み入力手段は、作
成すべき文章の各文字を表音文字で示した読み文字列を
入力する。拡張候補生成手段は、入力された読み文字列
が予め定めた誤入力の態様に該当する場合に、読み文字
列中の該当部分を予め定めた規則に従って別の読み文字
に置き換える。そして、種々の拡張読み文字列を生成す
るとともに、拡張読み文字列を表記文字列に変換する。
表示属性更新手段は、拡張候補生成手段によって生成さ
れた拡張読み文字列の内、拡張候補生成手段によって置
き換えられた読み文字列の部分に他の読み文字列の部分
と異なる表示属性を付与する。例えば、実施例の装置で
は、下線表示が付与される。そして、候補表示手段は、
表示属性更新手段によって付与された表示属性に従って
拡張読み文字列を表示する。In the invention of claim 1, the reading input means inputs a reading character string in which each character of the sentence to be created is represented by a phonetic character. The extension candidate generation means replaces the corresponding part in the reading character string with another reading character according to a predetermined rule when the input reading character string corresponds to a predetermined erroneous input mode. Then, while generating various extended reading character strings, the extended reading character strings are converted into notation character strings.
The display attribute updating means gives a display attribute different from that of other reading character strings to the reading character string portion replaced by the expansion candidate generating means in the extended reading character string generated by the expansion candidate generating means. For example, in the device of the embodiment, an underline display is added. And the candidate display means is
The extended reading character string is displayed according to the display attribute given by the display attribute updating means.
【0026】請求項2の発明において、読み入力手段
は、作成すべき文章の各文字を表音文字で示した読み文
字列を入力する。拡張候補生成手段は、入力された読み
文字列が予め定めた誤入力の態様に該当する場合に、読
み文字列中の該当部分を予め定めた規則に従って別の読
み文字に置き換える。そして、種々の拡張読み文字列を
生成するとともに、入力された読み文字列及び拡張読み
文字列を表記文字列に変換することによって拡張候補を
生成する。表示順位設定手段は、拡張候補生成手段によ
って生成された拡張候補の表示順位を予め定めた規則に
従って設定する。候補表示手段は、設定された表示順序
に従って拡張候補と拡張読み文字列を表示する。In the invention of claim 2, the reading input means inputs a reading character string in which each character of the sentence to be created is represented by a phonetic character. The extension candidate generation means replaces the corresponding part in the reading character string with another reading character according to a predetermined rule when the input reading character string corresponds to a predetermined erroneous input mode. Then, while generating various extended reading character strings, the input reading character string and the extended reading character string are converted into notation character strings to generate expansion candidates. The display order setting means sets the display order of the expansion candidates generated by the expansion candidate generation means according to a predetermined rule. The candidate display means displays the extended candidate and the extended reading character string according to the set display order.
【0027】請求項3の発明において、最尤候補判定手
段は、表示順位設定手段によって第一優先出力順位に設
定された拡張候補の拡張読み文字列と、入力された読み
文字列の内、この拡張読み文字列に対応する文字列とが
等しいかどうかを判定する。そして、警告出力手段は、
最尤候補判定手段が読み文字列と拡張読み文字列とが異
なると判定した場合に、オペレータに注意を促すため
に、予め定めた形式で警告を出力する。In the third aspect of the present invention, the maximum likelihood candidate determination means selects the extended reading character string of the extension candidate set to the first priority output order by the display order setting means and the input reading character string. It is determined whether the extended reading character string is equal to the corresponding character string. And the warning output means is
When the maximum likelihood candidate determination means determines that the reading character string and the extended reading character string are different, a warning is output in a predetermined format to call the operator's attention.
【0028】請求項4の発明において、読み入力手段
は、作成すべき文章の各文字を表音文字で示した読み文
字列を入力する。読み評価手段は、読み入力手段から読
み文字が入力される度に、入力された読み文字が予め定
めた誤入力形態の文字に該当するか否かを判定する。読
み文字訂正手段は、読み評価手段によって誤入力文字と
判定された場合に、判定された読み文字を予め設定した
代替読み文字に置き換える。In the invention of claim 4, the reading input means inputs a reading character string in which each character of the sentence to be created is represented by a phonetic character. Every time a reading character is input from the reading inputting unit, the reading evaluation unit determines whether or not the input reading character corresponds to a character having a predetermined erroneous input form. The reading character correction unit replaces the determined reading character with a preset alternative reading character when the reading evaluation unit determines that the input character is an erroneous input character.
【0029】請求項5の発明において、読み入力手段
は、作成すべき文章の各文字を表音文字で示した読み文
字列を入力する。拡張候補生成手段は、入力された読み
文字列が予め定めた誤入力の態様に該当する場合に、読
み文字列中の該当部分を予め定めた規則に従って別の読
み文字に置き換えることによって拡張読み文字列を生成
するとともに、拡張読み文字列を表記文字列に変換する
ことによって拡張候補を生成する。候補表示手段は、拡
張候補生成手段によって生成された拡張候補及び拡張読
み文字列を表示する。候補選択手段は、候補表示手段が
表示した拡張候補の中からオペレータが所望の拡張候補
を選択する。テキスト記憶手段は、拡張候補と、拡張候
補が拡張読み文字列に基づいて生成されたことを示す拡
張履歴情報と対応付けて記憶する。補正箇所検索手段
は、テキスト記憶手段中から拡張履歴情報が対応付られ
た拡張候補の変換文章中の位置情報を検索する。検索結
果表示手段は、補正箇所検索手段が検索した拡張候補の
位置情報に基づいて、この位置情報が示す位置に表示さ
れる文字を識別可能な形態で表示する。In the invention of claim 5, the phonetic input means inputs a phonetic character string in which each character of the sentence to be created is represented by a phonetic character. The extension candidate generation means, when the input reading character string corresponds to a predetermined erroneous input mode, replaces the relevant portion in the reading character string with another reading character according to a predetermined rule. The expansion candidate is generated by converting the expansion reading character string into the notation character string while generating the string. The candidate display means displays the extension candidate and the extended reading character string generated by the extension candidate generating means. The candidate selecting means selects an extension candidate desired by the operator from the extension candidates displayed by the candidate displaying means. The text storage unit stores the extension candidate in association with the extension history information indicating that the extension candidate is generated based on the extended reading character string. The correction location search means searches the text storage means for position information in the conversion text of the expansion candidate associated with the expansion history information. The search result display means displays the character displayed at the position indicated by this position information in an identifiable form based on the position information of the expansion candidate searched by the correction location search means.
【0030】請求項6の発明による文字処理方法は、ま
ず、作成すべき文章の各文字を表音文字で示した読み文
字列を入力する。次に、入力された読み文字列が予め定
めた誤入力の態様に該当する場合に、読み文字列中の該
当部分を予め定めた規則に従って別の読み文字に置き換
えることによって拡張読み文字列を生成するとともに、
拡張読み文字列を表記文字列に変換することによって拡
張候補を生成する。さらに、生成された拡張読み文字列
の内、拡張候補生成ステップにおいて置き換えられた読
み文字列の部分に他の読み文字列の部分と異なる表示属
性を付与する。さらに、付与された表示属性に従って拡
張読み文字列を表示する。In the character processing method according to the sixth aspect of the present invention, first, a phonetic character string in which each character of a sentence to be created is represented by a phonetic character is input. Next, when the input reading character string corresponds to a predetermined erroneous input mode, an extended reading character string is generated by replacing the corresponding part in the reading character string with another reading character according to a predetermined rule. Along with
An extension candidate is generated by converting the extension reading character string into a notation character string. Further, in the generated extended reading character string, a display attribute different from that of other reading character strings is given to the reading character string portion replaced in the extension candidate generation step. Further, the extended reading character string is displayed according to the assigned display attribute.
【0031】請求項7の発明による文字処理方法は、ま
ず、作成すべき文章の各文字を表音文字で示した読み文
字列を入力する。次に、入力された読み文字列が予め定
めた誤入力の態様に該当する場合に、読み文字列中の該
当部分を予め定めた規則に従って別の読み文字に置き換
えることによって拡張読み文字列を生成するとともに、
入力された読み文字列及び拡張読み文字列を表記文字列
に変換することによって拡張候補を生成する。さらに、
生成された拡張候補の表示順位を予め定めた規則に従っ
て設定する。さらに、設定された表示順序に従って拡張
候補と拡張読み文字列を表示する。In the character processing method according to the seventh aspect of the present invention, first, a phonetic character string in which each character of a sentence to be created is represented by a phonetic character is input. Next, when the input reading character string corresponds to a predetermined erroneous input mode, an extended reading character string is generated by replacing the corresponding part in the reading character string with another reading character according to a predetermined rule. Along with
An extension candidate is generated by converting the input reading character string and extended reading character string into a notation character string. further,
The display order of the generated expansion candidates is set according to a predetermined rule. Further, the extension candidate and the extended reading character string are displayed according to the set display order.
【0032】請求項8の発明による文字処理方法は、さ
らに、表示順位設定ステップによって第一優先出力順位
に設定された拡張候補の拡張読み文字列と、入力された
読み文字列の内、この拡張読み文字列に対応する文字列
とが等しいかどうかを判定する。そして、読み文字列と
拡張読み文字列とが異なると判定された場合に、予め定
めた形式で警告を出力する。In the character processing method according to the present invention, the extended reading character string of the extension candidate set to the first priority output order in the display order setting step and the input reading character string are expanded. It is determined whether the reading character string is equal to the corresponding character string. Then, when it is determined that the read character string and the extended read character string are different, a warning is output in a predetermined format.
【0033】請求項9の発明による文字処理方法は、ま
ず、作成すべき文章の各文字を表音文字で示した読み文
字列を入力する。次に、読み文字が入力される度に、入
力された読み文字が予め定めた誤入力形態の文字に該当
するか否かを判定する。そして、誤入力文字と判定され
た場合に、判定された読み文字を予め設定した代替読み
文字に置き換える。In the character processing method according to the ninth aspect of the present invention, first, a reading character string in which each character of a sentence to be created is represented by a phonetic character is input. Next, each time a phonetic character is input, it is determined whether the input phonetic character corresponds to a character having a predetermined erroneous input form. Then, when it is determined that the input character is an erroneous input character, the determined reading character is replaced with a preset alternative reading character.
【0034】請求項10の発明による文字処理方法は、
まず、作成すべき文章の各文字を表音文字で示した読み
文字列を入力する。次に、入力された読み文字列が予め
定めた誤入力の態様に該当する場合に、読み文字列中の
該当部分を予め定めた規則に従って別の読み文字に置き
換えることによって拡張読み文字列を生成するととも
に、拡張読み文字列を表記文字列に変換することによっ
て拡張候補を生成する。さらに、生成された拡張候補及
び拡張読み文字列を表示する。さらに、表示された拡張
候補の中からオペレータが所望の拡張候補を選択する。
さらに、拡張候補と、拡張候補が拡張読み文字列に基づ
いて生成されたことを示す拡張履歴情報と対応付けて記
憶する。その後、拡張履歴情報が対応付られた拡張候補
の変換文章中の位置情報を検索する。そして、検索され
た拡張候補の位置情報に基づいて、この位置情報が示す
位置に表示される文字を識別可能な形態で表示する。A character processing method according to the invention of claim 10 is
First, a phonetic character string in which each character of a sentence to be created is represented by phonetic characters is input. Next, when the input reading character string corresponds to a predetermined erroneous input mode, an extended reading character string is generated by replacing the corresponding part in the reading character string with another reading character according to a predetermined rule. At the same time, an extended candidate is generated by converting the extended reading character string into a notation character string. Further, the generated expansion candidates and expanded reading character strings are displayed. Further, the operator selects a desired expansion candidate from the displayed expansion candidates.
Further, the extension candidate and the extension history information indicating that the extension candidate is generated based on the extension reading character string are stored in association with each other. Then, the position information in the converted sentence of the expansion candidate associated with the expansion history information is searched. Then, based on the position information of the searched expansion candidate, the character displayed at the position indicated by this position information is displayed in an identifiable form.
【0035】[0035]
【実施例】以下、本発明の実施例について図を用いて詳
細に説明する。先ず、本書において使用する「読み」と
は、作成すべき文章、例えば漢字仮名混じり文章の各文
字を表音記号、例えば仮名文字で表現したものを意図す
る。この場合、この「読み」には、文章を構成する句読
点や括弧等の記号も含むものとする。Embodiments of the present invention will be described in detail below with reference to the drawings. First, as used in this document, "reading" means that each character of a sentence to be created, for example, a sentence mixed with kanji and kana is represented by a phonetic symbol, for example, kana. In this case, this “reading” includes punctuation marks and symbols such as parentheses that form a sentence.
【0036】さらに、本書において、「入力候補」とは
入力された読み文字列をかな漢字変換することによって
生成された文字候補をいい、「拡張候補」とは、入力読
み文字列を補正して得られた拡張読み文字列をかな漢字
変換することによって生成された文字候補をいうものと
する。そして、両者を含めて総称する際には、単に「候
補」と表現するものとする。Further, in this document, "input candidate" means a character candidate generated by performing Kana-Kanji conversion on an input reading character string, and "extended candidate" is obtained by correcting the input reading character string. A character candidate generated by performing Kana-Kanji conversion on the extended reading character string. Then, when collectively including both, it is simply expressed as “candidate”.
【0037】図1は本発明の実施例における文字処理装
置の概略構成を示す。図1において、1は読み入力部
で、JIS配列のキーボード装置上の「読みキー」を打
鍵されると対応するコードを発生する。また、「読みキ
ー」のほか「変換キー」、「確定キー」、「番号キ
ー」、「検索キー」などの各種制御キーも有している。
2は入力読み列一時記憶部で、読み入力部1から入力さ
れた読みコードを順次記憶し、一連の読み列として一時
記憶する。FIG. 1 shows a schematic configuration of a character processing device in an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a reading input unit, which generates a corresponding code when a "reading key" on a JIS-arranged keyboard device is pressed. In addition to the "reading key", it also has various control keys such as a "conversion key", a "confirmation key", a "number key", and a "search key".
An input reading string temporary storage unit 2 sequentially stores reading codes input from the reading input unit 1 and temporarily stores them as a series of reading strings.
【0038】3は単語辞書で、単語の読み、表記、品詞
情報を格納する。同一形式の自立語辞書と付属語辞書が
あり、見出しはかなの読みである。4は拡張候補生成部
で、「変換キー」が打鍵されると、入力読み列およびそ
の一部を他の読みに読み替えた拡張読み列を、単語辞書
3を参照して文節列として解釈し、拡張候補として生成
する。Reference numeral 3 is a word dictionary which stores word reading, notation and part-of-speech information. There is an independent word dictionary and an auxiliary word dictionary of the same format, and the heading is kana reading. Reference numeral 4 denotes an extended candidate generation unit, which interprets an input reading string and an extended reading string obtained by replacing a part of the reading string with another reading as a phrase string by referring to the word dictionary 3 when the conversion key is pressed. Generate as an expansion candidate.
【0039】5は拡張候補一時記憶部で、拡張候補生成
部4が生成した拡張候補の「解釈読み」、「表記」、
「文法属性情報」を一時格納する。6は表示装置で、指
定された候補を液晶パネルの表示デバイスに出力表示す
る。7は注目候補一時記憶部で、拡張候補一時記憶部5
に記憶される拡張候補中の一候補の識別番号を一時記憶
する。Reference numeral 5 denotes an expansion candidate temporary storage unit, which is used for the "interpretation reading", "notation", and expansion of the expansion candidates generated by the expansion candidate generating unit 4.
"Grammar attribute information" is temporarily stored. A display device 6 outputs and displays the designated candidates on the display device of the liquid crystal panel. Reference numeral 7 denotes an attention candidate temporary storage unit, which is an extension candidate temporary storage unit 5
The identification number of one of the expansion candidates stored in is temporarily stored.
【0040】8は表示属性更新部で、拡張候補一時記憶
部5中の候補のうち、注目候補一時記憶部7中の候補番
号に対応する表記情報に反転表示の表示属性を付ける。
また、拡張候補一時記憶部5中の拡張候補の解釈読みと
入力読み列一時記憶部2の入力読みの異なり部分に下線
表示の表示属性を付ける。9は補正数順整列部で、拡張
候補一時記憶部5中の拡張候補の解釈読みの中で入力読
み列一時記憶部2中の入力読みと異なる箇所の数をソー
トキーとして拡張候補等を昇順に整列させる。Reference numeral 8 denotes a display attribute updating unit which, among the candidates in the extended candidate temporary storage unit 5, adds the display attribute of reverse display to the notation information corresponding to the candidate number in the attention candidate temporary storage unit 7.
Further, a display attribute of underline display is added to a different portion of the interpretation reading of the extension candidate in the extension candidate temporary storage unit 5 and the input reading of the input reading string temporary storage unit 2. Reference numeral 9 is a correction number order alignment unit, which uses the number of places in the interpretation reading of the extension candidate in the extension candidate temporary storage unit 5 different from the input reading in the input reading row temporary storage unit 2 as a sort key, and the extension candidates and the like in ascending order. Align.
【0041】10は補正位置順整列部で、拡張候補一時
記憶部5中の拡張候補の解釈読みの中で入力読み列一時
記憶部2中の入力読みと異なる箇所のうち、先頭に一番
近いものの先頭からの位置をソートキーとして拡張候補
等を昇順に整列させる。11は尤度計算部で、指示され
た拡張候補の解釈読みの総合尤度を、予め準備した読み
隣接行列要素の得点和として算出する。Reference numeral 10 denotes a correction position order aligning unit, which is the closest to the beginning among the different readings of the extension candidates in the extension candidate temporary storage unit 5 from the input readings in the input reading sequence temporary storage unit 2. The expansion candidates are arranged in ascending order using the position from the beginning of the thing as a sort key. A likelihood calculation unit 11 calculates the total likelihood of the interpretation reading of the designated extension candidate as the score sum of the reading adjacent matrix elements prepared in advance.
【0042】12は尤度順整列部で、尤度計算部11が
算出した拡張候補一時記憶部5中の拡張候補の解釈読み
の尤度をソートキーとして拡張候補等を降順に整列させ
る。13は表示順位設定部で、拡張候補一時記憶部5内
の拡張候補の中で、第一ソートキーを「尤度」、第二ソ
ートキーを「補正箇所数」、第三ソートキーを「補正位
置」として優先順に並べる。また、特定の候補の尤度
が、予め定めた水準を越えて際立って高い場合は、他の
候補を省く。A likelihood order sorting unit 12 sorts the expansion candidates and the like in descending order using the likelihood of the interpretation reading of the expansion candidates in the expansion candidate temporary storage unit 5 calculated by the likelihood calculation unit 11 as a sort key. Reference numeral 13 denotes a display order setting unit, in the expansion candidates in the expansion candidate temporary storage unit 5, the first sort key is “likelihood”, the second sort key is “correction number”, and the third sort key is “correction position”. Arrange in priority order. Also, if the likelihood of a particular candidate is significantly higher than a predetermined level, then the other candidates are omitted.
【0043】14は候補表示部で、拡張候補一時記憶部
5内の拡張候補を表示装置6上にメニュー表示する。こ
の際、表示属性は表示属性更新部8で設定されたものに
従って表示する。15は最尤候補判定部で、拡張候補一
時記憶部5内の第一候補の解釈読みが入力読み列一時記
憶部2内の入力読みと異なる場合に第一候補は誤りを補
正された拡張候補であると判定し、警告信号を出力す
る。Reference numeral 14 denotes a candidate display section for displaying the expansion candidates in the expansion candidate temporary storage section 5 on the display device 6 as a menu. At this time, the display attributes are displayed according to those set by the display attribute updating unit 8. Reference numeral 15 is a maximum likelihood candidate determination unit, and when the interpretation reading of the first candidate in the extension candidate temporary storage unit 5 is different from the input reading in the input reading string temporary storage unit 2, the first candidate is an extension candidate whose error has been corrected. Then, a warning signal is output.
【0044】16は警告出力部で、最尤候補判定部15
から警告信号を受けると、候補表示部14に警告文を出
力し、表示装置6の画面下端に警告文を表示する。ま
た、同時に、警告を表現するアラームを鳴らす。17は
テキスト記憶部で、入力候補及び選択された拡張候補の
表記とその補正履歴情報とを対応付けて記憶する。補正
履歴情報は、解釈読みが入力読みでない場合にはそのこ
とを示す情報を保持する。Reference numeral 16 is a warning output unit, which is a maximum likelihood candidate determination unit 15
When the warning signal is received from the warning message, the warning message is output to the candidate display unit 14, and the warning message is displayed at the lower end of the screen of the display device 6. At the same time, an alarm that sounds a warning sounds. Reference numeral 17 denotes a text storage unit which stores the notations of the input candidates and the selected expansion candidates and their correction history information in association with each other. The correction history information holds information indicating that the interpretation reading is not the input reading.
【0045】18は候補選択部で、キーボード装置上の
「変換キー」の押下に従い、注目候補一時記憶部7上の
注目順序番号を順次インクリメントする。そして、現在
が候補の数(最大の候補序番号)と同じならば、次は
「1」に設定する。また「番号キー」で特定の候補を指
定されると、該当する候補をテキスト記憶部17に格納
する。また「確定キー」、「無変換キー」が打鍵される
とその時点での注目候補一時記憶部7中の注目候補番号
と対応する拡張候補をテキスト記憶部17に格納する。
さらに、「読みキー」が入力される場合は、その時点で
の注目候補一時記憶部7中の注目候補番号と対応する拡
張候補をテキスト記憶部17に格納した上、入力された
読みを入力読み列一時記憶部2へ書き込む。A candidate selection unit 18 sequentially increments the attention sequence number on the attention candidate temporary storage unit 7 when the "conversion key" on the keyboard device is pressed. Then, if the current number is the same as the number of candidates (the maximum candidate ordinal number), the next is set to "1". When a specific candidate is designated by the “number key”, the corresponding candidate is stored in the text storage unit 17. When the “confirmation key” and the “non-conversion key” are pressed, the expansion candidate corresponding to the attention candidate number in the attention candidate temporary storage unit 7 at that time is stored in the text storage unit 17.
Further, when the "reading key" is input, the extended candidate corresponding to the attention candidate number in the attention candidate temporary storage unit 7 at that time is stored in the text storage unit 17, and the input reading is input and read. Write to the column temporary storage unit 2.
【0046】19は補正箇所検索部で、「検索キー」の
打鍵に応じて、テキスト記憶部17中の補正履歴情報を
検索し、対応するテキストのテキスト記憶部17中での
位置情報、例えば変換語の文字列の先頭から何文字目に
位置するかといった情報を検索結果一時記憶部20へ格
納する。20は検索結果一時記憶部で、補正箇所検索部
19が検索した補正履歴のある候補の位置情報を一時記
憶する。Reference numeral 19 denotes a correction location search unit that searches the correction history information in the text storage unit 17 according to the keystroke of the "search key", and the position information of the corresponding text in the text storage unit 17, for example, conversion. Information such as the position of the character from the beginning of the character string of the word is stored in the search result temporary storage unit 20. A search result temporary storage unit 20 temporarily stores the position information of the candidate with the correction history searched by the correction location searching unit 19.
【0047】21は検索結果表示部で、検索結果一時記
憶部20に格納された位置情報に基づき、表示装置6上
の該当する位置の文字の表示属性を「反転」表示する。
22は読み評価部であり、読み入力部1からの読み入力
に従い、入力読み列一時記憶部2の読みが変化する度
に、入力読み列一時記憶部2の読み列を対象として、日
本語の読みの妥当性を音節構造や発音特性に基づき評価
し、入力された文字が有り得ない場合やその出現頻度が
著しく低い場合に、リジェクト信号と代替候補読み列を
出力する。Reference numeral 21 denotes a search result display section, which displays the display attribute of the character at the corresponding position on the display device 6 in "reverse" based on the position information stored in the search result temporary storage section 20.
Reference numeral 22 denotes a reading evaluation unit, which reads the reading sequence in the input reading sequence temporary storage unit 2 every time the reading in the input reading sequence temporary storage unit 2 changes in accordance with the reading input from the reading input unit 1. The validity of reading is evaluated based on the syllable structure and the pronunciation characteristics, and when the input character is impossible or the appearance frequency is extremely low, the reject signal and the alternative candidate reading string are output.
【0048】23は読み訂正部であり、読み評価部22
からリジェクト信号が出た時には入力読み列一時記憶部
2中の読み列を代替候補読み列に置換する。なお。実際
の文書作成装置は、これ以外にも、読み、番号、各種制
御キーを打鍵入力するためのキーボード装置や、文節区
切り修正、テキスト編集のための種々の構成要素を必要
とするが、ここでの詳細な説明を省略する。Reference numeral 23 is a reading correction unit, which is a reading evaluation unit 22.
When a reject signal is output from, the reading string in the input reading string temporary storage unit 2 is replaced with the alternative candidate reading string. Incidentally. In addition to this, the actual document creating apparatus requires a keyboard device for reading, entering numbers, and entering various control keys, and various constituent elements for correcting segment breaks and text editing. The detailed description of is omitted.
【0049】また、図の構成要素間の関係は主にデータ
の流れに沿って説明しており、図に表現していない構成
要素間の制御信号のやりとりは以降の説明のなかで述べ
る。次に、本実施例における文字処理装置の動作につい
て説明する。図2は、本実施例による文字処理装置の基
本動作を示すフローチャートである。また、図3乃至図
6は、図2に示す基本動作の各ステップにおける表示装
置の表示例を模式的に示した図であり、以下の説明にお
いて、適宜参照する。 「変換処理」先ず、ある程度入力作業が進展し、入力待
状態にある状態を想定して説明する。この入力待状態の
表示例が図3に示される。図中、下線で示すカーソル位
置は入力位置を示している。Further, the relationship between the constituent elements in the figure is explained mainly along the flow of data, and the exchange of control signals between the constituent elements not shown in the figure will be described in the following description. Next, the operation of the character processing device in this embodiment will be described. FIG. 2 is a flowchart showing the basic operation of the character processing device according to this embodiment. 3 to 6 are diagrams schematically showing display examples of the display device in each step of the basic operation shown in FIG. 2, which will be appropriately referred to in the following description. "Conversion process" First, a description will be given assuming a state in which input work has progressed to some extent and is in an input waiting state. A display example of this input waiting state is shown in FIG. In the figure, the underlined cursor position indicates the input position.
【0050】(101)読み入力処理ステップ 入力待ち状態の時、オペレータが読み入力部1から「読
みキー」を打鍵入力すると、対応する読みコードが順次
入力読み列一時記憶部2に入力読み列として蓄積され
る。また、表示装置6の画面上には、打鍵入力された変
換前の読みが反転表示される(図4参照)。(101) Reading input processing step In the input waiting state, when the operator inputs a "reading key" from the reading input section 1, the corresponding reading codes are sequentially input to the input reading row temporary storage section 2 as an input reading row. Accumulated. Further, on the screen of the display device 6, the reading input by the keystroke before conversion is highlighted (see FIG. 4).
【0051】この時、読み評価部22は、入力読み列一
次記憶部2の読みが変化する度に、記憶された読み列を
対象として日本語の読みとしての妥当性を判定する。例
えば、図4に示すように、使用者が誤って読み「う」の
後に半濁点「゜」を打鍵入力してしまったとすると、読
み評価部22は、この半濁点「゜」に対して適切なもの
か否化を判断する。この例の場合、半濁点「゜」は、日
本語の音節特性上有り得ない文字と判断する。そして、
読み訂正部23は、この半濁点「゜」を自動的に削除す
る。引続き、オペレータは図5に示す文字列をキー入力
する。At this time, each time the reading in the input reading string primary storage unit 2 changes, the reading evaluation unit 22 determines the validity as a Japanese reading for the stored reading string. For example, as shown in FIG. 4, if the user erroneously inputs the semi-voiced point “°” after reading “U”, the reading evaluation unit 22 is appropriate for the semi-voiced point “°”. Decide if it is not. In the case of this example, the semi-dakuten “°” is judged to be an impossible character due to the Japanese syllable characteristics. And
The reading correction unit 23 automatically deletes this semi-voiced point "°". Subsequently, the operator key-inputs the character string shown in FIG.
【0052】この状態で、オペレータは、表示装置6上
の表示で入力した読みを確認する。そして、入力読み列
一時記憶部2の読みを漢字かな混じり表記にすることを
意図して、「変換キー」を打鍵すると、(102)へ制
御が移される。それ以外は、入力待ち状態へ戻る。 (102)拡張変換候補生成ステップ 拡張候補生成部4は、入力読み列一時記憶部2の読みの
一部を他の読みに解釈することにより、入力誤りを一部
許容したかな漢字変換を行う。ここで、読みの変換方法
は、従来の場合と同様の方法を用いる。例えば、「ぢ」
と「じ」、「づ」と「ず」、「とお」と「とう」等の誤
り易い仮名遣いの組を読み替えテーブルに格納してお
く。そして、入力された読みが、この読み替えテーブル
内に格納したものと一致すれば、入力読み列内の読みを
読み替えテーブル内の対応する読みに読み替える。そし
て、読み替えた読み文字列(拡張読み文字列)について
かな漢字変換を行う。さらに、変換結果を拡張候補一時
記憶部5に格納する。In this state, the operator confirms the reading input on the display on the display device 6. Then, when the "conversion key" is pressed with the intention that the reading of the input reading string temporary storage unit 2 is written in kanji and kana, the control is transferred to (102). Otherwise, it returns to the input waiting state. (102) Extended conversion candidate generation step The extended candidate generation unit 4 interprets a part of the reading of the input reading string temporary storage unit 2 into another reading, thereby performing Kana-Kanji conversion with some input errors allowed. Here, as the reading conversion method, the same method as in the conventional case is used. For example, "ぢ"
An error-prone set of pseudonyms, such as "ji", "zu" and "zu", and "to" and "to" is stored in the replacement table. Then, if the input reading matches the one stored in this reading table, the reading in the input reading row is replaced with the corresponding reading in the reading table. Then, kana-kanji conversion is performed on the replaced reading character string (extended reading character string). Further, the conversion result is stored in the extension candidate temporary storage unit 5.
【0053】そして、「変換キー」を打鍵すると、入力
位置の反転表示読みを入力のミスを考慮して生成した読
み替え文字列に対して漢字かな混じり列に変換し、その
拡張候補を表示する。 (103)表示順位設定ステップ 表示順位設定部13は、拡張候補一時記憶部5中の候補
に対して表示順位設定処理を施し、第一ソートキーを
「尤度」、第二ソートキーを「補正箇所数」、第三ソー
トキーを「補正位置」として優先順に並べる。この表示
順位設定処理の詳細を図9を参照して以下に説明する。 「表示順位設定処理」先ず、表示順位設定部13は、拡
張候補一次記憶部5に格納された拡張候補文字列を尤度
計算部11に引き渡す。When the "conversion key" is pressed, the reverse-displayed reading of the input position is converted into a kanji-kana mixed string for the replacement character string generated in consideration of an input error, and the expansion candidate is displayed. (103) Display Order Setting Step The display order setting unit 13 performs a display order setting process on the candidates in the extended candidate temporary storage unit 5, and sets the first sort key to “likelihood” and the second sort key to “correction number. , And the third sort key is set as “correction position” in order of priority. Details of the display order setting process will be described below with reference to FIG. "Display Order Setting Process" First, the display order setting unit 13 delivers the extension candidate character string stored in the extension candidate primary storage unit 5 to the likelihood calculation unit 11.
【0054】(201)尤度計算ステップ 尤度計算部11は、拡張候補一時記憶部5中の拡張候補
の拡張読み毎に、その読みのつながりから得られる読み
隣接頻度行列の得点和を求める。例えば、「こうしよ
う」という読みの場合、図10に示すような5段階の得
点を有する隣接頻度行列を用いて、総合尤度Sを求め
る。例えば、「こ→う」「う→し」「し→よ」「よ→
う」の四つの読みの遷移の評価値の和は、5+3+3+
4=15点とカウントし、長さの違う文字列と比較する
ため、さらに読み遷移の平均値を求め、小数点以下を切
り捨てる。このようにして算出した値を「こうしよう」
の尤度とする。本例の場合は、15÷4=3.75 な
ので「3」が尤度となる。(201) Likelihood calculation step The likelihood calculation unit 11 obtains, for each extended read of the extended candidate in the extended candidate temporary storage unit 5, the sum of scores of the reading adjacency frequency matrix obtained from the connection of the readings. For example, in the case of reading “koso rou”, the total likelihood S is obtained using an adjacent frequency matrix having a score of 5 levels as shown in FIG. For example, "ko → u""u → shi""shi → yo""yo →
The sum of the evaluation values of the four reading transitions of "u" is 5 + 3 + 3 +
4 = 15 points are counted, and in order to compare with a character string having a different length, the average value of reading transitions is further obtained, and the fractional part is truncated. "Let's do this" with the value calculated in this way
The likelihood of In the case of this example, since 15/4 = 3.75, "3" is the likelihood.
【0055】(202)尤度順整列ステップ 尤度計算部11が、拡張候補一時記憶部5中の候補の異
なり読み毎に尤度を付与すると、尤度順整列部12は、
尤度が高いもの順に候補を並べ変える。並び変えた時の
拡張候補一時記憶部5中の候補の順位が図11に示され
る。 (203)補正箇所数順整列ステップ 次に、補正数順整列部9は、尤度順整列が済んだ拡張候
補一時記憶部5中の候補を、同一尤度の候補の内、補正
箇所数が小さいもの順に並び変える。この並び変えの結
果が図12に示される。(202) Likelihood Order Alignment Step When the likelihood calculation unit 11 assigns a likelihood to each different reading of candidates in the extended candidate temporary storage unit 5, the likelihood order alignment unit 12
The candidates are rearranged in descending order of likelihood. FIG. 11 shows the order of candidates in the expansion candidate temporary storage unit 5 when rearranged. (203) Correction Point Number Alignment Step Next, the correction number order arranging unit 9 determines that the candidates in the expanded candidate temporary storage unit 5 that have been subjected to the likelihood order arrangement have the same number of correction points among the candidates of the same likelihood. Sort in ascending order. The result of this rearrangement is shown in FIG.
【0056】(204)補正位置順整列ステップ さらに、尤度順整列部12は、補正箇所数順整列が済ん
だ拡張候補一時記憶部5中の候補を、同一尤度、同一補
正箇所の候補に対して、最初の補正位置が先頭に近いも
のの順に並び変える。この並び換えの結果が図13に示
される。また、優先順に並べた結果、先頭になった最優
先候補の候補番号を注目候補一時記憶部7に記録する。(204) Correction Position Order Alignment Step Further, the likelihood order alignment unit 12 sets the candidates in the expansion candidate temporary storage unit 5 which have been ordered in the correction position number as candidates of the same likelihood and the same correction place. On the other hand, the first correction position is rearranged in the order of being closer to the beginning. The result of this rearrangement is shown in FIG. In addition, the candidate number of the highest priority candidate at the top as a result of being arranged in the priority order is recorded in the focused candidate temporary storage unit 7.
【0057】以上の処理を終了すると、再び図2に示す
処理に復帰する。 (104)表示属性設定ステップ 表示属性更新部8は、拡張候補一時記憶部5内で先頭に
設定された候補に対して反転属性を付ける。また、各拡
張候補の解釈読みの中で、別読みに解釈された部分には
下線表示の属性を付ける。When the above process is completed, the process returns to the process shown in FIG. (104) Display Attribute Setting Step The display attribute updating unit 8 attaches a reverse attribute to the candidate set at the beginning in the extended candidate temporary storage unit 5. Further, in the interpretation reading of each extension candidate, the portion interpreted as another reading is given an underlined attribute.
【0058】(105)変換結果表示ステップ 候補表示部14は、拡張候補一時記憶部5中の変換結果
を表示属性情報に基づいて表示装置6に表示する。表示
の状態が図6に示される。図では、上から順に第一候
補、第二候補が表示され第一候補は現在の注目候補を意
味する反転表示がなされている。また、各々の拡張候補
には対応する解釈読みが同時に表示されており、入力読
みと異なる部分は下線が付けられている。(105) Conversion Result Display Step The candidate display unit 14 displays the conversion result in the expansion candidate temporary storage unit 5 on the display device 6 based on the display attribute information. The display state is shown in FIG. In the figure, the first candidate and the second candidate are displayed in order from the top, and the first candidate is highlighted in reverse meaning the current candidate of interest. In addition, corresponding interpretation readings are simultaneously displayed for each extension candidate, and portions different from the input readings are underlined.
【0059】(106)最尤候補判定ステップ 最尤候補判定部15は、拡張候補一時記憶部5中の第一
候補の読み列と入力読み列一時記憶部2中の入力読み列
を比較する。そして、一致しない場合は(107)へ制
御を移し、一致する場合は、(108)へ制御を移す。 (107)警告出力ステップ 第一候補の読み列と入力読み列とが一致しないと判定し
た場合、最尤候補判定部15は、警告信号を警告出力部
16に出力する。警告出力部16は、警告信号を受け取
り、候補表示部14に対して警告文を出力し、表示装置
6に警告文を表示させる。また、警告出力部16は、警
告を表現するアラームを鳴らす。(106) Maximum-Likelihood Candidate Determination Step The maximum-likelihood candidate determination unit 15 compares the reading sequence of the first candidate in the extended candidate temporary storage unit 5 with the input reading sequence in the input reading sequence temporary storage unit 2. If they do not match, the control is moved to (107), and if they match, the control is moved to (108). (107) Warning Output Step When it is determined that the reading sequence of the first candidate and the input reading sequence do not match, the maximum likelihood candidate determination unit 15 outputs a warning signal to the warning output unit 16. The warning output unit 16 receives the warning signal, outputs the warning sentence to the candidate display unit 14, and causes the display device 6 to display the warning sentence. Further, the warning output unit 16 sounds an alarm expressing a warning.
【0060】図6に示す例では、第一候補の解釈読み
「こうしょう」が入力読み「こうしよう」と異なるた
め、画面下端には『かな漢字変換で補正を行いました。
ご注意下さい』という警告文が表示されるとともに、ア
ラームが「ピッ」という発信音を発する。 (108)候補選択ステップ オペレータは、表示装置6に表示されている拡張候補の
中から所望のものを選択し、対応する候補番号をキーボ
ード装置から打鍵入力する。もしくは、「変換キー」を
打鍵して、現在の注目候補を逐次更新して所望の拡張候
補を選択し、「確定キー」、「読みキー」を打鍵して、
注目候補を選択する。この候補選択処理の詳細を図14
を用いて以下に説明する。 「候補選択処理」 (301)入力判定ステップ 表示装置6上に拡張候補が表示されている状態で、オペ
レータがキーボードから制御キーを打鍵すると、制御キ
ーの違いにより以下の通り処理を分岐する。例えば「読
みキー」が打鍵入力されると(302)へ進む。「確定
キー」が打鍵入力されると(303)へ進む。「変換キ
ー」が打鍵入力されると(304)へ進む。「番号キ
ー」が打鍵入力されると(305)へ進む。In the example shown in FIG. 6, the interpretation reading "Koushou" of the first candidate is different from the input reading "Kousou", so "Kana-Kanji conversion" was performed at the bottom of the screen.
Please be careful ”warning message is displayed and the alarm emits a beep. (108) Candidate Selection Step The operator selects a desired expansion candidate from the expansion candidates displayed on the display device 6 and inputs the corresponding candidate number from the keyboard device. Alternatively, the "conversion key" is typed, the current candidate of interest is sequentially updated, the desired expansion candidate is selected, and the "decision key" and "reading key" are typed,
Select attention candidates. Details of this candidate selection process are shown in FIG.
Will be described below. "Candidate Selection Process" (301) Input Judgment Step When the operator presses a control key from the keyboard while the expansion candidate is displayed on the display device 6, the process branches as follows depending on the difference of the control key. For example, when the "reading key" is input by keystroke, the process proceeds to (302). When the "confirmation key" is entered, the process proceeds to (303). When the "conversion key" is entered, the process proceeds to (304). When the "number key" is entered, the process proceeds to (305).
【0061】(302)読みキー処理ステップ 読み入力部1から新たに読みが打鍵入力されると、表示
中の注目候補に補正の有無を示す補正履歴コードを付け
てテキスト記憶部17へ格納し、入力読み列一時記憶部
2、拡張候補一時記憶部5、その他の変換途中情報記憶
部の内容をクリアしたのち、入力読み列一時記憶部2に
該当する読みを格納したのち、入力待ち状態に戻る。(302) Reading Key Processing Step When a new reading is entered from the reading input section 1, a correction history code indicating the presence or absence of correction is attached to the attention candidate being displayed and stored in the text storage section 17, After clearing the contents of the input read string temporary storage unit 2, the extension candidate temporary storage unit 5, and the other conversion-in-progress information storage units, after storing the corresponding readings in the input read string temporary storage unit 2, it returns to the input waiting state. .
【0062】(303)確定キー処理ステップ 「確定キー」が打鍵されると、表示中の注目候補に補正
の有無を示す補正履歴コードを付けてテキスト記憶部1
7へ格納したのち、入力読み列一時記憶部2、拡張候補
一時記憶部5、その他の変換途中情報記憶部の内容をク
リアして、入力待ち状態へ戻る。「確定キー」と同様、
「無変換キー」の場合も、注目候補の読みのひらがな表
記が選択されたと見なし「確定キー」の場合と同様に処
理する。(303) Confirmation key processing step When the "confirmation key" is pressed, a correction history code indicating the presence or absence of correction is attached to the attention candidate being displayed and the text storage unit 1 is added.
After storing in 7, the contents of the input reading string temporary storage unit 2, the extension candidate temporary storage unit 5, and other conversion in-progress information storage units are cleared, and the process returns to the input waiting state. Like the "Enter key"
Also in the case of the "non-conversion key", it is considered that the reading hiragana notation of the attention candidate is selected, and the same processing as in the case of the "confirmation key" is performed.
【0063】(304)変換キー処理ステップ 候補表示状態での「変換キー」は、次優先順の同音語表
示の指示となり、「変換キー」の打鍵に応じて、候補選
択部18が注目候補一時記憶部7中の候補番号をインク
リメントする。するとそれに応じて候補表示部14は対
応する候補を表示装置6に表示する。このあと、処理は
再び入力待ち状態に戻る。(304) Conversion key processing step The "conversion key" in the candidate display state is an instruction to display a homophone in the next priority order, and the candidate selection unit 18 causes the candidate selection section 18 to temporarily display the candidate candidate in response to the keystroke of the "conversion key". The candidate number in the storage unit 7 is incremented. Then, the candidate display unit 14 displays the corresponding candidate on the display device 6 accordingly. After that, the process returns to the input waiting state again.
【0064】(305)候補番号処理ステップ 表示装置6上の拡張候補に対応した番号が入力される
と、候補選択部18は対応する拡張候補に補正の有無を
示す補正履歴コードを付けてテキスト記憶部17へ格納
したのち、入力読み列一時記憶部2、拡張候補一時記憶
部5、その他の変換途中情報記憶部の内容をクリアし
て、入力待ち状態へ戻る。(305) Candidate No. Processing Step When a number corresponding to an expansion candidate on the display device 6 is input, the candidate selection unit 18 adds a correction history code indicating correction or not to the corresponding expansion candidate and stores the text. After storing in the unit 17, the contents of the input read string temporary storage unit 2, the extension candidate temporary storage unit 5, and other conversion in-progress information storage units are cleared, and the state returns to the input waiting state.
【0065】この状態では、オペレータは、文字入力の
正誤の確認を行うために、補正箇所の表示を行わせるこ
とができる。以下、この補正箇所検索処理について、図
15を参照して説明する。 「補正箇所検索処理」 (401)補正箇所検索指示ステップ オペレータは一旦入力が完了した後、自動的に入力読み
の補正がなされたかどうかを確認するため「検索キー」
を打鍵する。In this state, the operator can display the corrected portion in order to confirm whether the character input is correct. Hereinafter, the correction location search process will be described with reference to FIG. "Correction point search process" (401) Correction point search instruction step After the input is completed once, the operator can automatically check whether or not the input reading is corrected by the "search key".
Type the key.
【0066】(402)補正箇所検索ステップ 補正箇所検索部19はテキスト記憶部17中に、テキス
ト(文字列の表記)と対応付けて記録されている補正履
歴情報をテキストの先頭から順に検索する。そして、入
力読みを補正したものであることを示す情報を有するテ
キストを検索すると、検索したテキストの位置情報を検
索結果一時記憶部20に一旦格納する。(402) Correction Point Retrieval Step The correction point searching unit 19 searches the text storage unit 17 for correction history information recorded in association with the text (notation of a character string) in order from the beginning of the text. Then, when a text having information indicating that the input reading is corrected is searched, the position information of the searched text is temporarily stored in the search result temporary storage unit 20.
【0067】(403)補正箇所表示ステップ 検索結果表示部21は検索結果一時記憶部20中の位置
情報を基にして表示画面上の対応するテキストの位置を
反転属性を付けて表示装置6に表示する。図7及び図8
は、補正箇所の反転表示の前後の状態を示している。 (変形例)上記実施例の読み入力処理(101)では、
誤入力文字に対して自動的に削除する場合について説明
したが、ここでは、誤入力文字を訂正する動作につい
て、図16乃至図18を参照して説明する。 「逐次補正処理」 (501)読み文字入力ステップ 表示装置6上に入力読み列が表示されている状態で、さ
らに読み入力部1から読み文字が入力されると、その読
みは入力読み列一時記憶部2に逐次格納される。(403) Correction Point Display Step The search result display section 21 displays the position of the corresponding text on the display screen on the display device 6 with the inversion attribute based on the position information in the search result temporary storage section 20. To do. 7 and 8
Shows the states before and after the highlighted display of the corrected portion. (Modification) In the reading input process (101) of the above embodiment,
The case of automatically deleting an erroneously input character has been described. Here, an operation of correcting an erroneously input character will be described with reference to FIGS. 16 to 18. "Sequential correction process" (501) Reading character input step When the reading character is further input from the reading input unit 1 while the input reading string is displayed on the display device 6, the reading is temporarily stored in the input reading string. Sequentially stored in the unit 2.
【0068】(502)読み評価ステップ 読み評価部22は、読み入力部1から読み文字が入力さ
れる度に、入力読み列一時記憶部2の読み列を対象とし
て、日本語の読みの妥当性を音節構造や発音特性に基づ
き評価する。そして、有り得ない場合や著しく出現頻度
が低い場合に、リジェクト信号と代替候補読みを出力す
る。(502) Reading Evaluation Step The reading evaluation unit 22 targets the reading string in the input reading string temporary storage unit 2 every time a reading character is input from the reading input unit 1 and determines the validity of reading of Japanese. Is evaluated based on syllable structure and pronunciation characteristics. Then, when it is impossible or when the appearance frequency is extremely low, the reject signal and the alternative candidate reading are output.
【0069】(503)読み訂正ステップ 読み訂正部23は、読み評価部22からリジェクト信号
と代替候補読みを受けると、代替読み列を入力読み列一
時記憶部2の読みと置換し、同時に表示装置6に読み自
動補正を実施したことを警告表示する。この例が図17
及び図18に示されている。(503) Reading correction step When the reading correction section 23 receives the reject signal and the alternative candidate reading from the reading evaluation section 22, the reading correction section 23 replaces the reading row of the input reading row temporary storage section 2 with the display device at the same time. A warning display indicating that the automatic reading correction has been performed is displayed in step 6. This example is shown in FIG.
And shown in FIG.
【0070】このように、誤入力の可能性が高い文字列
に対して、読み文字列の自動補正を行い、かつ警告表示
を行うことにより、オペレータは誤入力処理の手間が省
け、入力動作の効率よく行うことができる。また、自動
補正が不適切な場合であっても、警告表示によって補正
箇所に注意を喚起され、不適切な補正箇所を看過するこ
とを防ぐことができる。As described above, by automatically correcting the reading character string and displaying the warning for the character string that is likely to be erroneously input, the operator can save the trouble of erroneous input processing and It can be done efficiently. Further, even when the automatic correction is inappropriate, it is possible to prevent the correction portion from being overlooked by the warning display, and the inappropriate correction portion is overlooked.
【0071】このように、上記の実施例による文字処理
装置においては、日本語入力時に誤入力が行われた場
合、自動的に補正候補を生成して元の読みとの違いを明
示的に表示するため、補正候補の視認性を高くすること
ができる。また、第一候補を補正候補とする場合には警
告を発することにより、候補の確認作業が容易になる。
また、一旦入力終了した後、再度補正箇所を検索して確
認することができる。さらに、著しく日本語として不適
当な文字等が入力されると、これを判定し、変換指示を
待たずに自動的に補正することができる。このような機
能により、文字入力作業の操作性が著しく向上する。As described above, in the character processing apparatus according to the above embodiment, when an erroneous input is made at the time of inputting Japanese, correction candidates are automatically generated and the difference from the original reading is explicitly displayed. Therefore, the visibility of the correction candidate can be increased. Further, by issuing a warning when the first candidate is set as a correction candidate, the candidate confirmation work becomes easy.
In addition, after the input is completed, the corrected portion can be searched and confirmed again. Furthermore, when a character or the like that is remarkably inappropriate as Japanese is input, it can be determined and automatically corrected without waiting for the conversion instruction. With such a function, the operability of character input work is significantly improved.
【0072】なお、上記実施例においては、拡張候補と
して文字表記と解釈読みを両方表示していたが、文字表
記を表示しなくても構わない。さらに、上記の実施例に
おいて、警告出力部16は、警告文を表示するように構
成されていたが、画面フラッシュや一部の文字のブリン
クなど別の警告表示を行うように構成してもよい。In the above embodiment, both the character notation and the interpretation reading are displayed as the expansion candidates, but the character notation may not be displayed. Furthermore, although the warning output unit 16 is configured to display a warning sentence in the above-described embodiment, it may be configured to perform another warning display such as screen flashing or blinking of some characters. .
【0073】[0073]
【発明の効果】以上のように、請求項1及び請求項6に
かかる発明においては、入力読み列と異なる読みに解釈
された箇所を他と異なる表示形態を用いて表示するよう
に構成されているので、補正箇所の視認性が向上する。
また、請求項2及び請求項7にかかる発明においては、
入力された読み文字列を異なる読みに解釈して拡張読み
文字列を生成し、さらに、この拡張読み文字列に基づい
て生成した拡張候補に対して優先順位付けして表示する
ように構成されているので、入力時に所望の文字候補を
容易に選択することが可能となる。As described above, in the invention according to claim 1 and claim 6, the portion which is interpreted as a reading different from the input reading sequence is displayed by using a display form different from the others. Therefore, the visibility of the corrected portion is improved.
Further, in the invention according to claim 2 and claim 7,
It is configured to interpret the input reading character string into different readings, generate an extended reading character string, and further prioritize and display the extended candidates generated based on this extended reading character string. Therefore, it is possible to easily select a desired character candidate when inputting.
【0074】さらに、請求項3及び請求項8の発明にお
いては、入力された読み文字列と異なる拡張読み文字列
に基づいて生成された拡張候補が最尤候補として表示さ
れた場合に、警告を発するように構成されているので、
オペレータに対して拡張候補の生成の適否の確認を促す
ことができる。さらに、請求項4及び請求項9の発明に
おいては、文法上あるいは慣用上使用される可能性の少
ない文字等が入力された場合に、予め設定した規則にし
たがってこの誤入力文字を訂正するように構成されてい
るので、オペレータが認識することなく適切な読み入力
を行うことが可能となり、オペレータの操作負担が軽減
される。Further, in the inventions of claims 3 and 8, a warning is issued when an extended candidate generated based on an extended reading character string different from the input reading character string is displayed as the maximum likelihood candidate. Is configured to emit,
It is possible to prompt the operator to confirm whether or not the expansion candidate is generated. Further, in the inventions of claims 4 and 9, when a character or the like that is less likely to be used grammatically or commonly is input, the erroneous input character is corrected according to a preset rule. Since it is configured, an appropriate reading input can be performed without the operator recognizing, and the operator's operation load is reduced.
【0075】さらに、請求項5及び請求項10の発明に
おいては、入力読み文字列を補正して生成した拡張候補
の中から所望の文字を選択して文章を生成した後、その
文章中の文字の内、補正した読み文字列に基づいて生成
された文字部分を他と識別して表示できるように構成さ
れているので、文章作成後、補正した読み文字列に基づ
いて生成された部分の正誤の確認あるいは修正作業を容
易に行うことができる。Further, in the inventions of claims 5 and 10, after a desired character is selected from the expansion candidates generated by correcting the input reading character string to generate a sentence, the character in the sentence is selected. Among these, the character part generated based on the corrected reading character string is configured to be displayed separately from other parts. Can be easily confirmed or corrected.
【図1】本発明の実施例における文字処理装置の構成を
示すブロック図である。FIG. 1 is a block diagram showing a configuration of a character processing device according to an embodiment of the present invention.
【図2】図1に示す文字処理装置の基本動作を示すフロ
ーチャートである。FIG. 2 is a flowchart showing a basic operation of the character processing device shown in FIG.
【図3】図1に示す文字処理装置に入力された読み文字
列の画面表示の一例を示す説明図である。FIG. 3 is an explanatory diagram showing an example of a screen display of a reading character string input to the character processing device shown in FIG. 1.
【図4】図1に示す文字処理装置の入力作業中の画面表
示例を示す説明図である。FIG. 4 is an explanatory diagram showing a screen display example during an input operation of the character processing device shown in FIG. 1.
【図5】図1に示す文字処理装置の入力作業中の画面表
示例を示す説明図である。5 is an explanatory diagram showing an example of a screen display during input work of the character processing device shown in FIG. 1. FIG.
【図6】図1に示す文字処理装置の入力作業中の画面表
示例を示す説明図である。6 is an explanatory diagram showing a screen display example during an inputting operation of the character processing device shown in FIG. 1. FIG.
【図7】本発明の実施例における面表示の他の例を示す
説明図である。FIG. 7 is an explanatory diagram showing another example of the surface display according to the embodiment of the present invention.
【図8】本発明の実施例における読み評価および読み訂
正動作時の画面表示の様子を示す説明図である。FIG. 8 is an explanatory diagram showing a state of screen display during reading evaluation and reading correction operations in the embodiment of the present invention.
【図9】本発明の実施例による文字処理装置の表示順位
設定処理を示すフローチャートである。FIG. 9 is a flowchart showing a display order setting process of the character processing device according to the embodiment of the present invention.
【図10】本発明の実施例による文字処理装置の尤度計
算部の隣接行列を示す模式図である。FIG. 10 is a schematic diagram showing an adjacency matrix of a likelihood calculator of the character processing device according to the embodiment of the present invention.
【図11】本発明の実施例による文字処理装置の表示順
位設定部における表示順位更新の様子を示す説明図であ
る。FIG. 11 is an explanatory diagram showing how the display order is updated in the display order setting unit of the character processing device according to the embodiment of the present invention.
【図12】本発明の実施例による文字処理装置の表示順
位設定部における表示順位更新の様子を示す説明図であ
る。FIG. 12 is an explanatory diagram showing a state of updating the display order in the display order setting unit of the character processing device according to the embodiment of the present invention.
【図13】本発明の実施例による文字処理装置の表示順
位設定部における表示順位更新の様子を示す説明図であ
る。FIG. 13 is an explanatory diagram showing a state of updating the display order in the display order setting unit of the character processing device according to the embodiment of the present invention.
【図14】本発明の実施例による文字処理装置の候補選
択処理の動作を示すフローチャートである。FIG. 14 is a flowchart showing an operation of a candidate selection process of the character processing device according to the embodiment of the present invention.
【図15】本発明の実施例による文字処理装置の補正箇
所検索処理の動作を示すフローチャートである。FIG. 15 is a flowchart showing an operation of a correction portion search process of the character processing device according to the embodiment of the present invention.
【図16】本発明の実施例による文字処理装置の逐次補
正処理の動作を示すフローチャートである。FIG. 16 is a flowchart showing the operation of the successive correction processing of the character processing device according to the embodiment of the present invention.
【図17】本発明の実施例による文字処理装置の逐次補
正処理における画面表示の一例を示す模式図である。FIG. 17 is a schematic diagram showing an example of a screen display in the successive correction processing of the character processing device according to the embodiment of the present invention.
【図18】本発明の実施例による文字処理装置の逐次補
正処理における補正後の画面表示の一例を示す模式図で
ある。FIG. 18 is a schematic diagram showing an example of a screen display after correction in the successive correction processing of the character processing device according to the embodiment of the present invention.
【図19】従来の文字処理装置の構成を示すブロック図
である。FIG. 19 is a block diagram showing a configuration of a conventional character processing device.
【図20】従来の文字処理装置の画面表示の一例を示す
模式図である。FIG. 20 is a schematic diagram showing an example of a screen display of a conventional character processing device.
【図21】従来の文字処理装置の画面表示の他の例を示
す模式図である。FIG. 21 is a schematic diagram showing another example of screen display of a conventional character processing device.
1 読み入力部 4 拡張候補生成部 6 表示装置 8 表示属性更新部 9 補正数順整列部 10 補正位置順整列部 11 尤度計算部 12 尤度順整列部 13 表示順位設定部 14 候補表示部 15 最尤候補判定部 16 警告出力部 18 候補選択部 19 補正箇所検索部 21 検索結果表示部 22 読み評価部 23 読み訂正部 1 Reading Input Unit 4 Extended Candidate Generation Unit 6 Display Device 8 Display Attribute Update Unit 9 Correction Number Order Alignment Unit 10 Corrected Position Order Alignment Unit 11 Likelihood Calculation Unit 12 Likelihood Order Alignment Unit 13 Display Order Setting Unit 14 Candidate Display Unit 15 Maximum likelihood candidate determination unit 16 Warning output unit 18 Candidate selection unit 19 Corrected portion search unit 21 Search result display unit 22 Reading evaluation unit 23 Reading correction unit
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成6年2月17日[Submission date] February 17, 1994
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【特許請求の範囲】[Claims]
【手続補正2】[Procedure Amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】発明の詳細な説明[Name of item to be amended] Detailed explanation of the invention
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【発明の詳細な説明】Detailed Description of the Invention
【0001】[0001]
【産業上の利用分野】本発明は、ワープロ、パソコン等
のデジタルコンピュータ制御の文書処理システムに使用
され、日本語入力文書の誤入力補正機能を有する文字処
理装置及び文字処理方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device and a character processing method which are used in a word processing system such as a word processor or a personal computer and which is controlled by a digital computer and have a function of correcting an erroneous input of a Japanese input document.
【0002】[0002]
【従来の技術】近年、日本語の入力方式として、かな漢
字変換方式が主流となっている。この方式は、作成すべ
き文章の表記を指定するために文書処理装置に対して文
書の各文字の読みを入力データとして使用している。そ
して、読み文字列を入力データとしてかな漢字変換処理
を行う文書作成においては、この読みを入力指示する際
に、タイプミス、仮名遣いの間違い、シフト洩れ、など
に起因する指示間違いが多く発生している。2. Description of the Related Art In recent years, a kana-kanji conversion method has become the mainstream as a Japanese input method. This method uses the reading of each character of the document as input data to the document processing apparatus to specify the notation of the sentence to be created. Then, when creating a document in which kana-kanji conversion processing uses a phonetic character string as input data, there are many erroneous instructions due to typos, incorrect kana usage, shift omission, etc., when inputting and instructing this reading. .
【0003】そこで、従来、このような間違った読み入
力に対しても、所望の漢字仮名混じり列を得るためのか
な漢字変換方式が考案されている。図19は、このよう
な誤入力補正機能を有する従来の文字処理装置の構成を
示すブロック図である。図2において、1は読み入力部
であり、キーボード装置上で打鍵指示された文字に対応
するコードを発生する。Therefore, conventionally, a kana-kanji conversion method has been devised for obtaining a desired kanji-kana mixed string even with such an incorrect reading input. FIG. 19 is a block diagram showing the configuration of a conventional character processing device having such an erroneous input correction function. In FIG. 2, reference numeral 1 is a reading input unit, which generates a code corresponding to a character keyed on the keyboard device.
【0004】2は入力読み列一時記憶部であり、読み入
力部1から入力された文字コードを順次記憶し、一連の
文字読み列として一時記憶する。3は読み替えテーブル
であり、半導体記憶装置上に誤りやすい仮名遣いの組を
記憶する。例えば、「ぢ」と「じ」、「づ」と「ず」、
「とお」と「とう」等の組が記憶される。Reference numeral 2 denotes an input reading string temporary storage unit which sequentially stores the character codes input from the reading input unit 1 and temporarily stores them as a series of character reading strings. Reference numeral 3 is a replacement table for storing a set of pseudonyms used in the semiconductor storage device, which are prone to errors. For example, "ji" and "ji", "zu" and "zu",
A group such as "to" and "to" is stored.
【0005】4は読み替え列生成部であり、入力読み列
一時記憶部2に格納されている読みを読み替えテーブル
3内で検索する。そして、一致するものがあれば入力読
み列内の検索された読みを対応する読みに読み替える。
5は読み替え列一時記憶部であり、読み替え列生成部4
が読み替えた結果を読み替え列として一時記憶する。Reference numeral 4 is a replacement string generation unit, which searches the replacement table 3 for the readings stored in the input reading string temporary storage unit 2. Then, if there is a match, the retrieved reading in the input reading string is replaced with the corresponding reading.
A read sequence temporary storage unit 5 includes a read sequence generation unit 4
The temporary replacement result is temporarily stored as a replacement string.
【0006】6は表示装置であり、液晶表示装置上に、
指定されたコードに対応する文字を表示する。7は注目
候補一時記憶部であり、複数の変換候補の中で、現在注
目している変換候補の順序番号を一時記憶する。8は変
換候補生成部であり、キーボード上の「変換キー」の押
下に従い、入力読み列一時記憶部2と読み替え列一時記
憶部5内の入力読み列と読み替え列に対して、文節区切
りと各文節での変換候補を推定し、可能性の高い漢字仮
名交じり列の候補を生成する。A display device 6 is provided on the liquid crystal display device.
Display the character corresponding to the specified code. Reference numeral 7 denotes an attention candidate temporary storage unit that temporarily stores the sequence number of the conversion candidate currently being noticed among the plurality of conversion candidates. Reference numeral 8 denotes a conversion candidate generation unit, and when the "conversion key" on the keyboard is pressed, the input segment and the transposition column in the input reading sequence temporary storage unit 2 and the substitution sequence temporary storage unit 5 are separated into each phrase and Estimate conversion candidates in bunsetsu and generate candidates for kanji and kana mixed sequences with high probability.
【0007】9は変換候補一時記憶部であり、変換候補
生成部8が生成した変換候補を一時記憶する。例えば、
「こうり」という入力読みに対して、「こおり」という
読み替え列が生成されたときは、「小売り(こうり)、
公理(こうり)、高利(こうり)、功利(こうり)、氷
(こおり)、桑折(こおり)、凍り(こおり)」という
ように、各変換候補に対して読みを対応付けて記憶す
る。A conversion candidate temporary storage unit 9 temporarily stores the conversion candidates generated by the conversion candidate generation unit 8. For example,
When a replacement sequence of "Koori" is generated for the input reading of "Kouri", "Retail (Kouri),
"Axiom (Kouri), high profit (Kouri), utilitarianism (Kouri), ice (Koori), mulberry (Koori), freeze (Koori)" is stored in association with each conversion candidate.
【0008】10は候補表示部であり、変換候補一時記
憶部9内の変換候補を表示装置6に出力し、液晶画面上
に表示させる。この際、注目候補一時記憶部7を参照
し、複数の変換候補の中で現在注目されている変換候補
を反転表示する。注目候補一時記憶部7の内容が変われ
ば、その変換候補番号に対応する変換候補の表記を反転
表示する。A candidate display unit 10 outputs the conversion candidates in the conversion candidate temporary storage unit 9 to the display device 6 and displays them on the liquid crystal screen. At this time, the attention candidate temporary storage unit 7 is referred to and the currently noticed transformation candidate among the plurality of transformation candidates is highlighted. If the contents of the attention candidate temporary storage unit 7 change, the notation of the conversion candidate corresponding to the conversion candidate number is displayed in reverse video.
【0009】11は候補選択部であり、キーボード装置
上の「変換キー」の押下に従い、注目候補一時記憶部7
上の注目順序番号を順次インクリメントする。現在が同
音語候補の数(最大の順序番号)と同じならば、次は
「1」に設定する。また、「番号キー」の打鍵による候
補指示か、「確定キー」「読みキー」の打鍵による注目
候補指示があると、該当する候補が所望のものであると
して決定する。Reference numeral 11 denotes a candidate selection unit, which is a candidate candidate temporary storage unit 7 when the "conversion key" on the keyboard device is pressed.
The above noted sequence number is sequentially incremented. If the current number is the same as the number of homophone candidates (maximum sequence number), then set to "1". Further, when there is a candidate instruction by keystroke of the "number key" or a target candidate instruction by keystroke of the "confirmation key" and "reading key", the corresponding candidate is determined to be the desired one.
【0010】次に、上記の従来の文字処理装置の動作に
ついて説明する。先ず、読み入力部1から打鍵入力され
た読みは、入力読み列一時記憶部2に一時記憶される。
そして、利用者が「変換キー」を打鍵すると、読み替え
列生成部4は、読み替えテーブル3を参照して入力読み
列一時記憶部2中の部分読み列を置換した読み替え列を
生成し、読み替え列一時記憶部5に格納する。Next, the operation of the above-mentioned conventional character processing device will be described. First, the reading input from the reading input unit 1 is temporarily stored in the input reading string temporary storage unit 2.
When the user presses the "conversion key", the reading sequence generating unit 4 refers to the reading table 3 to generate a reading sequence in which the partial reading sequence in the input reading sequence temporary storage unit 2 is replaced, and the reading sequence is generated. It is stored in the temporary storage unit 5.
【0011】その後、変換候補生成部8は、入力読み列
一時記憶部2内の入力読み列と、読み替え列一時記憶部
5内の読み替え列に対する変換候補を生成し、変換候補
一時記憶部9に格納する。さらに、注目候補一時記憶部
に変換候補の先頭の候補番号である「1」を書き込む。
候補表示部10は、注目候補一時記憶部7に指定された
候補番号の候補だけを反転属性をつけて表示装置6に一
覧表示する。After that, the conversion candidate generation unit 8 generates conversion candidates for the input reading sequence in the input reading sequence temporary storage unit 2 and the reading sequence in the reading sequence temporary storage unit 5, and stores them in the conversion candidate temporary storage unit 9. Store. Further, the leading candidate number “1” of the conversion candidates is written in the attention candidate temporary storage unit.
The candidate display unit 10 displays a list of only the candidates of the candidate number specified in the attention candidate temporary storage unit 7 on the display device 6 with an inversion attribute.
【0012】また、利用者が「変換キー」を打鍵する
と、候補選択部11は、注目候補一時記憶部7内の番号
を順にインクリメントし、それに従って表示装置6上の
反転表示される変換候補が変化する。以上のようにし
て、例えば入力読み列「こうり」という入力に対して、
「こう」を「こお」と読み替えると、画面上には、図2
0に示す表示がなされる。従って、「氷」(こおり)を
入力するのに、仮名遣いを間違って「こうり」と入力し
ても、変換候補に必要な候補が表示されるので、その変
換候補を選択することによって簡単に所望の文字を入力
することができる。When the user presses the "conversion key", the candidate selection section 11 sequentially increments the numbers in the attention candidate temporary storage section 7, and accordingly the conversion candidate displayed on the display device 6 is highlighted. Change. As described above, for example, with respect to the input reading string “Kouri”,
If "kou" is read as "koo,"
The display shown in 0 is made. Therefore, even if you input "ice" (koori) by mistake and enter "kouri" in kana, the necessary candidates for conversion will be displayed, so you can easily select it by selecting the conversion candidate. You can enter the characters.
【0013】[0013]
【発明が解決しようとする課題】しかしながら、従来の
文字入力装置では、操作者の入力操作時における誤入力
補正の簡便化の観点から、さらに以下のような不都合が
あった。 (1)図19に示す文字処理装置において、入力読み列
中の部分読みが、読み替えテーブル3中の読み替え対象
読み列と一致すれば、複数の候補が検出されることがあ
る。例えば、拗音と濁音が各々直音、清音に読み替えら
れる場合、具体的には、「こうしよう」と入力される
と、「こ」が「ご」に、「し」が「じ」に、「よ」が
「ょ」に変換されるため、図21に示されるように、講
師用(こうしよう)、交渉(こうしょう)、工事用(こ
うじよう)、向上(こうじょう)、工場(こうじょ
う)、合資用(ごうしよう)、豪商(ごうしょう)、強
情(ごうじょう)などが候補として提示される。この場
合、変換結果のかな漢字文字列だけでなく、読み替えて
解釈した読み列をあわせて表示したとしても、その読み
列の表示は似通っており、それらを見分けるのは困難で
ある。そのために、操作者が本来所望する単語表記を選
択する際に、選択誤りを生じる可能性が高かった。 (2)また、従来の文字処理装置では、かな漢字変換操
作に馴れた利用者は第一候補が補正候補であった場合
も、補正されたことを意識せずにその候補を選択してし
まう場合が多かった。このため、本来意図しない類似し
た候補が選択されてしまうことがあり、補正候補を表示
したがために、不適当な候補を選択してしまうという補
正の副作用が生じる場合があった。 (3)一般に、入力操作のやり方には個人差があり、変
換時にすべてを確定してゆく逐次確定作法を用いる人
と、とりあえず入力を完了した後に単語表記の選択や用
語を確認してゆく事後確認作法を用いる人がいる。とこ
ろが、従来の文字処理装置では、候補を一旦選択し、文
章テキストとして確定すると、確定処理後に、どの部分
について誤入力補正の変換候補を選択したかを確認する
ことができなかった。このために、事後確認操作の作法
に馴れた人が「補正結果の確認」を行う場合には、字面
から読みを推定して補正の正しさを確認するという困難
な操作を行わねばならなかった。 (4)さらに、従来の文字処理装置では、入力読み列が
「ふょうかぞく…」や「あるこ゜りずむ」のように入力
の途中で日本語の単語の読みとして存在しにくいものが
入力された場合でも、操作者から「変換」を起動する指
示があるまでこれを放置していた。このため、操作者
は、元々、文節区切りや同音語選択などの複雑な操作が
必要な「変換候補選択時」に、同時に入力読みの修正を
行う必要があり、操作者の負担が大きくなっていた。However, the conventional character input device has the following inconveniences from the viewpoint of simplification of erroneous input correction during the input operation by the operator. (1) In the character processing device shown in FIG. 19, if the partial reading in the input reading string matches the reading target reading string in the reading table 3, a plurality of candidates may be detected. For example, in the case that the Japanese sound and the dakuon are read as the direct sound and the pure sound respectively, specifically, when you input "Kou try", "ko" becomes "go", "shi" becomes "ji", " Because "yo" is converted to "yo", as shown in Fig. 21, it is for teachers, for negotiations, for construction, for improvement, for factories, and for factories. ), Joint venture (goshou), auspicious trade (gosho), and obstinacy (gojo) are presented as candidates. In this case, even if not only the kana-kanji character string that is the conversion result but also the reading string that has been interpreted and interpreted is displayed together, the display of the reading string is similar and it is difficult to distinguish them. Therefore, there is a high possibility that the operator will make a selection error when selecting the desired word notation. (2) In the conventional character processing device, when the user who is accustomed to the kana-kanji conversion operation selects the candidate even if the first candidate is the correction candidate, without being aware of the correction. There were many Therefore, a similar candidate that is not originally intended may be selected, and the correction candidate is displayed, which may cause a side effect of the correction that an inappropriate candidate is selected. (3) Generally, there are individual differences in the way of input operations, and those who use the sequential decision method that decides everything at the time of conversion, and those who select the word notation and check the term after completing the input for the time being Some people use confirmation methods. However, in the conventional character processing device, once the candidate is once selected and confirmed as the text, it is not possible to confirm which part the conversion candidate for the erroneous input correction is selected after the confirmation process. For this reason, when a person accustomed to the method of the post-confirmation operation "confirms the correction result", he / she must perform a difficult operation of estimating the reading from the character surface and confirming the correctness of the correction. . (4) Furthermore, in the conventional character processing device, the input reading string is difficult to exist as a reading of a Japanese word in the middle of input, such as "Fukazoku ..." or "Arkorizumu". Even if it was input, it was left as it was until the operator instructed to start "Conversion". For this reason, the operator originally had to correct the input reading at the same time as "when selecting a conversion candidate", which requires complicated operations such as punctuation and homophone selection. This increases the burden on the operator. It was
【0014】このように、従来の文字処理装置は、「候
補の視認性が悪い」、「補正事実の確認が困難」、「確
定後の確認が困難」、「補正のタイミングが遅い」等、
誤入力文字の補正機能の操作性を向上させるために、種
々の問題点を有していた。したがって、本発明は、上記
のような問題点を解消するためになされたもので、読み
文字列入力時に生じる誤入力の補正処理時の操作性を向
上しうる文字処理装置および文字処理方法を提供するこ
とを目的とする。As described above, in the conventional character processing apparatus, "the visibility of the candidate is poor", "the confirmation of the correction fact is difficult", "the confirmation after confirmation is difficult", "the correction timing is late", etc.
There were various problems in order to improve the operability of the correction function for erroneously input characters. Therefore, the present invention has been made to solve the above problems, and provides a character processing device and a character processing method capable of improving the operability during correction processing of erroneous input that occurs when a reading character string is input. The purpose is to do.
【0015】[0015]
【課題を解決するための手段】請求項1の発明に係る文
字処理装置は、読み文字列を入力する読み入力手段と、
入力された読み文字列が予め定めた誤入力の態様に該当
する場合に、読み文字列中の該当部分を予め定めた規則
に従って別の読み文字に置き換えることによって拡張読
み文字列を生成する拡張候補生成手段と、拡張候補生成
手段によって生成された拡張読み文字列の内、拡張候補
生成手段によって置き換えられた読み文字列の部分に他
の読み文字列の部分と異なる表示属性を付与する表示属
性更新手段と、表示属性更新手段によって付与された表
示属性に従って拡張読み文字列を表示する候補表示手段
とを有する。SUMMARY OF THE INVENTION The character processing apparatus according to the invention of claim 1 includes a read input means for inputting the readings string,
If the input read character string corresponding to the aspect of predetermined erroneous input, expanding that generates a read character string extended by replacing the separate read character according to the rules determined in advance that portion in read character string A display that gives a display attribute different from that of other reading character strings to the reading character string portion replaced by the expansion candidate generating means in the extended candidate generating means and the extended reading character string generated by the extended candidate generating means. It has attribute updating means and candidate display means for displaying the extended reading character string according to the display attribute given by the display attribute updating means.
【0016】請求項2の発明に係る文字処理装置は、読
み文字列を入力する読み入力手段と、入力された読み文
字列が予め定めた誤入力の態様に該当する場合に、読み
文字列中の該当部分を予め定めた規則に従って別の読み
文字に置き換えることによって拡張読み文字列を生成す
ることによって拡張候補を生成する拡張候補生成手段
と、拡張候補生成手段によって生成された拡張候補の表
示順位を予め定めた規則に従って設定する表示順位設定
手段と、設定された表示順序に従って拡張候補を表示す
る候補表示手段とを有する。According to a second aspect of the present invention, there is provided a character processing device comprising : a reading input means for inputting a reading character string; and a case where the input reading character string corresponds to a predetermined erroneous input mode. , The extended reading character string is generated by replacing the corresponding part in the reading character string with another reading character according to a predetermined rule.
And extended candidate generating means for generating an extended candidate by the Turkish, expanded weather display order setting means for setting in accordance with a predetermined rule display order of the expansion candidates generated by the extended candidate generating unit, according to the display order set And a candidate display means for displaying the complement .
【0017】請求項3の発明に係る文字処理装置は、請
求項2の発明に対し、さらに、表示順位設定手段によっ
て第一優先出力順位に設定された拡張候補の拡張読み文
字列と、入力された読み文字列の内、この拡張読み文字
列に対応する文字列とが等しいかどうかを判定する最尤
候補判定手段と、最尤候補判定手段が読み文字列と拡張
読み文字列とが異なると判定した場合に、予め定めた形
式で警告を出力する警告出力手段とを有する。The character processing apparatus according to the invention of claim 3 is different from the invention of claim 2 in that the extended reading character string of the extension candidate set to the first priority output order by the display order setting means is input. Among the reading character strings, the maximum likelihood candidate determining means for determining whether or not the character string corresponding to the extended reading character string is equal, and the maximum likelihood candidate determining means determines that the reading character string and the extended reading character string are different. When the determination is made, it has a warning output means for outputting a warning in a predetermined format.
【0018】請求項4の発明に係る文字処理装置は、読
み文字列を入力する読み入力手段と、読み入力手段から
読み文字が入力される度に、入力された読み文字が予め
定めた誤入力形態の文字に該当するか否かを判定する読
み評価手段と、読み評価手段によって誤入力文字と判定
された場合に、判定された読み文字を予め設定した代替
読み文字に置き換える読み文字訂正手段とを有する。According to a fourth aspect of the present invention, there is provided the character processing device , wherein the reading input means for inputting the reading character string and the reading character input is inputted each time the reading character is input from the reading input means. A reading evaluator that determines whether or not a character has a predetermined erroneous input form, and if the reading evaluator determines that the character is an erroneous input character, replaces the determined phonetic character with a preset alternative reading character. And a reading character correction means.
【0019】請求項5の発明に係る文字処理装置は、読
み文字列を入力する読み入力手段と、入力された読み文
字列が予め定めた誤入力の態様に該当する場合に、読み
文字列中の該当部分を予め定めた規則に従って別の読み
文字に置き換えることによって拡張読み文字列を生成す
るとともに、拡張読み文字列を表記文字列に変換するこ
とによって拡張候補を生成する拡張候補生成手段と、拡
張候補生成手段によって生成された拡張候補及び拡張読
み文字列を表示する候補表示手段と、候補表示手段が表
示した拡張候補の中からオペレータが所望の拡張候補を
選択するための候補選択手段と、拡張候補と、拡張候補
が拡張読み文字列に基づいて生成されたことを示す拡張
履歴情報と対応付けて記憶するテキスト記憶手段と、テ
キスト記憶手段中から拡張履歴情報が対応付られた拡張
候補の変換文章中の位置情報を検索する補正箇所検索手
段と、補正箇所検索手段が検索した拡張候補の位置情報
に基づいて、この位置情報が示す位置に表示される文字
を識別可能な形態で表示する検索結果表示手段とを有す
る。According to a fifth aspect of the present invention, there is provided a character processing device comprising : a reading input means for inputting a reading character string; and a case where the inputted reading character string corresponds to a predetermined erroneous input mode. An extension that generates an extended reading character string by replacing the relevant part of the reading character string with another reading character according to a predetermined rule, and at the same time generates an expansion candidate by converting the extended reading character string into a notation character string A candidate generation means, a candidate display means for displaying the extended candidate and the extended reading character string generated by the extended candidate generation means, and an operator for selecting a desired extended candidate from the extended candidates displayed by the candidate display means. A candidate selecting unit, an expansion candidate, a text storage unit that stores the expansion candidate in association with expansion history information indicating that the expansion candidate is generated based on the expansion reading character string, and a text storage unit. Based on the position information of the expansion candidate searched for the position information in the converted sentence of the expansion candidate associated with the expansion history information and the position information of the expansion candidate searched by the correction position searching unit, the position indicated by this position information And a search result display means for displaying the characters displayed in <1> in an identifiable form.
【0020】請求項6の発明に係る文字処理方法は、読
み文字列を入力する読み入力ステップと、入力された読
み文字列が予め定めた誤入力の態様に該当する場合に、
読み文字列中の該当部分を予め定めた規則に従って別の
読み文字に置き換えることによって拡張読み文字列を生
成する拡張候補生成ステップと、拡張候補生成ステップ
において生成された拡張読み文字列の内、拡張候補生成
ステップにおいて置き換えられた読み文字列の部分に他
の読み文字列の部分と異なる表示属性を付与する表示属
性更新ステップと、表示属性更新ステップにおいて付与
された表示属性に従って拡張読み文字列を表示する候補
表示ステップとを有する。According to a sixth aspect of the present invention, there is provided a character processing method comprising : a reading input step for inputting a reading character string; and a case where the input reading character string corresponds to a predetermined erroneous input mode. ,
And extended candidate generation step that generates a read character string extended by replacing the separate read character according to a predetermined rule that portion of the string to read, among the extended read character string generated in the extended candidate generating step , A display attribute updating step of giving a display attribute different from other reading character string portions to the reading character string portion replaced in the extended candidate generation step, and the extended reading character string according to the display attribute given in the display attribute updating step And a candidate display step for displaying.
【0021】請求項7の発明に係る文字処理方法は、読
み文字列を入力する読み入力ステップと、入力された読
み文字列が予め定めた誤入力の態様に該当する場合に、
読み文字列中の該当部分を予め定めた規則に従って別の
読み文字に置き換えることによって拡張読み文字列を生
成することによって拡張候補を生成する拡張候補生成ス
テップと、拡張候補生成ステップにおいて生成された拡
張候補の表示順位を予め定めた規則に従って設定する表
示順位設定ステップと、設定された表示順序に従って拡
張候補を表示する候補表示ステップとを有する。According to a seventh aspect of the present invention, there is provided a character processing method comprising : a reading input step for inputting a reading character string; and a case where the input reading character string corresponds to a predetermined erroneous input mode. ,
And extended candidate generating step of generating extended candidate by the Turkish generates a read character string extended by replacing the separate read character that portion of the string according to a predetermined rule reading, is generated in the extended candidate generating step and it has a display order setting step for setting in accordance with a predetermined rule display order of the extended candidate, and the candidate display step of displaying the extended candidate according to the display order set.
【0022】請求項8の発明に係る文字処理方法は、請
求項7の発明に対し、さらに、表示順位設定ステップに
よって第一優先出力順位に設定された拡張候補の拡張読
み文字列と、入力された読み文字列の内、この拡張読み
文字列に対応する文字列とが等しいかどうかを判定する
最尤候補判定ステップと、最尤候補判定ステップにおい
て読み文字列と拡張読み文字列とが異なると判定された
場合に、予め定めた形式で警告を出力する警告出力ステ
ップとを有する。The character processing method according to the invention of claim 8 is different from the invention of claim 7, in that the extended reading character string of the extension candidate set to the first priority output order by the display order setting step is input. Among the read character strings, the maximum likelihood candidate determination step of determining whether or not the character string corresponding to the extended read character string is equal, and the read character string and the extended read character string are different in the maximum likelihood candidate determination step. And a warning output step for outputting a warning in a predetermined format when the determination is made.
【0023】請求項9の発明に係る文字処理方法は、読
み文字列を入力する読み入力ステップと、読み入力ステ
ップから読み文字が入力される度に、入力された読み文
字が予め定めた誤入力形態の文字に該当するか否かを判
定する読み評価ステップと、読み評価ステップによって
誤入力文字と判定された場合に、判定された読み文字を
予め設定した代替読み文字に置き換える読み文字訂正ス
テップとを有する。According to a ninth aspect of the present invention, there is provided a character processing method , wherein a reading input step of inputting a reading character string and a reading character input every time the reading character is input from the reading input step. A reading evaluation step of determining whether or not a character having a predetermined erroneous input form is determined, and when the reading evaluation step determines an erroneous input character, the determined reading character is replaced with a preset alternative reading character. And a reading character correction step.
【0024】請求項10の発明に係る文字処理方法は、
読み文字列を入力する読み入力ステップと、入力された
読み文字列が予め定めた誤入力の態様に該当する場合
に、読み文字列中の該当部分を予め定めた規則に従って
別の読み文字に置き換えることによって拡張読み文字列
を生成するとともに、拡張読み文字列を表記文字列に変
換することによって拡張候補を生成する拡張候補生成ス
テップと、拡張候補生成ステップによって生成された拡
張候補及び拡張読み文字列を表示する候補表示ステップ
と、候補表示ステップにおいて表示された拡張候補の中
からオペレータが所望の拡張候補を選択するための候補
選択ステップと、拡張候補と、拡張候補が拡張読み文字
列に基づいて生成されたことを示す拡張履歴情報と対応
付けて記憶するテキスト記憶ステップと、拡張履歴情報
が対応付られた拡張候補の変換文章中の位置情報を検索
する補正箇所検索ステップと、補正箇所検索ステップに
おいて検索された拡張候補の位置情報に基づいて、この
位置情報が示す位置に表示される文字を識別可能な形態
で表示する検索結果表示ステップとを有する。The character processing method according to the invention of claim 10,
And reading an input step of inputting readings string, if the input read character string corresponding to the aspect of predetermined erroneous input, a different read character according to a predetermined rule that portion in read character string An extended candidate generation step of generating an extended reading character string by replacing the extended reading character string and an extended candidate by converting the extended reading character string into a notation character string, and an extended candidate and an extended reading character generated by the extended candidate generation step. A candidate display step of displaying a column, a candidate selection step for the operator to select a desired expansion candidate from the expansion candidates displayed in the candidate display step, the expansion candidate, and the expansion candidate based on the expanded reading character string. The text storage step of storing the extended history information in association with the extended history information indicating that the extended history information is associated with the extended history information. Based on the correction point search step for searching the position information in the complementary converted sentence and the position information of the extension candidate searched in the correction point search step, the character displayed at the position indicated by this position information can be identified. And a search result display step for displaying.
【0025】[0025]
【作用】請求項1の発明において、読み入力手段は、読
み文字列を入力する。拡張候補生成手段は、入力された
読み文字列が予め定めた誤入力の態様に該当する場合
に、読み文字列中の該当部分を予め定めた規則に従って
別の読み文字に置き換える。そして、種々の拡張読み文
字列を生成する。表示属性更新手段は、拡張候補生成手
段によって生成された拡張読み文字列の内、拡張候補生
成手段によって置き換えられた読み文字列の部分に他の
読み文字列の部分と異なる表示属性を付与する。例え
ば、実施例の装置では、下線表示が付与される。そし
て、候補表示手段は、表示属性更新手段によって付与さ
れた表示属性に従って拡張読み文字列を表示する。In the invention of claim 1, the reading input means inputs a reading character string. The extension candidate generation means replaces the corresponding part in the reading character string with another reading character according to a predetermined rule when the input reading character string corresponds to a predetermined erroneous input mode. Then, it generates a variety of extended reading string. The display attribute updating means gives a display attribute different from that of other reading character strings to the reading character string portion replaced by the expansion candidate generating means in the extended reading character string generated by the expansion candidate generating means. For example, in the device of the embodiment, an underline display is added. Then, the candidate display means displays the extended reading character string according to the display attribute given by the display attribute updating means.
【0026】請求項2の発明において、読み入力手段
は、読み文字列を入力する。拡張候補生成手段は、入力
された読み文字列が予め定めた誤入力の態様に該当する
場合に、読み文字列中の該当部分を予め定めた規則に従
って別の読み文字に置き換える。そして、種々の拡張読
み文字列を生成することによって拡張候補を生成する。
表示順位設定手段は、拡張候補生成手段によって生成さ
れた拡張候補の表示順位を予め定めた規則に従って設定
する。候補表示手段は、設定された表示順序に従って拡
張候補を表示する。[0026] In the second aspect of the present invention, reading input means inputs the read only string. The extension candidate generation means replaces the corresponding part in the reading character string with another reading character according to a predetermined rule when the input reading character string corresponds to a predetermined erroneous input mode. Then generates an extended candidate by the Turkish to generate a variety of extended read character string.
The display order setting means sets the display order of the expansion candidates generated by the expansion candidate generation means according to a predetermined rule. Candidate display means displays the extended candidate according to the display order set.
【0027】請求項3の発明において、最尤候補判定手
段は、表示順位設定手段によって第一優先出力順位に設
定された拡張候補の拡張読み文字列と、入力された読み
文字列の内、この拡張読み文字列に対応する文字列とが
等しいかどうかを判定する。そして、警告出力手段は、
最尤候補判定手段が読み文字列と拡張読み文字列とが異
なると判定した場合に、オペレータに注意を促すため
に、予め定めた形式で警告を出力する。In the third aspect of the present invention, the maximum likelihood candidate determination means selects the extended reading character string of the extension candidate set to the first priority output order by the display order setting means and the input reading character string. It is determined whether the extended reading character string is equal to the corresponding character string. And the warning output means is
When the maximum likelihood candidate determination means determines that the reading character string and the extended reading character string are different, a warning is output in a predetermined format to call the operator's attention.
【0028】請求項4の発明において、読み入力手段
は、読み文字列を入力する。読み評価手段は、読み入力
手段から読み文字が入力される度に、入力された読み文
字が予め定めた誤入力形態の文字に該当するか否かを判
定する。読み文字訂正手段は、読み評価手段によって誤
入力文字と判定された場合に、判定された読み文字を予
め設定した代替読み文字に置き換える。[0028] In the invention of claim 4, read input means inputs the readings string. Every time a reading character is input from the reading inputting unit, the reading evaluation unit determines whether or not the input reading character corresponds to a character having a predetermined erroneous input form. The reading character correction unit replaces the determined reading character with a preset alternative reading character when the reading evaluation unit determines that the input character is an erroneous input character.
【0029】請求項5の発明において、読み入力手段
は、読み文字列を入力する。拡張候補生成手段は、入力
された読み文字列が予め定めた誤入力の態様に該当する
場合に、読み文字列中の該当部分を予め定めた規則に従
って別の読み文字に置き換えることによって拡張読み文
字列を生成するとともに、拡張読み文字列を表記文字列
に変換することによって拡張候補を生成する。候補表示
手段は、拡張候補生成手段によって生成された拡張候補
及び拡張読み文字列を表示する。候補選択手段は、候補
表示手段が表示した拡張候補の中からオペレータが所望
の拡張候補を選択する。テキスト記憶手段は、拡張候補
と、拡張候補が拡張読み文字列に基づいて生成されたこ
とを示す拡張履歴情報と対応付けて記憶する。補正箇所
検索手段は、テキスト記憶手段中から拡張履歴情報が対
応付られた拡張候補の変換文章中の位置情報を検索す
る。検索結果表示手段は、補正箇所検索手段が検索した
拡張候補の位置情報に基づいて、この位置情報が示す位
置に表示される文字を識別可能な形態で表示する。[0029] In the fifth aspect of the present invention, reading input means inputs the read only string. The extension candidate generation means, when the input reading character string corresponds to a predetermined erroneous input mode, replaces the relevant portion in the reading character string with another reading character according to a predetermined rule. The expansion candidate is generated by converting the expansion reading character string into the notation character string while generating the string. The candidate display means displays the extension candidate and the extended reading character string generated by the extension candidate generating means. The candidate selecting means selects an extension candidate desired by the operator from the extension candidates displayed by the candidate displaying means. The text storage unit stores the extension candidate in association with the extension history information indicating that the extension candidate is generated based on the extended reading character string. The correction location search means searches the text storage means for position information in the conversion text of the expansion candidate associated with the expansion history information. The search result display means displays the character displayed at the position indicated by this position information in an identifiable form based on the position information of the expansion candidate searched by the correction location search means.
【0030】請求項6の発明による文字処理方法は、ま
ず、読み文字列を入力する。次に、入力された読み文字
列が予め定めた誤入力の態様に該当する場合に、読み文
字列中の該当部分を予め定めた規則に従って別の読み文
字に置き換えることによって拡張読み文字列を生成す
る。さらに、生成された拡張読み文字列の内、拡張候補
生成ステップにおいて置き換えられた読み文字列の部分
に他の読み文字列の部分と異なる表示属性を付与する。
さらに、付与された表示属性に従って拡張読み文字列を
表示する。The character processing method according to the invention of claim 6, or <br/> not a inputs the readings string. Next, when the input reading character string corresponds to a predetermined erroneous input mode, an extended reading character string is generated by replacing the corresponding part in the reading character string with another reading character according to a predetermined rule. You
It Further, in the generated extended reading character string, a display attribute different from that of other reading character strings is given to the reading character string portion replaced in the extension candidate generation step.
Further, the extended reading character string is displayed according to the assigned display attribute.
【0031】請求項7の発明による文字処理方法は、ま
ず、読み文字列を入力する。次に、入力された読み文字
列が予め定めた誤入力の態様に該当する場合に、読み文
字列中の該当部分を予め定めた規則に従って別の読み文
字に置き換えることによって拡張読み文字列を生成する
ことによって拡張候補を生成する。さらに、生成された
拡張候補の表示順位を予め定めた規則に従って設定す
る。さらに、設定された表示順序に従って拡張候補を表
示する。The character processing method according to the invention of claim 7, or <br/> not a inputs the readings string. Next, when the input reading character string corresponds to a predetermined erroneous input mode, an extended reading character string is generated by replacing the corresponding part in the reading character string with another reading character according to a predetermined rule. you
By and the child to generate an extended candidate. Further, the display order of the generated expansion candidates is set according to a predetermined rule. Furthermore, Table <br/> view the extended candidate according to the display order set.
【0032】請求項8の発明による文字処理方法は、さ
らに、表示順位設定ステップによって第一優先出力順位
に設定された拡張候補の拡張読み文字列と、入力された
読み文字列の内、この拡張読み文字列に対応する文字列
とが等しいかどうかを判定する。そして、読み文字列と
拡張読み文字列とが異なると判定された場合に、予め定
めた形式で警告を出力する。In the character processing method according to the present invention, the extended reading character string of the extension candidate set to the first priority output order in the display order setting step and the input reading character string are expanded. It is determined whether the reading character string is equal to the corresponding character string. Then, when it is determined that the read character string and the extended read character string are different, a warning is output in a predetermined format.
【0033】請求項9の発明による文字処理方法は、ま
ず、読み文字列を入力する。次に、読み文字が入力され
る度に、入力された読み文字が予め定めた誤入力形態の
文字に該当するか否かを判定する。そして、誤入力文字
と判定された場合に、判定された読み文字を予め設定し
た代替読み文字に置き換える。The character processing method according to the invention of claim 9, or <br/> not a inputs the readings string. Next, each time a phonetic character is input, it is determined whether the input phonetic character corresponds to a character having a predetermined erroneous input form. Then, when it is determined that the input character is an erroneous input character, the determined reading character is replaced with a preset alternative reading character.
【0034】請求項10の発明による文字処理方法は、
まず、読み文字列を入力する。次に、入力された読み文
字列が予め定めた誤入力の態様に該当する場合に、読み
文字列中の該当部分を予め定めた規則に従って別の読み
文字に置き換えることによって拡張読み文字列を生成す
るとともに、拡張読み文字列を表記文字列に変換するこ
とによって拡張候補を生成する。さらに、生成された拡
張候補及び拡張読み文字列を表示する。さらに、表示さ
れた拡張候補の中からオペレータが所望の拡張候補を選
択する。さらに、拡張候補と、拡張候補が拡張読み文字
列に基づいて生成されたことを示す拡張履歴情報と対応
付けて記憶する。その後、拡張履歴情報が対応付られた
拡張候補の変換文章中の位置情報を検索する。そして、
検索された拡張候補の位置情報に基づいて、この位置情
報が示す位置に表示される文字を識別可能な形態で表示
する。A character processing method according to the invention of claim 10 is
First, you enter the readings string. Next, when the input reading character string corresponds to a predetermined erroneous input mode, an extended reading character string is generated by replacing the corresponding part in the reading character string with another reading character according to a predetermined rule. At the same time, an extended candidate is generated by converting the extended reading character string into a notation character string. Further, the generated expansion candidates and expanded reading character strings are displayed. Further, the operator selects a desired expansion candidate from the displayed expansion candidates. Further, the extension candidate and the extension history information indicating that the extension candidate is generated based on the extension reading character string are stored in association with each other. Then, the position information in the converted sentence of the expansion candidate associated with the expansion history information is searched. And
Based on the searched position information of the expansion candidate, the character displayed at the position indicated by this position information is displayed in an identifiable form.
【0035】[0035]
【実施例】以下、本発明の実施例について図を用いて詳
細に説明する。先ず、本書において使用する「読み」と
は、作成すべき文章、例えば漢字仮名混じり文章の各文
字を、例えば仮名文字あるいはローマ字等で表現したも
のを意図する。この場合、この「読み」には、文章を構
成する句読点や括弧等の記号も含むものとする。Embodiments of the present invention will be described in detail below with reference to the drawings. First of all, the "reading" as used in this document, the sentence to be created, for example, each character of kanji kana sentence, intended for example, those expressed in kana characters or Roman characters and the like. In this case, this “reading” includes punctuation marks and symbols such as parentheses that form a sentence.
【0036】さらに、本書において、「入力候補」とは
入力された読み文字列をかな漢字変換することによって
生成された文字候補をいい、「拡張候補」とは、入力読
み文字列を補正して得られた拡張読み文字列をかな漢字
変換することによって生成された文字候補をいうものと
する。そして、両者を含めて総称する際には、単に「候
補」と表現するものとする。Further, in this document, "input candidate" means a character candidate generated by performing Kana-Kanji conversion on an input reading character string, and "extended candidate" is obtained by correcting the input reading character string. A character candidate generated by performing Kana-Kanji conversion on the extended reading character string. Then, when collectively including both, it is simply expressed as “candidate”.
【0037】図1は本発明の実施例における文字処理装
置の概略構成を示す。図1において、1は読み入力部
で、JIS配列のキーボード装置上の「読みキー」を打
鍵されると対応するコードを発生する。また、「読みキ
ー」のほか「変換キー」、「確定キー」、「番号キ
ー」、「検索キー」などの各種制御キーも有している。
2は入力読み列一時記憶部で、読み入力部1から入力さ
れた読みコードを順次記憶し、一連の読み列として一時
記憶する。FIG. 1 shows a schematic configuration of a character processing device in an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a reading input unit, which generates a corresponding code when a "reading key" on a JIS-arranged keyboard device is pressed. In addition to the "reading key", it also has various control keys such as a "conversion key", a "confirmation key", a "number key", and a "search key".
An input reading string temporary storage unit 2 sequentially stores reading codes input from the reading input unit 1 and temporarily stores them as a series of reading strings.
【0038】3は単語辞書で、単語の読み、表記、品詞
情報を格納する。同一形式の自立語辞書と付属語辞書が
あり、見出しはかなの読みである。4は拡張候補生成部
で、「変換キー」が打鍵されると、入力読み列およびそ
の一部を他の読みに読み替えた拡張読み列を、単語辞書
3を参照して文節列として解釈し、拡張候補として生成
する。Reference numeral 3 is a word dictionary which stores word reading, notation and part-of-speech information. There is an independent word dictionary and an auxiliary word dictionary of the same format, and the heading is kana reading. Reference numeral 4 denotes an extended candidate generation unit, which interprets an input reading string and an extended reading string obtained by replacing a part of the reading string with another reading as a phrase string by referring to the word dictionary 3 when the conversion key is pressed. Generate as an expansion candidate.
【0039】5は拡張候補一時記憶部で、拡張候補生成
部4が生成した拡張候補の「解釈読み」、「表記」、
「文法属性情報」を一時格納する。6は表示装置で、指
定された候補を液晶パネルの表示デバイスに出力表示す
る。7は注目候補一時記憶部で、拡張候補一時記憶部5
に記憶される拡張候補中の一候補の識別番号を一時記憶
する。Reference numeral 5 denotes an expansion candidate temporary storage unit, which is used for the "interpretation reading", "notation", and expansion of the expansion candidates generated by the expansion candidate generating unit 4.
"Grammar attribute information" is temporarily stored. A display device 6 outputs and displays the designated candidates on the display device of the liquid crystal panel. Reference numeral 7 denotes an attention candidate temporary storage unit, which is an extension candidate temporary storage unit 5
The identification number of one of the expansion candidates stored in is temporarily stored.
【0040】8は表示属性更新部で、拡張候補一時記憶
部5中の候補のうち、注目候補一時記憶部7中の候補番
号に対応する表記情報に反転表示の表示属性を付ける。
また、拡張候補一時記憶部5中の拡張候補の解釈読みと
入力読み列一時記憶部2の入力読みの異なり部分に下線
表示の表示属性を付ける。9は補正数順整列部で、拡張
候補一時記憶部5中の拡張候補の解釈読みの中で入力読
み列一時記憶部2中の入力読みと異なる箇所の数をソー
トキーとして拡張候補等を昇順に整列させる。Reference numeral 8 denotes a display attribute updating unit which, among the candidates in the extended candidate temporary storage unit 5, adds the display attribute of reverse display to the notation information corresponding to the candidate number in the attention candidate temporary storage unit 7.
Further, a display attribute of underline display is added to a different portion of the interpretation reading of the extension candidate in the extension candidate temporary storage unit 5 and the input reading of the input reading string temporary storage unit 2. Reference numeral 9 is a correction number order alignment unit, which uses the number of places in the interpretation reading of the extension candidate in the extension candidate temporary storage unit 5 different from the input reading in the input reading row temporary storage unit 2 as a sort key, and the extension candidates and the like in ascending order. Align.
【0041】10は補正位置順整列部で、拡張候補一時
記憶部5中の拡張候補の解釈読みの中で入力読み列一時
記憶部2中の入力読みと異なる箇所のうち、先頭に一番
近いものの先頭からの位置をソートキーとして拡張候補
等を昇順に整列させる。11は尤度計算部で、指示され
た拡張候補の解釈読みの総合尤度を、予め準備した読み
隣接行列要素の得点和として算出する。Reference numeral 10 denotes a correction position order aligning unit, which is the closest to the beginning among the different readings of the extension candidates in the extension candidate temporary storage unit 5 from the input readings in the input reading sequence temporary storage unit 2. The expansion candidates are arranged in ascending order using the position from the beginning of the thing as a sort key. A likelihood calculation unit 11 calculates the total likelihood of the interpretation reading of the designated extension candidate as the score sum of the reading adjacent matrix elements prepared in advance.
【0042】12は尤度順整列部で、尤度計算部11が
算出した拡張候補一時記憶部5中の拡張候補の解釈読み
の尤度をソートキーとして拡張候補等を降順に整列させ
る。13は表示順位設定部で、拡張候補一時記憶部5内
の拡張候補の中で、第一ソートキーを「尤度」、第二ソ
ートキーを「補正箇所数」、第三ソートキーを「補正位
置」として優先順に並べる。また、特定の候補の尤度
が、予め定めた水準を越えて際立って高い場合は、他の
候補を省く。A likelihood order sorting unit 12 sorts the expansion candidates and the like in descending order using the likelihood of the interpretation reading of the expansion candidates in the expansion candidate temporary storage unit 5 calculated by the likelihood calculation unit 11 as a sort key. Reference numeral 13 denotes a display order setting unit, in the expansion candidates in the expansion candidate temporary storage unit 5, the first sort key is “likelihood”, the second sort key is “correction number”, and the third sort key is “correction position”. Arrange in priority order. Also, if the likelihood of a particular candidate is significantly higher than a predetermined level, then the other candidates are omitted.
【0043】14は候補表示部で、拡張候補一時記憶部
5内の拡張候補を表示装置6上にメニュー表示する。こ
の際、表示属性は表示属性更新部8で設定されたものに
従って表示する。15は最尤候補判定部で、拡張候補一
時記憶部5内の第一候補の解釈読みが入力読み列一時記
憶部2内の入力読みと異なる場合に第一候補は誤りを補
正された拡張候補であると判定し、警告信号を出力す
る。Reference numeral 14 denotes a candidate display section for displaying the expansion candidates in the expansion candidate temporary storage section 5 on the display device 6 as a menu. At this time, the display attributes are displayed according to those set by the display attribute updating unit 8. Reference numeral 15 is a maximum likelihood candidate determination unit, and when the interpretation reading of the first candidate in the extension candidate temporary storage unit 5 is different from the input reading in the input reading string temporary storage unit 2, the first candidate is an extension candidate whose error has been corrected. Then, a warning signal is output.
【0044】16は警告出力部で、最尤候補判定部15
から警告信号を受けると、候補表示部14に警告文を出
力し、表示装置6の画面下端に警告文を表示する。ま
た、同時に、警告を表現するアラームを鳴らす。17は
テキスト記憶部で、入力候補及び選択された拡張候補の
表記とその補正履歴情報とを対応付けて記憶する。補正
履歴情報は、解釈読みが入力読みでない場合にはそのこ
とを示す情報を保持する。Reference numeral 16 is a warning output unit, which is a maximum likelihood candidate determination unit 15
When the warning signal is received from the warning message, the warning message is output to the candidate display unit 14, and the warning message is displayed at the lower end of the screen of the display device 6. At the same time, an alarm that sounds a warning sounds. Reference numeral 17 denotes a text storage unit which stores the notations of the input candidates and the selected expansion candidates and their correction history information in association with each other. The correction history information holds information indicating that the interpretation reading is not the input reading.
【0045】18は候補選択部で、キーボード装置上の
「変換キー」の押下に従い、注目候補一時記憶部7上の
注目順序番号を順次インクリメントする。そして、現在
が候補の数(最大の候補序番号)と同じならば、次は
「1」に設定する。また「番号キー」で特定の候補を指
定されると、該当する候補をテキスト記憶部17に格納
する。また「確定キー」、「無変換キー」が打鍵される
とその時点での注目候補一時記憶部7中の注目候補番号
と対応する拡張候補をテキスト記憶部17に格納する。
さらに、「読みキー」が入力される場合は、その時点で
の注目候補一時記憶部7中の注目候補番号と対応する拡
張候補をテキスト記憶部17に格納した上、入力された
読みを入力読み列一時記憶部2へ書き込む。A candidate selection unit 18 sequentially increments the attention sequence number on the attention candidate temporary storage unit 7 when the "conversion key" on the keyboard device is pressed. Then, if the current number is the same as the number of candidates (the maximum candidate ordinal number), the next is set to "1". When a specific candidate is designated by the “number key”, the corresponding candidate is stored in the text storage unit 17. When the “confirmation key” and the “non-conversion key” are pressed, the expansion candidate corresponding to the attention candidate number in the attention candidate temporary storage unit 7 at that time is stored in the text storage unit 17.
Further, when the "reading key" is input, the extended candidate corresponding to the attention candidate number in the attention candidate temporary storage unit 7 at that time is stored in the text storage unit 17, and the input reading is input and read. Write to the column temporary storage unit 2.
【0046】19は補正箇所検索部で、「検索キー」の
打鍵に応じて、テキスト記憶部17中の補正履歴情報を
検索し、対応するテキストのテキスト記憶部17中での
位置情報、例えば変換語の文字列の先頭から何文字目に
位置するかといった情報を検索結果一時記憶部20へ格
納する。20は検索結果一時記憶部で、補正箇所検索部
19が検索した補正履歴のある候補の位置情報を一時記
憶する。Reference numeral 19 denotes a correction location search unit that searches the correction history information in the text storage unit 17 according to the keystroke of the "search key", and the position information of the corresponding text in the text storage unit 17, for example, conversion. Information such as the position of the character from the beginning of the character string of the word is stored in the search result temporary storage unit 20. A search result temporary storage unit 20 temporarily stores the position information of the candidate with the correction history searched by the correction location searching unit 19.
【0047】21は検索結果表示部で、検索結果一時記
憶部20に格納された位置情報に基づき、表示装置6上
の該当する位置の文字の表示属性を「反転」表示する。
22は読み評価部であり、読み入力部1からの読み入力
に従い、入力読み列一時記憶部2の読みが変化する度
に、入力読み列一時記憶部2の読み列を対象として、日
本語の読みの妥当性を音節構造や発音特性に基づき評価
し、入力された文字が有り得ない場合やその出現頻度が
著しく低い場合に、リジェクト信号と代替候補読み列を
出力する。Reference numeral 21 denotes a search result display section, which displays the display attribute of the character at the corresponding position on the display device 6 in "reverse" based on the position information stored in the search result temporary storage section 20.
Reference numeral 22 denotes a reading evaluation unit, which reads the reading sequence in the input reading sequence temporary storage unit 2 every time the reading in the input reading sequence temporary storage unit 2 changes in accordance with the reading input from the reading input unit 1. The validity of reading is evaluated based on the syllable structure and the pronunciation characteristics, and when the input character is impossible or the appearance frequency is extremely low, the reject signal and the alternative candidate reading string are output.
【0048】23は読み訂正部であり、読み評価部22
からリジェクト信号が出た時には入力読み列一時記憶部
2中の読み列を代替候補読み列に置換する。なお。実際
の文書作成装置は、これ以外にも、読み、番号、各種制
御キーを打鍵入力するためのキーボード装置や、文節区
切り修正、テキスト編集のための種々の構成要素を必要
とするが、ここでの詳細な説明を省略する。Reference numeral 23 is a reading correction unit, which is a reading evaluation unit 22.
When a reject signal is output from, the reading string in the input reading string temporary storage unit 2 is replaced with the alternative candidate reading string. Incidentally. In addition to this, the actual document creating apparatus requires a keyboard device for reading, entering numbers, and entering various control keys, and various constituent elements for correcting segment breaks and text editing. The detailed description of is omitted.
【0049】また、図の構成要素間の関係は主にデータ
の流れに沿って説明しており、図に表現していない構成
要素間の制御信号のやりとりは以降の説明のなかで述べ
る。次に、本実施例における文字処理装置の動作につい
て説明する。図2は、本実施例による文字処理装置の基
本動作を示すフローチャートである。また、図3乃至図
6は、図2に示す基本動作の各ステップにおける表示装
置の表示例を模式的に示した図であり、以下の説明にお
いて、適宜参照する。 「変換処理」先ず、ある程度入力作業が進展し、入力待
状態にある状態を想定して説明する。この入力待状態の
表示例が図3に示される。図中、下線で示すカーソル位
置は入力位置を示している。Further, the relationship between the constituent elements in the figure is explained mainly along the flow of data, and the exchange of control signals between the constituent elements not shown in the figure will be described in the following description. Next, the operation of the character processing device in this embodiment will be described. FIG. 2 is a flowchart showing the basic operation of the character processing device according to this embodiment. 3 to 6 are diagrams schematically showing display examples of the display device in each step of the basic operation shown in FIG. 2, which will be appropriately referred to in the following description. "Conversion process" First, a description will be given assuming a state in which input work has progressed to some extent and is in an input waiting state. A display example of this input waiting state is shown in FIG. In the figure, the underlined cursor position indicates the input position.
【0050】(101)読み入力処理ステップ 入力待ち状態の時、オペレータが読み入力部1から「読
みキー」を打鍵入力すると、対応する読みコードが順次
入力読み列一時記憶部2に入力読み列として蓄積され
る。また、表示装置6の画面上には、打鍵入力された変
換前の読みが反転表示される(図4参照)。(101) Reading input processing step In the input waiting state, when the operator inputs a "reading key" from the reading input section 1, the corresponding reading codes are sequentially input to the input reading row temporary storage section 2 as an input reading row. Accumulated. Further, on the screen of the display device 6, the reading input by the keystroke before conversion is highlighted (see FIG. 4).
【0051】この時、読み評価部22は、入力読み列一
次記憶部2の読みが変化する度に、記憶された読み列を
対象として日本語の読みとしての妥当性を判定する。例
えば、図4に示すように、使用者が誤って読み「う」の
後に半濁点「゜」を打鍵入力してしまったとすると、読
み評価部22は、この半濁点「゜」に対して適切なもの
か否化を判断する。この例の場合、半濁点「゜」は、日
本語の音節特性上有り得ない文字と判断する。そして、
読み訂正部23は、この半濁点「゜」を自動的に削除す
る。引続き、オペレータは図5に示す文字列をキー入力
する。At this time, each time the reading in the input reading string primary storage unit 2 changes, the reading evaluation unit 22 determines the validity as a Japanese reading for the stored reading string. For example, as shown in FIG. 4, if the user erroneously inputs the semi-voiced point “°” after reading “U”, the reading evaluation unit 22 is appropriate for the semi-voiced point “°”. Decide if it is not. In the case of this example, the semi-dakuten “°” is judged to be an impossible character due to the Japanese syllable characteristics. And
The reading correction unit 23 automatically deletes this semi-voiced point "°". Subsequently, the operator key-inputs the character string shown in FIG.
【0052】この状態で、オペレータは、表示装置6上
の表示で入力した読みを確認する。そして、入力読み列
一時記憶部2の読みを漢字かな混じり表記にすることを
意図して、「変換キー」を打鍵すると、(102)へ制
御が移される。それ以外は、入力待ち状態へ戻る。 (102)拡張変換候補生成ステップ 拡張候補生成部4は、入力読み列一時記憶部2の読みの
一部を他の読みに解釈することにより、入力誤りを一部
許容したかな漢字変換を行う。ここで、読みの変換方法
は、従来の場合と同様の方法を用いる。例えば、「ぢ」
と「じ」、「づ」と「ず」、「とお」と「とう」等の誤
り易い仮名遣いの組を読み替えテーブルに格納してお
く。そして、入力された読みが、この読み替えテーブル
内に格納したものと一致すれば、入力読み列内の読みを
読み替えテーブル内の対応する読みに読み替える。そし
て、読み替えた読み文字列(拡張読み文字列)について
かな漢字変換を行う。さらに、変換結果を拡張候補一時
記憶部5に格納する。In this state, the operator confirms the reading input on the display on the display device 6. Then, when the "conversion key" is pressed with the intention that the reading of the input reading string temporary storage unit 2 is written in kanji and kana, the control is transferred to (102). Otherwise, it returns to the input waiting state. (102) Extended conversion candidate generation step The extended candidate generation unit 4 interprets a part of the reading of the input reading string temporary storage unit 2 into another reading, thereby performing Kana-Kanji conversion with some input errors allowed. Here, as the reading conversion method, the same method as in the conventional case is used. For example, "ぢ"
An error-prone set of pseudonyms, such as "ji", "zu" and "zu", and "to" and "to" is stored in the replacement table. Then, if the input reading matches the one stored in this reading table, the reading in the input reading row is replaced with the corresponding reading in the reading table. Then, kana-kanji conversion is performed on the replaced reading character string (extended reading character string). Further, the conversion result is stored in the extension candidate temporary storage unit 5.
【0053】そして、「変換キー」を打鍵すると、入力
位置の反転表示読みを入力のミスを考慮して生成した読
み替え文字列に対して漢字かな混じり列に変換し、その
拡張候補を表示する。 (103)表示順位設定ステップ 表示順位設定部13は、拡張候補一時記憶部5中の候補
に対して表示順位設定処理を施し、第一ソートキーを
「尤度」、第二ソートキーを「補正箇所数」、第三ソー
トキーを「補正位置」として優先順に並べる。この表示
順位設定処理の詳細を図9を参照して以下に説明する。 「表示順位設定処理」先ず、表示順位設定部13は、拡
張候補一次記憶部5に格納された拡張候補文字列を尤度
計算部11に引き渡す。When the "conversion key" is pressed, the reverse-displayed reading of the input position is converted into a kanji-kana mixed string for the replacement character string generated in consideration of an input error, and the expansion candidate is displayed. (103) Display Order Setting Step The display order setting unit 13 performs a display order setting process on the candidates in the extended candidate temporary storage unit 5, and sets the first sort key to “likelihood” and the second sort key to “correction number. , And the third sort key is set as “correction position” in order of priority. Details of the display order setting process will be described below with reference to FIG. "Display Order Setting Process" First, the display order setting unit 13 delivers the extension candidate character string stored in the extension candidate primary storage unit 5 to the likelihood calculation unit 11.
【0054】(201)尤度計算ステップ 尤度計算部11は、拡張候補一時記憶部5中の拡張候補
の拡張読み毎に、その読みのつながりから得られる読み
隣接頻度行列の得点和を求める。例えば、「こうしよ
う」という読みの場合、図10に示すような5段階の得
点を有する隣接頻度行列を用いて、総合尤度Sを求め
る。例えば、「こ→う」「う→し」「し→よ」「よ→
う」の四つの読みの遷移の評価値の和は、5+3+3+
4=15点とカウントし、長さの違う文字列と比較する
ため、さらに読み遷移の平均値を求め、小数点以下を切
り捨てる。このようにして算出した値を「こうしよう」
の尤度とする。本例の場合は、15÷4=3.75 な
ので「3」が尤度となる。(201) Likelihood calculation step The likelihood calculation unit 11 obtains, for each extended read of the extended candidate in the extended candidate temporary storage unit 5, the sum of scores of the reading adjacency frequency matrix obtained from the connection of the readings. For example, in the case of reading “koso rou”, the total likelihood S is obtained using an adjacent frequency matrix having a score of 5 levels as shown in FIG. For example, "ko → u""u → shi""shi → yo""yo →
The sum of the evaluation values of the four reading transitions of "u" is 5 + 3 + 3 +
4 = 15 points are counted, and in order to compare with a character string having a different length, the average value of reading transitions is further obtained, and the fractional part is truncated. "Let's do this" with the value calculated in this way
The likelihood of In the case of this example, since 15/4 = 3.75, "3" is the likelihood.
【0055】(202)尤度順整列ステップ 尤度計算部11が、拡張候補一時記憶部5中の候補の異
なり読み毎に尤度を付与すると、尤度順整列部12は、
尤度が高いもの順に候補を並べ変える。並び変えた時の
拡張候補一時記憶部5中の候補の順位が図11に示され
る。 (203)補正箇所数順整列ステップ 次に、補正数順整列部9は、尤度順整列が済んだ拡張候
補一時記憶部5中の候補を、同一尤度の候補の内、補正
箇所数が小さいもの順に並び変える。この並び変えの結
果が図12に示される。(202) Likelihood Order Alignment Step When the likelihood calculation unit 11 assigns a likelihood to each different reading of candidates in the extended candidate temporary storage unit 5, the likelihood order alignment unit 12
The candidates are rearranged in descending order of likelihood. FIG. 11 shows the order of candidates in the expansion candidate temporary storage unit 5 when rearranged. (203) Correction Point Number Alignment Step Next, the correction number order arranging unit 9 determines that the candidates in the expanded candidate temporary storage unit 5 that have been subjected to the likelihood order arrangement have the same number of correction points among the candidates of the same likelihood. Sort in ascending order. The result of this rearrangement is shown in FIG.
【0056】(204)補正位置順整列ステップ さらに、尤度順整列部12は、補正箇所数順整列が済ん
だ拡張候補一時記憶部5中の候補を、同一尤度、同一補
正箇所の候補に対して、最初の補正位置が先頭に近いも
のの順に並び変える。この並び換えの結果が図13に示
される。また、優先順に並べた結果、先頭になった最優
先候補の候補番号を注目候補一時記憶部7に記録する。(204) Correction Position Order Alignment Step Further, the likelihood order alignment unit 12 sets the candidates in the expansion candidate temporary storage unit 5 which have been ordered in the correction position number as candidates of the same likelihood and the same correction place. On the other hand, the first correction position is rearranged in the order of being closer to the beginning. The result of this rearrangement is shown in FIG. In addition, the candidate number of the highest priority candidate at the top as a result of being arranged in the priority order is recorded in the focused candidate temporary storage unit 7.
【0057】以上の処理を終了すると、再び図2に示す
処理に復帰する。 (104)表示属性設定ステップ 表示属性更新部8は、拡張候補一時記憶部5内で先頭に
設定された候補に対して反転属性を付ける。また、各拡
張候補の解釈読みの中で、別読みに解釈された部分には
下線表示の属性を付ける。When the above process is completed, the process returns to the process shown in FIG. (104) Display Attribute Setting Step The display attribute updating unit 8 attaches a reverse attribute to the candidate set at the beginning in the extended candidate temporary storage unit 5. Further, in the interpretation reading of each extension candidate, the portion interpreted as another reading is given an underlined attribute.
【0058】(105)変換結果表示ステップ 候補表示部14は、拡張候補一時記憶部5中の変換結果
を表示属性情報に基づいて表示装置6に表示する。表示
の状態が図6に示される。図では、上から順に第一候
補、第二候補が表示され第一候補は現在の注目候補を意
味する反転表示がなされている。また、各々の拡張候補
には対応する解釈読みが同時に表示されており、入力読
みと異なる部分は下線が付けられている。(105) Conversion Result Display Step The candidate display unit 14 displays the conversion result in the expansion candidate temporary storage unit 5 on the display device 6 based on the display attribute information. The display state is shown in FIG. In the figure, the first candidate and the second candidate are displayed in order from the top, and the first candidate is highlighted in reverse meaning the current candidate of interest. In addition, corresponding interpretation readings are simultaneously displayed for each extension candidate, and portions different from the input readings are underlined.
【0059】(106)最尤候補判定ステップ 最尤候補判定部15は、拡張候補一時記憶部5中の第一
候補の読み列と入力読み列一時記憶部2中の入力読み列
を比較する。そして、一致しない場合は(107)へ制
御を移し、一致する場合は、(108)へ制御を移す。 (107)警告出力ステップ 第一候補の読み列と入力読み列とが一致しないと判定し
た場合、最尤候補判定部15は、警告信号を警告出力部
16に出力する。警告出力部16は、警告信号を受け取
り、候補表示部14に対して警告文を出力し、表示装置
6に警告文を表示させる。また、警告出力部16は、警
告を表現するアラームを鳴らす。(106) Maximum-Likelihood Candidate Determination Step The maximum-likelihood candidate determination unit 15 compares the reading sequence of the first candidate in the extended candidate temporary storage unit 5 with the input reading sequence in the input reading sequence temporary storage unit 2. If they do not match, the control is moved to (107), and if they match, the control is moved to (108). (107) Warning Output Step When it is determined that the reading sequence of the first candidate and the input reading sequence do not match, the maximum likelihood candidate determination unit 15 outputs a warning signal to the warning output unit 16. The warning output unit 16 receives the warning signal, outputs the warning sentence to the candidate display unit 14, and causes the display device 6 to display the warning sentence. Further, the warning output unit 16 sounds an alarm expressing a warning.
【0060】図6に示す例では、第一候補の解釈読み
「こうしょう」が入力読み「こうしよう」と異なるた
め、画面下端には『かな漢字変換で補正を行いました。
ご注意下さい』という警告文が表示されるとともに、ア
ラームが「ピッ」という発信音を発する。 (108)候補選択ステップ オペレータは、表示装置6に表示されている拡張候補の
中から所望のものを選択し、対応する候補番号をキーボ
ード装置から打鍵入力する。もしくは、「変換キー」を
打鍵して、現在の注目候補を逐次更新して所望の拡張候
補を選択し、「確定キー」、「読みキー」を打鍵して、
注目候補を選択する。この候補選択処理の詳細を図14
を用いて以下に説明する。 「候補選択処理」 (301)入力判定ステップ 表示装置6上に拡張候補が表示されている状態で、オペ
レータがキーボードから制御キーを打鍵すると、制御キ
ーの違いにより以下の通り処理を分岐する。例えば「読
みキー」が打鍵入力されると(302)へ進む。「確定
キー」が打鍵入力されると(303)へ進む。「変換キ
ー」が打鍵入力されると(304)へ進む。「番号キ
ー」が打鍵入力されると(305)へ進む。In the example shown in FIG. 6, the interpretation reading "Koushou" of the first candidate is different from the input reading "Kousou", so "Kana-Kanji conversion" was performed at the bottom of the screen.
Please be careful ”warning message is displayed and the alarm emits a beep. (108) Candidate Selection Step The operator selects a desired expansion candidate from the expansion candidates displayed on the display device 6 and inputs the corresponding candidate number from the keyboard device. Alternatively, the "conversion key" is typed, the current candidate of interest is sequentially updated, the desired expansion candidate is selected, and the "decision key" and "reading key" are typed,
Select attention candidates. Details of this candidate selection process are shown in FIG.
Will be described below. "Candidate Selection Process" (301) Input Judgment Step When the operator presses a control key from the keyboard while the expansion candidate is displayed on the display device 6, the process branches as follows depending on the difference of the control key. For example, when the "reading key" is input by keystroke, the process proceeds to (302). When the "confirmation key" is entered, the process proceeds to (303). When the "conversion key" is entered, the process proceeds to (304). When the "number key" is entered, the process proceeds to (305).
【0061】(302)読みキー処理ステップ 読み入力部1から新たに読みが打鍵入力されると、表示
中の注目候補に補正の有無を示す補正履歴コードを付け
てテキスト記憶部17へ格納し、入力読み列一時記憶部
2、拡張候補一時記憶部5、その他の変換途中情報記憶
部の内容をクリアしたのち、入力読み列一時記憶部2に
該当する読みを格納したのち、入力待ち状態に戻る。(302) Reading Key Processing Step When a new reading is entered from the reading input section 1, a correction history code indicating the presence or absence of correction is attached to the attention candidate being displayed and stored in the text storage section 17, After clearing the contents of the input read string temporary storage unit 2, the extension candidate temporary storage unit 5, and the other conversion-in-progress information storage units, after storing the corresponding readings in the input read string temporary storage unit 2, it returns to the input waiting state. .
【0062】(303)確定キー処理ステップ 「確定キー」が打鍵されると、表示中の注目候補に補正
の有無を示す補正履歴コードを付けてテキスト記憶部1
7へ格納したのち、入力読み列一時記憶部2、拡張候補
一時記憶部5、その他の変換途中情報記憶部の内容をク
リアして、入力待ち状態へ戻る。「確定キー」と同様、
「無変換キー」の場合も、注目候補の読みのひらがな表
記が選択されたと見なし「確定キー」の場合と同様に処
理する。(303) Confirmation key processing step When the "confirmation key" is pressed, a correction history code indicating the presence or absence of correction is attached to the attention candidate being displayed and the text storage unit 1 is added.
After storing in 7, the contents of the input reading string temporary storage unit 2, the extension candidate temporary storage unit 5, and other conversion in-progress information storage units are cleared, and the process returns to the input waiting state. Like the "Enter key"
Also in the case of the "non-conversion key", it is considered that the reading hiragana notation of the attention candidate is selected, and the same processing as in the case of the "confirmation key" is performed.
【0063】(304)変換キー処理ステップ 候補表示状態での「変換キー」は、次優先順の同音語表
示の指示となり、「変換キー」の打鍵に応じて、候補選
択部18が注目候補一時記憶部7中の候補番号をインク
リメントする。するとそれに応じて候補表示部14は対
応する候補を表示装置6に表示する。このあと、処理は
再び入力待ち状態に戻る。(304) Conversion key processing step The "conversion key" in the candidate display state is an instruction to display a homophone in the next priority order, and the candidate selection unit 18 causes the candidate selection section 18 to temporarily display the candidate candidate in response to the keystroke of the "conversion key". The candidate number in the storage unit 7 is incremented. Then, the candidate display unit 14 displays the corresponding candidate on the display device 6 accordingly. After that, the process returns to the input waiting state again.
【0064】(305)候補番号処理ステップ 表示装置6上の拡張候補に対応した番号が入力される
と、候補選択部18は対応する拡張候補に補正の有無を
示す補正履歴コードを付けてテキスト記憶部17へ格納
したのち、入力読み列一時記憶部2、拡張候補一時記憶
部5、その他の変換途中情報記憶部の内容をクリアし
て、入力待ち状態へ戻る。(305) Candidate No. Processing Step When a number corresponding to an expansion candidate on the display device 6 is input, the candidate selection unit 18 adds a correction history code indicating correction or not to the corresponding expansion candidate and stores the text. After storing in the unit 17, the contents of the input read string temporary storage unit 2, the extension candidate temporary storage unit 5, and other conversion in-progress information storage units are cleared, and the state returns to the input waiting state.
【0065】この状態では、オペレータは、文字入力の
正誤の確認を行うために、補正箇所の表示を行わせるこ
とができる。以下、この補正箇所検索処理について、図
15を参照して説明する。 「補正箇所検索処理」 (401)補正箇所検索指示ステップ オペレータは一旦入力が完了した後、自動的に入力読み
の補正がなされたかどうかを確認するため「検索キー」
を打鍵する。In this state, the operator can display the corrected portion in order to confirm whether the character input is correct. Hereinafter, the correction location search process will be described with reference to FIG. "Correction point search process" (401) Correction point search instruction step After the input is completed once, the operator can automatically check whether or not the input reading is corrected by the "search key".
Type the key.
【0066】(402)補正箇所検索ステップ 補正箇所検索部19はテキスト記憶部17中に、テキス
ト(文字列の表記)と対応付けて記録されている補正履
歴情報をテキストの先頭から順に検索する。そして、入
力読みを補正したものであることを示す情報を有するテ
キストを検索すると、検索したテキストの位置情報を検
索結果一時記憶部20に一旦格納する。(402) Correction Point Retrieval Step The correction point searching unit 19 searches the text storage unit 17 for correction history information recorded in association with the text (notation of a character string) in order from the beginning of the text. Then, when a text having information indicating that the input reading is corrected is searched, the position information of the searched text is temporarily stored in the search result temporary storage unit 20.
【0067】(403)補正箇所表示ステップ 検索結果表示部21は検索結果一時記憶部20中の位置
情報を基にして表示画面上の対応するテキストの位置を
反転属性を付けて表示装置6に表示する。図7及び図8
は、補正箇所の反転表示の前後の状態を示している。 (変形例)上記実施例の読み入力処理(101)では、
誤入力文字に対して自動的に削除する場合について説明
したが、ここでは、誤入力文字を訂正する動作につい
て、図16乃至図18を参照して説明する。 「逐次補正処理」 (501)読み文字入力ステップ 表示装置6上に入力読み列が表示されている状態で、さ
らに読み入力部1から読み文字が入力されると、その読
みは入力読み列一時記憶部2に逐次格納される。(403) Correction Point Display Step The search result display section 21 displays the position of the corresponding text on the display screen on the display device 6 with the inversion attribute based on the position information in the search result temporary storage section 20. To do. 7 and 8
Shows the states before and after the highlighted display of the corrected portion. (Modification) In the reading input process (101) of the above embodiment,
The case of automatically deleting an erroneously input character has been described. Here, an operation of correcting an erroneously input character will be described with reference to FIGS. 16 to 18. "Sequential correction process" (501) Reading character input step When the reading character is further input from the reading input unit 1 while the input reading string is displayed on the display device 6, the reading is temporarily stored in the input reading string. Sequentially stored in the unit 2.
【0068】(502)読み評価ステップ 読み評価部22は、読み入力部1から読み文字が入力さ
れる度に、入力読み列一時記憶部2の読み列を対象とし
て、日本語の読みの妥当性を音節構造や発音特性に基づ
き評価する。そして、有り得ない場合や著しく出現頻度
が低い場合に、リジェクト信号と代替候補読みを出力す
る。(502) Reading Evaluation Step The reading evaluation unit 22 targets the reading string in the input reading string temporary storage unit 2 every time a reading character is input from the reading input unit 1 and determines the validity of reading of Japanese. Is evaluated based on syllable structure and pronunciation characteristics. Then, when it is impossible or when the appearance frequency is extremely low, the reject signal and the alternative candidate reading are output.
【0069】(503)読み訂正ステップ 読み訂正部23は、読み評価部22からリジェクト信号
と代替候補読みを受けると、代替読み列を入力読み列一
時記憶部2の読みと置換し、同時に表示装置6に読み自
動補正を実施したことを警告表示する。この例が図17
及び図18に示されている。(503) Reading correction step When the reading correction section 23 receives the reject signal and the alternative candidate reading from the reading evaluation section 22, the reading correction section 23 replaces the reading row of the input reading row temporary storage section 2 with the display device at the same time. A warning display indicating that the automatic reading correction has been performed is displayed in step 6. This example is shown in FIG.
And shown in FIG.
【0070】このように、誤入力の可能性が高い文字列
に対して、読み文字列の自動補正を行い、かつ警告表示
を行うことにより、オペレータは誤入力処理の手間が省
け、入力動作の効率よく行うことができる。また、自動
補正が不適切な場合であっても、警告表示によって補正
箇所に注意を喚起され、不適切な補正箇所を看過するこ
とを防ぐことができる。As described above, by automatically correcting the reading character string and displaying the warning for the character string that is likely to be erroneously input, the operator can save the trouble of erroneous input processing and It can be done efficiently. Further, even when the automatic correction is inappropriate, it is possible to prevent the correction portion from being overlooked by the warning display, and the inappropriate correction portion is overlooked.
【0071】このように、上記の実施例による文字処理
装置においては、日本語入力時に誤入力が行われた場
合、自動的に補正候補を生成して元の読みとの違いを明
示的に表示するため、補正候補の視認性を高くすること
ができる。また、第一候補を補正候補とする場合には警
告を発することにより、候補の確認作業が容易になる。
また、一旦入力終了した後、再度補正箇所を検索して確
認することができる。さらに、著しく日本語として不適
当な文字等が入力されると、これを判定し、変換指示を
待たずに自動的に補正することができる。このような機
能により、文字入力作業の操作性が著しく向上する。As described above, in the character processing apparatus according to the above embodiment, when an erroneous input is made at the time of inputting Japanese, correction candidates are automatically generated and the difference from the original reading is explicitly displayed. Therefore, the visibility of the correction candidate can be increased. Further, by issuing a warning when the first candidate is set as a correction candidate, the candidate confirmation work becomes easy.
In addition, after the input is completed, the corrected portion can be searched and confirmed again. Furthermore, when a character or the like that is remarkably inappropriate as Japanese is input, it can be determined and automatically corrected without waiting for the conversion instruction. With such a function, the operability of character input work is significantly improved.
【0072】なお、上記実施例においては、拡張候補と
して文字表記と解釈読みを両方表示していたが、文字表
記を表示しなくても構わない。さらに、上記の実施例に
おいて、警告出力部16は、警告文を表示するように構
成されていたが、画面フラッシュや一部の文字のブリン
クなど別の警告表示を行うように構成してもよい。In the above embodiment, both the character notation and the interpretation reading are displayed as the expansion candidates, but the character notation may not be displayed. Furthermore, although the warning output unit 16 is configured to display a warning sentence in the above-described embodiment, it may be configured to perform another warning display such as screen flashing or blinking of some characters. .
【0073】[0073]
【発明の効果】以上のように、請求項1及び請求項6に
かかる発明においては、入力読み列と異なる読みに解釈
された箇所を他と異なる表示形態を用いて表示するよう
に構成されているので、補正箇所の視認性が向上する。
また、請求項2及び請求項7にかかる発明においては、
入力された読み文字列を異なる読みに解釈して拡張読み
文字列を生成し、さらに、この拡張読み文字列に基づい
て生成した拡張候補に対して優先順位付けして表示する
ように構成されているので、入力時に所望の文字候補を
容易に選択することが可能となる。As described above, in the invention according to claim 1 and claim 6, the portion which is interpreted as a reading different from the input reading sequence is displayed by using a display form different from the others. Therefore, the visibility of the corrected portion is improved.
Further, in the invention according to claim 2 and claim 7,
It is configured to interpret the input reading character string into different readings, generate an extended reading character string, and further prioritize and display the extended candidates generated based on this extended reading character string. Therefore, it is possible to easily select a desired character candidate when inputting.
【0074】さらに、請求項3及び請求項8の発明にお
いては、入力された読み文字列と異なる拡張読み文字列
に基づいて生成された拡張候補が最尤候補として表示さ
れた場合に、警告を発するように構成されているので、
オペレータに対して拡張候補の生成の適否の確認を促す
ことができる。さらに、請求項4及び請求項9の発明に
おいては、文法上あるいは慣用上使用される可能性の少
ない文字等が入力された場合に、予め設定した規則にし
たがってこの誤入力文字を訂正するように構成されてい
るので、オペレータが認識することなく適切な読み入力
を行うことが可能となり、オペレータの操作負担が軽減
される。Further, in the inventions of claims 3 and 8, a warning is issued when an extended candidate generated based on an extended reading character string different from the input reading character string is displayed as the maximum likelihood candidate. Is configured to emit,
It is possible to prompt the operator to confirm whether or not the expansion candidate is generated. Further, in the inventions of claims 4 and 9, when a character or the like that is less likely to be used grammatically or commonly is input, the erroneous input character is corrected according to a preset rule. Since it is configured, an appropriate reading input can be performed without the operator recognizing, and the operator's operation load is reduced.
【0075】さらに、請求項5及び請求項10の発明に
おいては、入力読み文字列を補正して生成した拡張候補
の中から所望の文字を選択して文章を生成した後、その
文章中の文字の内、補正した読み文字列に基づいて生成
された文字部分を他と識別して表示できるように構成さ
れているので、文章作成後、補正した読み文字列に基づ
いて生成された部分の正誤の確認あるいは修正作業を容
易に行うことができる。Further, in the inventions of claims 5 and 10, after a desired character is selected from the expansion candidates generated by correcting the input reading character string to generate a sentence, the character in the sentence is selected. Among these, the character part generated based on the corrected reading character string is configured to be displayed separately from other parts. Can be easily confirmed or corrected.
Claims (10)
した読み文字列を入力する読み入力手段と、 入力された前記読み文字列が予め定めた誤入力の態様に
該当する場合に、前記読み文字列中の該当部分を予め定
めた規則に従って別の読み文字に置き換えることによっ
て拡張読み文字列を生成するとともに、前記拡張読み文
字列を表記文字列に変換することによって拡張候補を生
成する拡張候補生成手段と、 前記拡張候補生成手段によって生成された前記拡張読み
文字列の内、前記拡張候補生成手段によって置き換えら
れた読み文字列の部分に他の読み文字列の部分と異なる
表示属性を付与する表示属性更新手段と、 前記表示属性更新手段によって付与された前記表示属性
に従って前記拡張読み文字列を表示する候補表示手段と
を有することを特徴とする、文字処理装置。1. A reading input means for inputting a reading character string in which each character of a sentence to be created is represented by phonetic characters, and when the input reading character string corresponds to a predetermined erroneous input mode. An extended reading character string is generated by replacing a corresponding portion in the reading character string with another reading character according to a predetermined rule, and an expansion candidate is generated by converting the extended reading character string into a notation character string. And a display attribute different from other reading character string portions in the reading character string portion replaced by the extension candidate generating means in the extended reading character string generated by the extension candidate generating means. And display candidate updating means for displaying the extended reading character string according to the display attribute provided by the display attribute updating means. A character processing device characterized by the following.
した読み文字列を入力する読み入力手段と、 入力された前記読み文字列が予め定めた誤入力の態様に
該当する場合に、前記読み文字列中の該当部分を予め定
めた規則に従って別の読み文字に置き換えることによっ
て拡張読み文字列を生成するとともに、入力された読み
文字列及び前記拡張読み文字列を表記文字列に変換する
ことによって拡張候補を生成する拡張候補生成手段と、 前記拡張候補生成手段によって生成された前記拡張候補
の表示順位を予め定めた規則に従って設定する表示順位
設定手段と、 設定された前記表示順序に従って前記拡張候補と前記拡
張読み文字列を表示する候補表示手段とを有することを
特徴とする、文字処理装置。2. A reading input means for inputting a reading character string in which each character of a sentence to be created is represented by phonetic characters, and when the input reading character string corresponds to a predetermined erroneous input mode. , Generating an extended reading character string by replacing the corresponding portion in the reading character string with another reading character according to a predetermined rule, and converting the input reading character string and the extended reading character string into a notation character string Expansion candidate generation means for generating expansion candidates by doing, display order setting means for setting the display order of the expansion candidates generated by the expansion candidate generation means according to a predetermined rule, and according to the set display order A character processing device, comprising: the expansion candidate and a candidate display means for displaying the expansion reading character string.
された前記拡張候補の前記拡張読み文字列と、入力され
た前記読み文字列の内、この拡張読み文字列に対応する
文字列とが等しいかどうかを判定する最尤候補判定手段
と、 前記最尤候補判定手段が前記読み文字列と前記拡張読み
文字列とが異なると判定した場合に、予め定めた形式で
警告を出力する警告出力手段とを有することを特徴とす
る、請求項2記載の文字処理装置。3. The character processing device further includes: of the extended reading character string of the extension candidate set to the first priority output order by the display order setting means and the input reading character string. Maximum likelihood candidate determining means for determining whether or not the character string corresponding to the extended reading character string is equal, when the maximum likelihood candidate determining means determines that the reading character string and the extended reading character string are different, The character processing device according to claim 2, further comprising a warning output unit that outputs a warning in a predetermined format.
した読み文字列を入力する読み入力手段と、 前記読み入力手段から読み文字が入力される度に、入力
された前記読み文字が予め定めた誤入力形態の文字に該
当するか否かを判定する読み評価手段と、 前記読み評価手段によって誤入力文字と判定された場合
に、判定された読み文字を予め設定した代替読み文字に
置き換える読み文字訂正手段とを有することを特徴とす
る、文字処理装置。4. A phonetic input unit for inputting a phonetic character string in which each character of a sentence to be created is represented by phonetic characters, and the phonetic character input every time the phonetic character is input from the phonetic input unit. And a reading evaluator that determines whether or not the character corresponds to a character with a predetermined erroneous input form, and if the reading evaluator determines that the character is an erroneous input character, the reading character that is determined is an alternative reading character And a reading character correcting unit that replaces
した読み文字列を入力する読み入力手段と、 入力された前記読み文字列が予め定めた誤入力の態様に
該当する場合に、前記読み文字列中の該当部分を予め定
めた規則に従って別の読み文字に置き換えることによっ
て拡張読み文字列を生成するとともに、前記拡張読み文
字列を表記文字列に変換することによって拡張候補を生
成する拡張候補生成手段と、 前記拡張候補生成手段によって生成された前記拡張候補
及び前記拡張読み文字列を表示する候補表示手段と、 前記候補表示手段が表示した前記拡張候補の中からオペ
レータが所望の拡張候補を選択するための候補選択手段
と、 前記拡張候補と、前記拡張候補が前記拡張読み文字列に
基づいて生成されたことを示す拡張履歴情報と対応付け
て記憶するテキスト記憶手段と、 前記テキスト記憶手段中から前記拡張履歴情報が対応付
られた前記拡張候補の変換文章中の位置情報を検索する
補正箇所検索手段と、 前記補正箇所検索手段が検索した前記拡張候補の位置情
報に基づいて、この位置情報が示す位置に表示される文
字を識別可能な形態で表示する検索結果表示手段とを有
することを特徴とする、文字処理装置。5. A reading input means for inputting a reading character string in which each character of a sentence to be created is represented by a phonetic character, and when the input reading character string corresponds to a predetermined erroneous input mode. An extended reading character string is generated by replacing a corresponding portion in the reading character string with another reading character according to a predetermined rule, and an expansion candidate is generated by converting the extended reading character string into a notation character string. An expansion candidate generating unit, a candidate display unit displaying the expansion candidate and the expansion reading character string generated by the expansion candidate generating unit, and an operator's desire from among the expansion candidates displayed by the candidate displaying unit. Correspondence with candidate selection means for selecting an extension candidate, the extension candidate, and extension history information indicating that the extension candidate is generated based on the extension reading character string. A text storage unit that stores the text, a correction location search unit that searches the text storage unit for position information in the converted sentence of the extension candidate associated with the extension history information, and a correction location search unit that searches. And a search result display means for displaying the character displayed at the position indicated by the position information in a distinguishable form based on the position information of the expansion candidate.
した読み文字列を入力する読み入力ステップと、 入力された前記読み文字列が予め定めた誤入力の態様に
該当する場合に、前記読み文字列中の該当部分を予め定
めた規則に従って別の読み文字に置き換えることによっ
て拡張読み文字列を生成するとともに、前記拡張読み文
字列を表記文字列に変換することによって拡張候補を生
成する拡張候補生成ステップと、 前記拡張候補生成ステップにおいて生成された前記拡張
読み文字列の内、前記拡張候補生成ステップにおいて置
き換えられた読み文字列の部分に他の読み文字列の部分
と異なる表示属性を付与する表示属性更新ステップと、 前記表示属性更新ステップにおいて付与された前記表示
属性に従って前記拡張読み文字列を表示する候補表示ス
テップとを有することを特徴とする、文字処理方法。6. A reading input step of inputting a reading character string in which each character of a sentence to be created is represented by phonetic characters, and when the input reading character string corresponds to a predetermined erroneous input mode. An extended reading character string is generated by replacing a corresponding portion in the reading character string with another reading character according to a predetermined rule, and an expansion candidate is generated by converting the extended reading character string into a notation character string. And a display attribute different from another reading character string portion in the reading character string portion replaced in the extension candidate generating step among the extended reading character string generated in the extension candidate generating step. A display attribute updating step of adding the display attribute updating step of displaying the extended reading character string according to the display attribute added in the display attribute updating step. And a supplementary display step.
した読み文字列を入力する読み入力ステップと、 入力された前記読み文字列が予め定めた誤入力の態様に
該当する場合に、前記読み文字列中の該当部分を予め定
めた規則に従って別の読み文字に置き換えることによっ
て拡張読み文字列を生成するとともに、入力された読み
文字列及び前記拡張読み文字列を表記文字列に変換する
ことによって拡張候補を生成する拡張候補生成ステップ
と、 前記拡張候補生成ステップにおいて生成された前記拡張
候補の表示順位を予め定めた規則に従って設定する表示
順位設定ステップと、 設定された前記表示順序に従って前記拡張候補と前記拡
張読み文字列を表示する候補表示ステップとを有するこ
とを特徴とする、文字処理方法。7. A reading input step of inputting a reading character string in which each character of a sentence to be created is represented by a phonetic character, and when the input reading character string corresponds to a predetermined erroneous input mode. , Generating an extended reading character string by replacing the corresponding portion in the reading character string with another reading character according to a predetermined rule, and converting the input reading character string and the extended reading character string into a notation character string An expansion candidate generation step for generating an expansion candidate by doing, a display order setting step for setting the display order of the expansion candidates generated in the expansion candidate generation step according to a predetermined rule, and according to the set display order A character processing method comprising: the expansion candidate and a candidate display step of displaying the expansion reading character string.
設定された前記拡張候補の前記拡張読み文字列と、入力
された前記読み文字列の内、この拡張読み文字列に対応
する文字列とが等しいかどうかを判定する最尤候補判定
ステップと、 前記最尤候補判定ステップにおいて前記読み文字列と前
記拡張読み文字列とが異なると判定された場合に、予め
定めた形式で警告を出力する警告出力ステップとを有す
ることを特徴とする、請求項7記載の文字処理方法。8. The character processing method further comprises: selecting the extended reading character string of the extension candidate set to the first priority output order by the display order setting step and the input reading character string. A maximum likelihood candidate determination step of determining whether or not the character string corresponding to the extended reading character string is equal, and when it is determined that the reading character string and the extended reading character string are different in the maximum likelihood candidate determination step. 8. The character processing method according to claim 7, further comprising: a warning output step of outputting a warning in a predetermined format.
した読み文字列を入力する読み入力ステップと、 前記読み入力ステップから読み文字が入力される度に、
入力された前記読み文字が予め定めた誤入力形態の文字
に該当するか否かを判定する読み評価ステップと、 前記読み評価ステップによって誤入力文字と判定された
場合に、判定された読み文字を予め設定した代替読み文
字に置き換える読み文字訂正ステップとを有することを
特徴とする、文字処理方法。9. A reading input step of inputting a reading character string in which each character of a sentence to be created is represented by phonetic characters, and each time the reading character is input from the reading input step,
A reading evaluation step of determining whether or not the input read character corresponds to a character of a predetermined erroneous input form, and when the read evaluation step determines that the input character is an erroneous input character, the determined read character is A character processing method, comprising: a reading character correcting step of replacing with a preset alternative reading character.
示した読み文字列を入力する読み入力ステップと、 入力された前記読み文字列が予め定めた誤入力の態様に
該当する場合に、前記読み文字列中の該当部分を予め定
めた規則に従って別の読み文字に置き換えることによっ
て拡張読み文字列を生成するとともに、前記拡張読み文
字列を表記文字列に変換することによって拡張候補を生
成する拡張候補生成ステップと、 前記拡張候補生成ステップによって生成された前記拡張
候補及び前記拡張読み文字列を表示する候補表示ステッ
プと、 前記候補表示ステップにおいて表示された前記拡張候補
の中からオペレータが所望の拡張候補を選択するための
候補選択ステップと、 前記拡張候補と、前記拡張候補が前記拡張読み文字列に
基づいて生成されたことを示す拡張履歴情報と対応付け
て記憶するテキスト記憶ステップと、 前記拡張履歴情報が対応付られた前記拡張候補の変換文
章中の位置情報を検索する補正箇所検索ステップと、 前記補正箇所検索ステップにおいて検索された前記拡張
候補の位置情報に基づいて、この位置情報が示す位置に
表示される文字を識別可能な形態で表示する検索結果表
示ステップとを有することを特徴とする、文字処理方
法。10. A reading input step of inputting a reading character string in which each character of a sentence to be created is represented by phonetic characters, and when the input reading character string corresponds to a predetermined erroneous input mode. An extended reading character string is generated by replacing a corresponding portion in the reading character string with another reading character according to a predetermined rule, and an expansion candidate is generated by converting the extended reading character string into a notation character string. An extension candidate generating step, a candidate displaying step for displaying the extension candidate and the extended reading character string generated by the extension candidate generating step, and an operator's desire from among the extension candidates displayed in the candidate displaying step. A candidate selection step for selecting an extended candidate, the extended candidate, and the extended candidate generated based on the extended reading character string. A text storage step of storing the expanded history information in association with the expanded history information, a correction location searching step of searching for positional information in the converted sentence of the expansion candidate associated with the expansion history information, and the correction location And a search result display step of displaying, in an identifiable form, a character displayed at a position indicated by the position information based on the position information of the extension candidate searched in the search step. Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5257261A JPH07110811A (en) | 1993-10-14 | 1993-10-14 | Character processor and its method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5257261A JPH07110811A (en) | 1993-10-14 | 1993-10-14 | Character processor and its method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07110811A true JPH07110811A (en) | 1995-04-25 |
Family
ID=17303935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5257261A Pending JPH07110811A (en) | 1993-10-14 | 1993-10-14 | Character processor and its method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07110811A (en) |
-
1993
- 1993-10-14 JP JP5257261A patent/JPH07110811A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2005078211A (en) | Chinese input program | |
WO2002101578A1 (en) | System for assisting input of text through automatic generation of space | |
JPH07110811A (en) | Character processor and its method | |
JP2008117310A (en) | Dictionary search apparatus and dictionary search processing program | |
JP4363167B2 (en) | Electronic dictionary apparatus and program | |
JPH045224B2 (en) | ||
JP4492499B2 (en) | Information display control device and information display control program | |
JP2539588B2 (en) | Kana-Kanji conversion method | |
JP2001134564A (en) | Electronic dictionary | |
JPH0728800A (en) | Method and device for character processing | |
JP3387421B2 (en) | Word input support device and word input support method | |
JP3263211B2 (en) | Character processing method and device | |
JPH0565898B2 (en) | ||
JPH0721171A (en) | Key input correcting device | |
JP3490811B2 (en) | Kana-Kanji conversion method for document processing device | |
JPS61175855A (en) | Kana to kanji converting device | |
JPH0697455B2 (en) | Kana-Kanji conversion device | |
JPH0721176A (en) | Method and device for character correction | |
JPH0623973B2 (en) | Character processor frequency change method | |
JPS62266662A (en) | Kana-Kanji conversion device | |
JPH09179858A (en) | Document creation device and display method | |
JPH069044B2 (en) | Character processor | |
JP2005293068A (en) | Electronic dictionary | |
JPH09134353A (en) | Kana/kanji converting method of document processor | |
JPH10187700A (en) | Document processor |