JPH0256058A - Kana to kanji conversion control system - Google Patents

Kana to kanji conversion control system

Info

Publication number
JPH0256058A
JPH0256058A JP63206406A JP20640688A JPH0256058A JP H0256058 A JPH0256058 A JP H0256058A JP 63206406 A JP63206406 A JP 63206406A JP 20640688 A JP20640688 A JP 20640688A JP H0256058 A JPH0256058 A JP H0256058A
Authority
JP
Japan
Prior art keywords
kana
character string
character
string
homophone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63206406A
Other languages
Japanese (ja)
Inventor
Fukumi Tamura
田村 福美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP63206406A priority Critical patent/JPH0256058A/en
Publication of JPH0256058A publication Critical patent/JPH0256058A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To efficiently execute the reconversion by setting reading of a character- string as an object immediately before punctuation marks or a definite same sound word appearing first after a KANA (Japanese syllabary) character-string from character-string obtained by bringing a reading correction object KANA character- string to reading correction. CONSTITUTION:A homonym which is outputted as a result of KANA to KANJI (Chinese character) conversion is accumulated in a conversion result storage buffer 27 in accordance with reading. An editing work part 24 retrieves a homonym group and delivers it to a screen display processing part 26. When it is detected that a selection/execution key 15 or a conversion/next candidate key 14 is operated, an input control part 21 informs its face to the editing work part 24. The editing work part 24 detects a head position of the succeeding character-string which does not become an object of a reading correction, derives a KANA character-string immediately before that which appears first in punctuation marks or a definite homonym from a character- string after said position and accumulates it in an input buffer. A KANA to KANJI converting part 22 brings the KANA character-string containing a reading correction character delivered from the input control part 21 to KANA to KANJI conversion (reconversion).

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、入力した仮名文字列を漢字混じり文字列に
変換する仮名漢字変換方式の文書作成装置に係り、特に
誤った入力文字を仮名漢字変換後に訂正して変換し直す
のに好適な仮名漢字変換制御方式に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Field of Industrial Application) This invention relates to a document creation device using a kana-kanji conversion method that converts an input kana character string into a character string containing kanji. The present invention relates to a kana-kanji conversion control system suitable for correcting and reconverting input characters after converting them into kana-kanji characters.

(従来の技術) 従来、この種の文書作成装置では、入力文字の誤りを仮
名漢字変換後に見付けた場合の訂正方式として、次に示
す方式1および方式2のいずれかを適用するのが一般的
であった。
(Prior Art) Conventionally, in this type of document creation device, it has been common to apply either Method 1 or Method 2 shown below as a correction method when an error in input characters is found after Kana-Kanji conversion. Met.

■ 方式1は、変換した文字列(漢字混じり文字列)を
全て変換前の文字列(仮名文字列)に戻すためのキー操
作を行い、次に誤った文字(または語)を訂正するため
のキー操作を行い、最後に再度全て変換し直すものであ
る。この方式では、全て変換前の仮名文字列にした後に
、訂正したい文字を指示するためにカーソルを1文字車
位で移動させなければならず、したがって仮名文字列の
文字数が多い場合にはキー操作回数が増加する欠点があ
った。また、仮名文字列の中から誤った文字を見付ける
ことは容易ではなかった。
■ Method 1 involves performing key operations to return all converted character strings (character strings containing kanji) to the character strings before conversion (kana character strings), and then performing key operations to correct incorrect characters (or words). This involves performing key operations and finally converting everything again. With this method, after converting all the characters into the original kana character string, the cursor must be moved by one character position to indicate the character to be corrected. Therefore, if the kana character string has a large number of characters, the number of key presses The disadvantage was that it increased. Furthermore, it is not easy to find incorrect characters in a kana character string.

■ 方式2は、仮名漢字変換後の文字列を変換前の仮名
文字列に戻すことができない文書作成装置に適用される
もので、誤りのある部分へカーソルを移動するためのキ
ー操作を行い、次に訂正に必要な仮名文字列(望む変換
文字列の正しい読みを示す仮名文字列)の入力文字領域
を確保するためにスペースを開けるためのキー操作、或
は不要な文字列を削除するためのキー操作を行い、更に
訂正したい文字列に正しい仮名文字列をオーバーライド
で人力するためのキー操作を行い、最後に新たに入力し
た仮名文字列を変換し直すものである。この方式では、
誤った文字についてのみの訂正が行えず、誤って変換さ
れた文字列(即ち同音語)を対象として新たに読み文字
列を入力しなければならないため、訂正のための手順が
非常に煩雑であった。
■ Method 2 is applied to document creation devices that cannot convert character strings after kana-kanji conversion back to kana character strings before conversion. Next, key operations are performed to open up a space in order to secure an input character area for the kana character string necessary for correction (a kana character string that indicates the correct reading of the desired converted character string), or to delete unnecessary character strings. The user performs key operations to manually override the correct kana character string to the character string to be corrected, and finally converts the newly input kana character string. In this method,
The correction procedure is very complicated because it is not possible to correct only the incorrect characters, and a new reading string must be entered for the incorrectly converted character string (i.e., a homophone). Ta.

(発明が解決しようとする課題) 上記したように従来は、仮名漢字変換後に誤って入力し
た文字を訂正しようとすると、変換後の文字列を変換前
の仮名文字列に戻すことができない装置では、誤った文
字についてのみの訂正が行えず、誤って変換された文字
列(即ち同音語)を対象として訂正しなければならない
ため、訂正のための手順が非常に煩雑となるという問題
があった。また、誤った文字についてのみの訂正が可能
な装置では、仮名漢字変換された文字列を全て変換前の
仮名文字列に戻さなければならないため、訂正箇所を見
付けるのが困難で、しかもその箇所を指示するのに多く
のカーソル移動操作を必要とする問題があった。更に、
読み訂正後に、その後の文字列を対象に全て再度の仮名
漢字変換(再変換)を行うと、確定してあった同音語部
分も変換してしまうという問題もあった。
(Problem to be Solved by the Invention) As mentioned above, conventionally, when attempting to correct characters input by mistake after converting kana-kanji, the device cannot return the converted character string to the pre-converted kana character string. However, since it is not possible to correct only the incorrect characters, and it is necessary to correct the incorrectly converted character strings (i.e. homophones), the correction procedure becomes extremely complicated. . In addition, with a device that can only correct incorrect characters, all character strings that have been converted into kana-kanji must be returned to the original kana character string, making it difficult to find the corrected part and There was a problem that required many cursor movement operations to give instructions. Furthermore,
After correcting the pronunciation, if all subsequent character strings were converted (reconverted) from kana to kanji again, there was also the problem that homophones that had been confirmed would also be converted.

したがってこの発明の解決すべき課題は、誤って入力し
た仮名文字の訂正が、仮名漢字変換後でも簡単に行え、
しかも仮名文字(読み)訂正後の再変換が効率よく行え
るようにすることである。
Therefore, the problem to be solved by this invention is that incorrectly inputted kana characters can be easily corrected even after kana-kanji conversion.
Furthermore, the purpose is to efficiently perform reconversion after correcting kana characters (reading).

[発明の構成] (課題を解決するための手段) この発明は、仮名漢字変換された漢字混じり文字列のう
ちの同音語選択対象となっている同音語候補の読みを訂
正することを指示するための読み訂正指示手段と、この
読み訂正指示手段からの指示に応じて対応する同音語候
補を仮名文字列に変換し、同文字列を読み訂正対象仮名
文字列として特定表示属性で表示する手段と、読み訂正
対象仮名文字列の範囲を1文字車位で可変することを指
示するための手段と、この手段の指示に応じて特定表示
属性で画面表示される読み訂正対象仮名文字列の範囲を
変更する手段と、特定表示属性で画面表示されている読
み訂正対象仮名文字列を他の仮名文字列に置換える読み
訂正手段と、この読み訂正手段によって置換えられた仮
名文字列以降に最初に出現する句読点または確定した同
音語を上記仮名漢字変換された文字列から検出する検出
手段とを設け、上記置換えられた仮名文字列から上記検
出された句読点または同音語の直前までの文字列の読み
を対象に再度仮名漢字変換を行うようしたことを特徴と
する。
[Structure of the invention] (Means for solving the problem) This invention instructs to correct the pronunciation of a homophone candidate that is a homophone selection target in a character string containing kanji that has been converted into kana-kanji. and means for converting a corresponding homophone candidate into a kana character string in response to an instruction from the reading correction instructing means, and displaying the same character string as a kana character string to be corrected with a specific display attribute. , a means for instructing to vary the range of the kana character string to be read corrected by one character position, and a means for instructing to vary the range of the kana character string to be read corrected to be displayed on the screen with a specific display attribute according to the instruction of this means. a reading correction means for replacing the kana character string to be corrected that is displayed on the screen with a specific display attribute with another kana character string, and a reading correction means that first appears after the kana character string replaced by the reading correction means. detecting means for detecting a punctuation mark or determined homophone from the character string converted into kana-kanji, and reading the character string from the replaced kana character string to immediately before the detected punctuation mark or homophone. It is characterized by performing kana-kanji conversion on the target again.

(作用) 上記の構成によれば、読み訂正指示手段による訂正指示
があると、現在選択操作の対象となっている同音語がそ
の読みを示す仮名文字列に変換される。この変換された
仮名文字列は、読み訂正対象仮名文字列であることを示
すための特定表示属性で画面表示される。この特定表示
属性で画面表示される読み訂正対象仮名文字列の範囲は
、読み訂正対象範囲変更指示手段からの指示によって1
文字単位で可変される。そして、このようにして決定さ
れた読み訂正対象仮名文字列を他の仮名文字列に置換え
る読み訂正が行われると、この訂正後の仮名文字列から
同文字列以降で最初に出現する句読点または確定した同
音語の直前までの文字列の読みを対象とする再変換が行
われる。
(Operation) According to the above configuration, when a correction instruction is given by the pronunciation correction instruction means, the homophone currently being selected is converted into a kana character string indicating its pronunciation. This converted kana character string is displayed on the screen with a specific display attribute to indicate that it is a kana character string subject to reading correction. The range of kana character strings subject to reading correction that is displayed on the screen with this specific display attribute is determined by the instruction from the reading correction range change instruction means.
Variable character by character. When the pronunciation correction is performed to replace the kana character string determined in this way with another kana character string, the first punctuation mark or Reconversion is performed targeting the reading of the character string immediately before the confirmed homophone.

(実施例) 第1図はこの発明を適用する文書作成装置の一実施例を
示す機能ブロック構成図である。同図において、10は
キーボードである。キーボード10には、各種文字キー
(図示せず)の他に、左方向へのカーソル移動を指示す
るための左カーソルキー111右方向へのカーソル移動
を指示するための右カーソルキー12、図示せぬ上下カ
ーソルキー、および他のキーと組合わせて各種の指示機
能を実現するための機能キー13が設けられる。この実
施例において、機能キー18は他の所定キー例えば後述
するスペースキー17と組合わせることで、同音語選択
対象となっている同音語候補の読みの訂正を指示するの
に用いられる。キーボード10には更に、入力した仮名
文字列に対する仮名漢字変換、仮名漢字変換された同音
語の次候補への切換え(切換え表示)等を指示するため
の変換/次候補キー14、同音語候補の選択等を指示す
るための選択/実行キー15、キーボード10からの各
種指示状態を解除するための取消しキー1B、空白(ス
ペース)入力用のスペースキー17が設けられる。
(Embodiment) FIG. 1 is a functional block configuration diagram showing an embodiment of a document creation device to which the present invention is applied. In the figure, 10 is a keyboard. In addition to various character keys (not shown), the keyboard 10 includes a left cursor key 111 for instructing cursor movement to the left, and a right cursor key 12 for instructing cursor movement to the right. Function keys 13 are provided for realizing various instruction functions in combination with up and down cursor keys and other keys. In this embodiment, the function key 18 is used in combination with another predetermined key, such as the space key 17 to be described later, to instruct correction of the pronunciation of a homophone candidate that is a homophone selection target. The keyboard 10 further includes a conversion/next candidate key 14 for instructing conversion of input kana character strings into kana-kanji characters, switching to the next candidate for the homophone that has been converted to kana-kanji (switching display), A selection/execution key 15 for instructing selection, etc., a cancel key 1B for canceling various instruction states from the keyboard 10, and a space key 17 for inputting a blank space are provided.

21はキーボードlOからのキー人力処理並びにキー判
別処理を行うと共に、キー判別結果に応じて装置内各部
に指示を与える入力制御部、22は入力された仮名文字
列を漢字混じり文字列に変換したり、仮名漢字変換後に
おいて読み訂正により訂正された仮名文字列を再度仮名
漢字変換(再変換)する処理を行う仮名漢字変換部、2
3は仮名漢字変換部22の仮名漢字変換に用いられる自
立語と文法情報が記憶された単語辞書と付属語が記憶さ
れた付属語辞書とから成る辞書、24は入力制御部21
からの指示に応じて各種の編集処理を行う編集作業部で
ある。25は文書表示等に洪される例えば液晶表示器な
どの表示器、2Bは表示器25への文書表示等を行う画
面表示処理部、27は仮名漢字変換部22により変換さ
れた同音語(同音異義語)の候補が積まれる変換結果記
憶バッファである。
21 is an input control unit that performs key manual processing and key discrimination processing from the keyboard IO, and gives instructions to various parts within the device according to the key discrimination results; 22 converts input kana character strings into character strings containing kanji; a kana-kanji conversion unit that performs processing to re-convert (re-convert) a kana character string corrected by reading correction after kana-kanji conversion;
3 is a dictionary consisting of a word dictionary in which independent words and grammatical information are stored, and an attached word dictionary in which dependent words are stored, which are used for kana-kanji conversion by the kana-kanji conversion unit 22; 24 is an input control unit 21;
This is an editing work unit that performs various editing processes in accordance with instructions from the editor. Reference numeral 25 indicates a display device such as a liquid crystal display used for displaying documents, etc.; 2B indicates a screen display processing unit that displays documents on the display unit 25; and 27 indicates homophones (homonyms) converted by the kana-kanji conversion unit 22. This is a conversion result storage buffer in which candidates for different synonyms are stored.

次に、この発明の一実施例の動作を、第2図乃至第6図
を参照して説明する。
Next, the operation of one embodiment of the present invention will be explained with reference to FIGS. 2 to 6.

文書を作成する場合、ユーザはキーボード10の文字キ
ーを操作して、所望の文の読みを示す仮名文字列(読み
文字列)を仮名人力或はローマ字入力等により入力する
。ここでは「今日は素晴らしく良い天気でした。」とい
う文を作成するために、その読みを示す「きようはすば
らしくよいてんきでした。」という仮名文字列をキー人
力すべきところを、「きようはすばらしくよいてんきで
した。」と誤って入力したものとする。
When creating a document, the user operates the character keys on the keyboard 10 and inputs a kana character string (reading character string) indicating the pronunciation of a desired sentence using kana manual input, Roman alphabet input, or the like. Here, in order to create the sentence ``It was a wonderfully nice day today.'', we will use the kana character string ``Today was a wonderful day'' to show the pronunciation. It is assumed that you have incorrectly entered "It was a wonderful and good time."

入力制御部21は、キーボードlOの文字キーが操作さ
れて(「きようはすばらしくよいてんきでした。」とい
う)読みの仮名文字列が入力されると、この仮名文字列
を1文字単位で図示せぬ入力バッファに積み、その旨を
編集作業部24に通知する。
When the character keys on the keyboard 10 are operated and a kana character string with a pronunciation of ``Today was a wonderful day.'' is input, the input control unit 21 displays this kana character string character by character. The data is stored in an input buffer that cannot be shown, and the editing section 24 is notified of this fact.

編集作業部24は画面表示処理部26を用い、入力制御
部21によって入力バッファに積まれた文字を表示器2
5の画面上に現在表示されているカーソル位置から順に
表示していく。なお、本装置は画面上のX桁、Y行の座
標を記憶したカーソル位置レジスタ(図示せず)を具備
しており、また画面上の座標に対応して図示せぬ表示用
メモリ(画面表示処理部2Bが具備している)の記憶位
置が管理されている。そして、カーソル位置レジスタの
内容に従って画面表示処理部2Bがカーソルパターンを
表示メモリに書込んでカーソルを表示している。また第
1図に示した編集作業部24等はカーソル位置レジスタ
の内容をみれば現在のカーソル位置が分るようになって
いる。また、画面の先頭の行桁位置も別途管理されてい
るのでカーソル位置レジス夕の内容と画面の先頭の行桁
位置とのX座標、Y座標を加えれば現在カーソルが存在
する位置のページ内の行桁位置を把握できるようになっ
ている。
The editing section 24 uses the screen display processing section 26 to display the characters accumulated in the input buffer by the input control section 21 on the display 2.
The images are sequentially displayed starting from the cursor position currently displayed on the screen in step 5. This device is equipped with a cursor position register (not shown) that stores the coordinates of the X digit and Y line on the screen, and a display memory (not shown) that stores the coordinates of the X digit and Y line on the screen. (which the processing unit 2B has) is managed. Then, the screen display processing section 2B writes the cursor pattern into the display memory according to the contents of the cursor position register and displays the cursor. Further, the editing work unit 24 shown in FIG. 1 and the like are configured so that the current cursor position can be determined by looking at the contents of the cursor position register. In addition, the position of the first line on the screen is also managed separately, so adding the contents of the cursor position register and the X and Y coordinates of the first line on the screen will determine the position of the current cursor in the page. It is now possible to grasp the line column position.

したがって、編集作業部24はカーソル位置レジスタの
内容を読んでこの位置座標から順次桁を増やして表示位
置座標と文字コードとを画面表示処理部26に渡してい
く。この状態で句読点の人力、変換/次候補キー14、
もしくは選択/実行キー15のいずれかの操作が行われ
、或は入力バッファ28がフル(Full)となると、
入力制御部21は入力バッファに積まれた仮名文字列を
仮名漢字変換部22に渡し、仮名漢字変換の起動をかけ
る。ここでは、句点の入力に応じて仮名漢字変換部22
に仮名漢字変換の起動がかけられたものとする。以降の
動作を第2図のフローチャートに示す。
Therefore, the editing section 24 reads the contents of the cursor position register, sequentially increments digits from this position coordinate, and passes the display position coordinate and character code to the screen display processing section 26. In this state, punctuation manually, conversion/next candidate key 14,
Alternatively, when any of the selection/execution keys 15 is operated or the input buffer 28 becomes full,
The input control unit 21 passes the kana character string stored in the input buffer to the kana-kanji conversion unit 22, and activates the kana-kanji conversion. Here, the kana-kanji converter 22
It is assumed that the Kana-Kanji conversion is activated. The subsequent operation is shown in the flowchart of FIG.

仮名漢字変換部22は、入力制御部21からの仮名漢字
変換指示に応じ、同制御部21から渡された仮名文字列
を対象に仮名漢字変換処理を行う(ステップSL)。即
ち仮名漢字変換部22は、入力仮名文字列から辞書23
を検索して自立語と付属語を抽出し、文法的な接続関係
、用言の活用等を加味して文節抽出を行い、文法チエツ
クが成功した自立語の同音異義語を出力して仮名漢字変
換を行う。
The kana-kanji conversion unit 22 performs a kana-kanji conversion process on the kana character string passed from the input control unit 21 in response to a kana-kanji conversion instruction from the input control unit 21 (step SL). That is, the kana-kanji conversion unit 22 converts the input kana character string into the dictionary 23.
Search for independent words and adjunct words, extract clauses by taking into consideration grammatical connections, use of predicates, etc., output homophones of independent words for which the grammar check was successful, and convert them into kana-kanji. Perform the conversion.

仮名漢字変換の手法は当業者に公知であるので詳細な説
明を省略する。
Since the method of kana-kanji conversion is well known to those skilled in the art, detailed explanation will be omitted.

ステップSlの仮名漢字変換結果として出力された同音
異義語は読みに対応して変換結果記憶バッファ27に積
まれる。第4図に同音異義語が存在する場合の出力コー
ドを示す。変換結果が一意に確定した文字(平板名、片
仮名、英数字、記号)の場合は、その文字を示す文字コ
ードが文書を記憶した文書バッファ(図示せず/文書バ
ッファの各コード記憶位置は頁の行桁に対応して管理さ
れている)に記憶されるが、成る読みの変換結果として
同音異義語が存在する場合、この読みの変換結果は第4
図に示すコードの形で文書バッファに格納される。読み
に対応する同音異義語は変換結果記憶バッファ27に積
まれているが、このコード(以下、未確定変換結果コー
ドと称する)には同音異義語が記憶された領域の先頭を
示すポインタ(同音異義語バッファポインタ)41が設
定されている。また、このコードを通常の文字コードと
区別するためのフラグ42、および、この同音異義語が
選択処理の対象となっていることを示すフラグ43も設
けられている。即ち同音異義語が存在するという属性を
フラグ42で示し、対応する同音異義語群はポインタ4
1で示された変換結果記憶バッファ27の記憶位置から
格納される。
The homophones output as a result of the kana-kanji conversion in step Sl are stacked in the conversion result storage buffer 27 in accordance with their readings. FIG. 4 shows the output code when homonyms exist. If the conversion result is a uniquely determined character (plain name, katakana, alphanumeric character, symbol), the character code indicating that character is the document buffer in which the document is stored (not shown/each code storage location in the document buffer is a page). ), but if there is a homophone as a result of the conversion of the reading, the conversion result of this reading will be the fourth one.
It is stored in the document buffer in the form of the code shown in the figure. Homophones corresponding to the readings are stored in the conversion result storage buffer 27, and this code (hereinafter referred to as undefined conversion result code) contains a pointer (homophone) indicating the beginning of the area where the homophones are stored. A synonym buffer pointer) 41 is set. Further, a flag 42 for distinguishing this code from a normal character code, and a flag 43 for indicating that this homophone is a target of selection processing are also provided. That is, the attribute that a homophone exists is indicated by a flag 42, and the corresponding homophone group is indicated by a pointer 4.
The data is stored from the storage position of the conversion result storage buffer 27 indicated by 1.

ここで、上記入力仮名文字列「きようはすばらしくよい
てんきでした。」の変換結果を第5図に示す。「きよう
」 「すば」 「よい」 「てんき」という読みに対し
て同音異義語が存在し、「は」。
Here, the conversion result of the above-mentioned input kana character string "Today was a wonderfully good day." is shown in FIG. There are homophones for the pronunciations of ``Kiyou'', ``Suba'', ``Good'', and ``Tenki'', which are ``Ha''.

「らしく」、「です」は助詞、接尾語、助動詞として平
板名に確定している。したがって、文書バッファに記憶
されている文字列は符号51で示すフオームになる。な
お、未確定変換結果コードは現在表示されている候補の
文字数分だけ同じコードが埋め込まれる。また同音異義
語が存在する最後の読みの部分の未確定変換結果コード
には選択中フラグ(43)が立てられる。これは、この
読みの部分が同音異義語選択の対象となっていることを
示している。変換結果記憶バッファ27には文字コード
記憶部52、文字数の記憶部53、同音異義語群の中か
ら候補として表示される語を示すフラグ(表示中フラグ
)54、同−読みに対する次の同音異義語へのポインタ
記憶部(ポインタ記憶部にエンドコードEが記憶されて
いるとその語が同音異義語の最後であることを示す)5
5の各記憶部が設けられている。第5図に示すように「
きょう」に対しては「起用/器用/紀要/着よう/きよ
う」の5個の同音異義語が存在し、「すば」 「よい」
「てんき」に対してもそれぞれ2個、7個、3個の同音
異義語が存在することが示されている。この実施例では
、平仮名表記のものも同音異義語の一つとして記憶され
ている。各読みに対し候補として表示するものに表示中
フラグ54が立てられる。
``Nashiri'' and ``Desu'' have been confirmed as particles, suffixes, and auxiliary verbs in flat names. Therefore, the character string stored in the document buffer is in the form indicated by reference numeral 51. Note that the same unconfirmed conversion result code is embedded for the number of characters of the currently displayed candidate. In addition, a selection flag (43) is set in the undefined conversion result code of the last reading part where the homophone exists. This indicates that this reading is subject to homophone selection. The conversion result storage buffer 27 includes a character code storage section 52, a character count storage section 53, a flag (displaying flag) 54 indicating a word to be displayed as a candidate from a homophone group, and the next homophone for the same-yomi. Pointer storage unit to word (if end code E is stored in the pointer storage unit, it indicates that the word is the last of the homophones) 5
5 storage units are provided. As shown in Figure 5,
There are five homonyms for ``Kyo'': ``Kyoyo/Skillful/Bulletin/Kiyou/Kiyou'', and ``Suba'' and ``Good''.
It has been shown that there are 2, 7, and 3 homonyms for ``tenki'', respectively. In this embodiment, words written in hiragana are also stored as one of the homonyms. A display flag 54 is set for each reading to be displayed as a candidate.

第5図に示したように現在は「起用」 「素晴」「酔い
」 「天気」の各候補に表示中フラグ54が立てられて
いる。
As shown in FIG. 5, a display flag 54 is currently set for each of the candidates ``employed,''``fine,''``drunk,'' and ``weather.''

変換が終了すると処理が編集作業部24に渡される。編
集作業部24は、画面表示処理部2Bを用いて仮の変換
結果を表示する。即ち編集作業部24は読み入力を開始
した時点でのカーソル位置に対応する文書バッファの記
憶位置からコードを一つずつ読出す。編集作業部24は
、読出されたコードが文字コードならば文字コードを画
面表示処理部26に渡し、画面表示処理部2Bはカーソ
ル位置レジスタで指定されている位置に対応する文字を
表示し、カーソル位置レジスタの内容を1桁分更新する
When the conversion is completed, the processing is passed to the editing section 24. The editing section 24 displays the tentative conversion result using the screen display processing section 2B. That is, the editing section 24 reads codes one by one from the storage position of the document buffer corresponding to the cursor position at the time when reading input is started. If the read code is a character code, the editing work unit 24 passes the character code to the screen display processing unit 26, and the screen display processing unit 2B displays the character corresponding to the position specified by the cursor position register and moves the cursor Update the contents of the position register by one digit.

コードが未確定変換結果コードの場合は、ポインタ(4
1)の内容から変換結果記憶バッファ27をアクセスし
、表示中フラグ54が立っている語のコードを読出し、
文字数記憶部53に記憶された文字数分文字コードを上
線付きのアトリビュートを付けて画面表示処理部2Bに
渡す。この状態で第3図に符号31で示すように「起用
は素晴らしく酔い天気でした。」と表示され、カーソル
(第3図において斜線が施された矩形パターン)が句点
「。」の次の位置に表示される。
If the code is an undefined conversion result code, pointer (4
Access the conversion result storage buffer 27 from the contents of 1), read the code of the word whose display flag 54 is set,
The character codes corresponding to the number of characters stored in the character number storage section 53 are passed to the screen display processing section 2B with overlined attributes attached. In this state, as shown by reference numeral 31 in Figure 3, the message ``The appointment was wonderful and intoxicating.'' is displayed, and the cursor (the rectangular pattern with diagonal lines in Figure 3) is positioned next to the period point ``.''. will be displayed.

ここで、「きょう」と入力すべきところを「きよう」と
誤って入力したため、変換結果「起用」が所望のもので
ない場合、ユーザは次のようにして読みの訂、正を行う
Here, if the conversion result "Kyouse" is not the desired one because the user mistakenly inputs "Kyo" instead of "Kyo", the user corrects the pronunciation as follows.

まずユーザは、読みの訂正の前に、画面31に示されて
いる未確定同音異義語「酔い」の例えば先頭文字位置「
酔」にカーソルを移動するための操作を行う。この操作
内容は入力制御部21を介して編集作業部24に通知さ
れ、これにより編集作業部24はカーソル位置レジスタ
内容を読出し指示された方向に行桁位置を変更すると共
に、変更されたカーソル位置から頁内の行桁位置に変換
して文書バッファ(51)をアクセスし、当該位置のコ
ードを読出す。今、「酔」に対応する位置から[1: 
O: C]の未確定変換結果コードが読出されたものと
する。未確定変換結果コードが読出されると、編集作業
部24はこのコードに連なり且つこのコードと同一内容
の未確定変換結果コードをサーチし、選択中フラグ43
を“1“に変えていく。
First, before correcting the pronunciation, the user selects, for example, the first character position "
Perform the operation to move the cursor to "Drunkenness." The contents of this operation are notified to the editing section 24 via the input control section 21, and the editing section 24 reads out the contents of the cursor position register and changes the line column position in the instructed direction, as well as changing the cursor position. is converted into a line column position within the page, the document buffer (51) is accessed, and the code at the position is read. Now, from the position corresponding to "drunkenness" [1:
It is assumed that the undefined conversion result code of [O:C] is read. When the undetermined conversion result code is read, the editing section 24 searches for an undetermined conversion result code that is continuous with this code and has the same content as this code, and sets the selected flag 43 to the undetermined conversion result code.
to "1".

そして、編集作業部24はこの未確定変換結果コードの
ポインタ(C)の指す文字コードに下線付きのアトリビ
ュートを付して画面表示処理部2Bに与える。これで「
酔い」の部分が同音異義語選択/確定対象となり、表示
は第5図の上部に示したようになる。このとき、カーソ
ルは「酔」の位置ある(図示せず)。
Then, the editing section 24 adds an underlined attribute to the character code pointed to by the pointer (C) of this undefined conversion result code and provides it to the screen display processing section 2B. with this"
The part "sickness" becomes the homophone selection/confirmation target, and the display becomes as shown in the upper part of FIG. 5. At this time, the cursor is at the "drunk" position (not shown).

上記の状態で変換/次候補キー14が押され、その旨が
入力制御部21から編集作業部24に通知されると、編
集作業部24ははカーソル位置に1対応する未確定変換
結果コード[1: 1 : C]のポインタCから変換
結果記憶バッファ27をアクセスし、現在表示中フラグ
54が立っている語のポインタ(ポインタ記憶部)55
から次の同音異義語(ここでは「酔」)を新たにサーチ
してこの語の表示フラグ54をオン(し、前の同音異義
語「酔い」の表示フラグ54をオフ)すると共に、この
語以降の文字列を表示し直す。この際文字数の増減があ
るので、編集作業部24は、変換結果記憶バッファ27
から読出された同音異義語の文字数に基づき、未確定変
換結果コード[1: 1 : C]を削除(文字数が少
なくなるとき)したり、挿入(文字数が増えるとき)し
たりして、以降の文字列の字詰め、字送りの処理も行う
。もし、新たに選択された同音異義語「酔」が所望の語
でなければ、ユーザは変換/次候補キー14を再び押す
。この結果、上記と同様にして今度はユーザが望む語「
良い」がサーチされ、この語の表示フラグ54がオンさ
れると共に、この語以降の文字列が表示し直される。さ
て、所望の語への確定は機能キーI3の押下で行われる
か、所望の語が表示されているとき機能キー13が押さ
れると、編集作業部24は文書バッファ(51)中の選
択対象となっている部分の未確定変換結果コードの代わ
りに、このコードのポインタ(41)が指している同音
異義語の文字コードを入れる。そして、この部分(「良
い」)を再表示するよう画面表示処理部2Bに指示する
。この時アトリビュート指定は何もないので表示は通常
の表示となり、読み「よい」の仮名漢字変換結果が「良
い」に確定したことが示される。第3図の画面32はこ
のときの表示画面状態を示したものであり、上記の確定
操作により、カーソルは次の文字「天Jの位置に移動さ
れ、この「天」を含む同音異義語「天気」に下線が付さ
れる。
When the conversion/next candidate key 14 is pressed in the above state and the input control unit 21 notifies the editing unit 24 of this fact, the editing unit 24 displays the unconfirmed conversion result code [1] corresponding to the cursor position. The conversion result storage buffer 27 is accessed from the pointer C of [1: 1: C] and the pointer (pointer storage section) 55 of the word for which the currently displayed flag 54 is set.
to newly search for the next homophone (in this case, "drunkenness"), turn on the display flag 54 of this word (and turn off the display flag 54 of the previous homophone "drunkenness"), and search for this word. Redisplay the following string. At this time, since the number of characters increases or decreases, the editing work unit 24 uses the conversion result storage buffer 27
Based on the number of characters of the homophone read out from It also processes character string padding and tracking. If the newly selected homophone "drunkenness" is not the desired word, the user presses the conversion/next candidate key 14 again. As a result, in the same way as above, the user's desired word "
``Good'' is searched, the display flag 54 for this word is turned on, and the character string after this word is redisplayed. Now, confirmation of the desired word is performed by pressing the function key I3, or when the function key 13 is pressed while the desired word is displayed, the editing section 24 selects the selected word in the document buffer (51). In place of the undefined conversion result code of the part marked as , enter the character code of the homophone pointed to by the pointer (41) of this code. Then, the screen display processing section 2B is instructed to redisplay this part ("good"). At this time, since there is no attribute specification, the display becomes a normal display, indicating that the kana-kanji conversion result of the reading ``good'' is determined to be ``good''. Screen 32 in FIG. 3 shows the display screen state at this time, and by the above confirming operation, the cursor is moved to the position of the next character ``天J'', and the homonym containing this ``天'' is displayed. "Weather" is underlined.

ユーザは上記の選択確定操作を行うと、読みの入力誤り
のために誤って変換された同音異義語、即ち読み訂正の
対象とする語(ここでは「起用」)の例えば最終文字位
置にカーソルを移動する(ステップS2)ための操作を
行う。この操作内容は入力制御部21を介して編集作業
部24に通知され、これにより編集作業部24はカーソ
ル位置レジスタ内容を変更すると共に、変更されたカー
ソル位置をもとに文書バッファ(51)をアクセスし、
当該位置のコードを読出す。今、「用」に対応する位置
から[1: 0 : A]の未確定変換結果コードが読
出されたものとする。未確定変換結果コードが読出され
ると、編集作業部24はこのコードに連なり且つこのコ
ードと同一内容の未確定変換結果コードをサーチし、選
択中フラグ43を“1“に変えていく。編集作業部24
はこの未確定変換結果コードのポインタ(A)の指す文
字コードに下線付きのアトリビュートを付して画面表示
処理部26に与える。これで「起用」の部分が同音異義
語選択/確定対象となり、表示は第3図の画面33のよ
うになる。なお、上記のカーソル移動により、それまで
下線が付されていた同音異義語「天気」は、上線付きの
表示に切換えられる。
When the user performs the selection confirmation operation described above, the user places the cursor at the final character position of the homophone that was incorrectly converted due to an error in the reading input, i.e., the word to be corrected (in this case, ``use''). An operation for moving (step S2) is performed. The contents of this operation are notified to the editing section 24 via the input control section 21, and the editing section 24 changes the contents of the cursor position register and also changes the document buffer (51) based on the changed cursor position. access,
Read the code at the relevant position. Assume that an undefined conversion result code of [1:0:A] is now read from the position corresponding to "Yo". When the undefined conversion result code is read out, the editing section 24 searches for an undefined conversion result code that is continuous with this code and has the same content as this code, and changes the selection flag 43 to "1". Editing work department 24
gives an underlined attribute to the character code pointed to by the pointer (A) of this undefined conversion result code to the screen display processing section 26. Now, the "appointment" part becomes the homophone selection/confirmation target, and the display becomes like the screen 33 in FIG. 3. By the above-mentioned movement of the cursor, the homonym "weather", which had been underlined up to that point, is switched to be overlined.

さて、第3図の画面33の表示状態で、読み訂正のため
に機能キー13およびスペースキー17が操作され、そ
の旨が入力制御部21によって検出されると(ステップ
S3.S4)、編集作業部24は現在のカーソル位置で
指定される文書バッファ(51)の中の未確定変換結果
コードのポインタ(ここでは「A」)から、変換結果記
憶バッファ30内のく読み「きよう」の)同音異義語群
を検索して、平仮名文字から成る語(読みに相当する文
字コード列/ここでは「きよう」)を読出す。そして編
集作業部24は、読出した語(平板名文字列)を入力バ
ッファに新たに積むと共に、この語を、読み訂正の対象
となっている語(平板名文字列)であることを示す例え
ば白黒反転のアトリビュートを付けて、画面表示処理部
26に渡し、先の語(「起用」)に代えて第3図の画面
34に示すように表示させる(ステップS5)。同時に
、この語に後続する文字列も表示し直す。この際文字数
の増減があるので、編集作業部24は、変換結果記憶バ
ッファ27から読出された同音異義語候補の文字数に基
づき、文書バッファ(51)において未確定変換結果コ
ード(ここでは[1: 1 : A] )を削除したり
、挿入したりして、以降の文字列の字詰め、字送りの処
理も行う。なお、変換結果記憶バッファ27から読出し
た平板名文字列(「きよう」)に対応する同バッファ2
7内の同音異義語群の状態には変化はない。もし、機能
キー13およびスペースキー17の操作に代えて、他の
キー操作が行われた場合には、そのキー操作内容で示さ
れる従来通りの処理が行われる(ステップS6)。
Now, when the function key 13 and the space key 17 are operated for reading correction in the display state of the screen 33 in FIG. The section 24 starts from the pointer of the undefined conversion result code (in this case, "A") in the document buffer (51) specified by the current cursor position, and reads "Kiyo" in the conversion result storage buffer 30. A homophone group is searched and a word consisting of hiragana characters (a character code string corresponding to the reading/here "Kiyou") is read out. Then, the editing unit 24 newly loads the read word (plain name character string) into the input buffer, and also adds an example that indicates that this word is a word (plain name character string) that is subject to reading correction. It is given an attribute of black and white inversion and passed to the screen display processing section 26, and is displayed as shown in the screen 34 of FIG. 3 in place of the previous word ("appointment") (step S5). At the same time, the character string following this word is also redisplayed. At this time, since the number of characters may increase or decrease, the editing work unit 24 creates an unconfirmed conversion result code (here [1: 1: A]) is deleted or inserted, and subsequent character string filling and tracking processing is also performed. Note that the conversion result storage buffer 27 corresponding to the flat name character string (``Kiyou'') read from the conversion result storage buffer 27
There is no change in the status of the homophone group within 7. If another key operation is performed in place of the operation of the function key 13 and space key 17, conventional processing indicated by the contents of the key operation is performed (step S6).

ユーザは、機能キー13およびスペースキー17を操作
して読み訂正を要求した後、この要求を取消したいなら
ば取消しキー16を操作し、読みの訂正範囲(読み訂正
対象仮名文字列の範囲)の変更が必要ならば〜左カーソ
ルキー11または右カーソルキー12を操作し、現在反
転表示されている仮名文字9列をそのまま読み訂正対象
止してよければ選択/実行キー15を操作する。
After requesting reading correction by operating the function key 13 and space key 17, if the user wishes to cancel this request, the user operates the cancellation key 16 to cancel the reading correction range (range of kana character strings subject to reading correction). If a change is necessary, operate the left cursor key 11 or right cursor key 12, read the currently highlighted 9 rows of kana characters as they are, and operate the selection/execution key 15 if it is OK to cancel the correction.

編集作業部24は、もし取消しキー16が操作されてそ
の旨が入力制御部21によって検出されると(ステップ
S7、S8)、表示画面の状態を第3図の画面33から
画面32の状態(即ち機能キー13およびスペースキー
17が操作される前の状態)に戻しくステップS8.S
9)、入力制御部21(のステップS3の処理)に制御
を戻す。即ち編集作業部24は、取消しキー16が操作
されると、現在のカーソル位置で指定される文書バッフ
ァ(51)中の未確定変換結果コード[1: 1 : 
A]のポインタAに基づいて変換結果記憶バッファ27
内の同音異義語群をサーチし、表示中ソラグ54の立っ
ている語(文字コード)を読出す(この場合は「起用」
)。そして、上記未確定変換結果コードに選択中フラグ
(43)が立っているので、下線アトリビュートを付し
てこの文字コードを画面表示処理部26に送り、画面表
示させる。この際、文字数の増減があれば1文書ノくツ
ファ(51)において未確定変換結果コード(ここでは
[1: 1 : A) ] )の削除または挿入が行わ
れ、以降の文字列の字詰め、字送りの処理が行われる。
If the cancel key 16 is operated and the input control unit 21 detects this (steps S7, S8), the editing unit 24 changes the state of the display screen from the state of the screen 33 to the state of the screen 32 in FIG. That is, step S8. returns to the state before the function key 13 and space key 17 were operated. S
9), the control is returned to the input control unit 21 (the process of step S3). That is, when the cancel key 16 is operated, the editing work unit 24 converts the undefined conversion result code [1: 1:
A] based on the pointer A of the conversion result storage buffer 27
Search for homophones in the list and read out the word (character code) with SORAG 54 on display (in this case, "use")
). Since the selection flag (43) is set on the unconfirmed conversion result code, this character code with an underline attribute is sent to the screen display processing section 26 to be displayed on the screen. At this time, if there is an increase or decrease in the number of characters, the undefined conversion result code (here, [1: 1: A)] is deleted or inserted in the 1-document output (51), and the subsequent character strings are padded, Tracking processing is performed.

また編集作業部24は、左カーソルキー11が操作され
ると(ステップ512)、反転表示されている読み訂正
対象仮名文字列を左方向に1文字縮め(ステップ513
)、入力バッファ内の仮名文字列の最終文字を削除する
。同様に編集作業部24は、右カーソルキー12が操作
されると(ステップ514)、反転表示されている読み
訂正対象仮名文字列を右方向に1文字伸ばしくステップ
515)、文書バッファ(51)内の対応記憶位置の文
字コード(即ち、新たな反転表示文字列の最終文字の文
字コード)を入力バッファに積む。
Further, when the left cursor key 11 is operated (step 512), the editing work unit 24 shortens the highlighted kana character string to be corrected by one character to the left (step 513).
), deletes the last character of the kana string in the input buffer. Similarly, when the right cursor key 12 is operated (step 514), the editing section 24 extends the highlighted kana character string to be corrected by one character in the right direction (step 515), and extends the text in the document buffer (51). The character code of the corresponding storage position within (that is, the character code of the final character of the new highlighted character string) is loaded into the input buffer.

更に編集作業部24は、選択/実行キー15が操作され
ると(ステップS 10)、(反転表示されていた平板
名文字列に一致する)入力バッファ内の平仮名仮名文字
列(ここでは「きよう」)を読出す。
Further, when the selection/execution key 15 is operated (step S10), the editing section 24 selects the hiragana-kana character string (here, "Kiku") in the input buffer (which matches the highlighted flat name character string). ”) is read out.

そして編集作業部24は、読出した平板名文字列に下線
付きのアトリビュートを付して画面表示処理部26に渡
して画面表示させ(反転表示を解除す)ると共に、カー
ソル位置レジスタの内容を同文字列の最終文字位置を指
すように更新する(ステップS11.)。
Then, the editing unit 24 adds an underlined attribute to the read plate name character string and passes it to the screen display processing unit 26 to display it on the screen (cancels the reverse display), and also changes the contents of the cursor position register to the same value. It is updated to point to the final character position of the character string (step S11).

さて、この実施例では、第3図の画面34において反転
表示されている仮名文字列「きよう」を読み訂正対象仮
名文字列とするために、この状態において選択/実行キ
ー15が操作される。したがって表示画面の状態は、第
3図の画面34から画面35に遷移する。
Now, in this embodiment, the selection/execution key 15 is operated in this state in order to read the kana character string "Kiyou" highlighted on the screen 34 of FIG. 3 and set it as the kana character string to be corrected. . Therefore, the state of the display screen changes from screen 34 to screen 35 in FIG.

ユーザは、選択/実行キー15を操作して読み訂正対象
仮名文字列を確定させた後、この状態を取消したいなら
ば取消しキー16を操作し、カーソルで指示される読み
の訂正対象文字位置の変更が必要ならば左カーソルキー
11または右カーソルキー12を操作し、読み訂正が必
要ならばカーソルの指示する文字位置に正しい読みを示
す仮名文字をキー人力する。また、読みの訂正が終了し
たならば、ユーザは選択/実行キー15または変換/次
候補キー14を操作する。
After the user operates the selection/execution key 15 to confirm the kana character string to be corrected in reading, if the user wishes to cancel this state, the user operates the cancel key 16 and selects the position of the character to be corrected in the reading indicated by the cursor. If a change is necessary, operate the left cursor key 11 or right cursor key 12, and if a reading correction is necessary, manually input a kana character indicating the correct reading at the character position indicated by the cursor. When the reading correction is completed, the user operates the selection/execution key 15 or the conversion/next candidate key 14.

編集作業部24は、もし取消しキーlGが操作されてそ
の旨が入力制御部21によって検出されると(ステップ
31B、  S 17) 、ステップS9と同様にして
表示画面の状態を(機能キー13およびスペースキー1
7が操作される直前の)画面32の状態に戻しくステッ
プ518)、入力制御部21(のステップ313の処理
)に制御を戻す。また編集作業部24は、左カーソルキ
ー11が操作されると(ステップ520)、カーソルの
位置を1文字分(左方向に)戻しくステップ521)、
右カーソルキー12が操作されると(ステップ522)
、カーソルの位置を1文字分(右方向に)進め(ステッ
プ523)、入力制御部21(のステップS16の処理
)に制御を戻す。
If the cancel key 1G is operated and the input control unit 21 detects this (step 31B, S17), the editing unit 24 changes the state of the display screen (function key 13 and space key 1
Step 518) returns the state of the screen 32 (immediately before 7 was operated), and returns control to the input control section 21 (the process of step 313). Further, when the left cursor key 11 is operated (step 520), the editing work unit 24 returns the cursor position by one character (toward the left) (step 521),
When the right cursor key 12 is operated (step 522)
, advances the cursor position by one character (to the right) (step 523), and returns control to the input control unit 21 (the process of step S16).

一方、仮名文字が入力された場合には、その入力文字が
現在のカーソル位置に対応する入力バッファ内記憶位置
の文字と置換えられると共に、その入力文字が入力制御
部21から編集作業部24に渡され、カーソルが表示さ
れている文字がこの入力文字に表示し直される(ステッ
プ524)。この際、カーソルは1つ進められる。
On the other hand, when a kana character is input, the input character is replaced with the character at the storage position in the input buffer corresponding to the current cursor position, and the input character is passed from the input control section 21 to the editing section 24. and the character on which the cursor is displayed is redisplayed as this input character (step 524). At this time, the cursor is advanced by one.

この実施例では、第3図の画面35に示される下線表示
の「きよう」の「よ」を訂正するために、カーソルが第
3図の画面3Bに示すように「よ」の位置に移動される
。次に、第3図の画面3Gにおいてカーソルの示す「よ
」の位置に「よ」がオーバーライドされ、第3図の画面
37に示すよう1こ読みの訂正が行われる。
In this embodiment, in order to correct the underlined "yo" in "Kiyo" shown in screen 35 of FIG. 3, the cursor moves to the position of "yo" as shown in screen 3B of FIG. be done. Next, on the screen 3G of FIG. 3, "yo" is overridden at the "yo" position indicated by the cursor, and the one-line reading is corrected as shown on the screen 37 of FIG.

ユーザは、読みの訂正を終了すると、選択/実行キー1
5または変換/次候補キー14を操作する。
When the user finishes correcting the pronunciation, the user presses the select/execute key 1.
5 or the conversion/next candidate key 14.

入力制御部21は、ステップS16のキー人力で選択/
実行キー15または変換/次候補キー14が操作された
ことを検出すると(ステップ519)、その旨を編集作
業部24に通知する。編集作業部24は、入力バッファ
に禎まれている平板名文字列「きょう」の文字数および
カーソル位置し・ジスタの内容、から、文書バッファ(
51)内で読み訂正の対象とならなかった後続文字列の
先頭位置を検出し、この位置以降の文字列から、句読点
または確定した同音異義語のうち、最初に出現するもの
の直前までの文字列(平板名文字列)を求め入力バッフ
ァに積む動作を行う(ステップ325〜527)。但し
、入力バッファがフル(ここではN文字でフル)となっ
ても句読点または確定した同音異義語が見当たらない場
合、或は最終文字を入力バッファに積んだ場合には、上
記の動作は終了となる。なお、上記した平板名文字列を
求めるには、文書バッファ(51)内のコードが未確定
変換コードのものについては、そのポインタ(41)を
用いて変換結果記憶バッファ27を検索すればよいこと
は言うまでもない。ここでは、「はすばらしく」が求め
られる。
The input control unit 21 manually selects the key in step S16.
When it is detected that the execution key 15 or the conversion/next candidate key 14 has been operated (step 519), the editing section 24 is notified of this fact. The editing unit 24 edits the document buffer (
Detect the beginning position of the subsequent character string that was not subject to reading correction in 51), and the character string from this position onwards to the character string immediately before the first occurrence of the punctuation mark or confirmed homophone. (Plate name character string) is obtained and loaded into the input buffer (steps 325 to 527). However, even if the input buffer is full (in this case it is full with N characters), if no punctuation mark or confirmed homophone is found, or if the last character is loaded into the input buffer, the above operation is terminated. Become. In addition, in order to obtain the above-mentioned flat name character string, if the code in the document buffer (51) is an undefined conversion code, it is sufficient to search the conversion result storage buffer 27 using the pointer (41). Needless to say. Here, ``greatness'' is required.

編集作業部24は上記した平板名文字列を求めると、こ
の文字列を入力バッファに既に積まれている平板名文字
列(「きよう」)の後続位置に積み、その旨を入力制御
部21に通知する。入力制御部21は、編集作業部24
からの通知を受けると、入力バッファに積まれている平
板名文字列(「きようはすばらしく」)を仮名漢字変換
部22に渡し、仮名漢字変換の起動をかける。
When the editing work unit 24 obtains the above-mentioned flat name character string, it loads this character string in the position subsequent to the flat name character string (“Kiyo”) already stacked in the input buffer, and sends a message to that effect to the input control unit 21. to notify. The input control section 21 includes an editing section 24
Upon receiving the notification from , the plain name character string (``Kiyou wa Subarashidashi'') stored in the input buffer is passed to the kana-kanji converter 22, and the kana-kanji conversion is activated.

仮名漢字変換部22は、人力制御部21から渡された読
み訂正文字を含む仮名文字列をステップS1と同様に仮
名漢字変換(再変換)する(ステップ828)。この際
、確定語「良い」以降は再変換の対象とならないことは
勿論である。もし「素晴」を確定させたならば、「きょ
うは」だけが再変換の対象となることは明らかである。
The kana-kanji converter 22 converts (re-converts) the kana character string including the reading correction characters passed from the human control unit 21 into kana-kanji (re-converts) in the same manner as in step S1 (step 828). At this time, it goes without saying that the words after the definite word "good" are not subject to reconversion. If we were to establish ``sourei'', it is clear that only ``kyoha'' would be subject to reconversion.

どの範囲を再変換の対象とするかは、読み訂正後の文字
列によって変換結果が影響されるか否かの判断によって
決定すればよい。さて、この実施例では、ステップ32
8の再変換により、変換結果記憶バッファ27には、第
6図に示すように訂正された読み「きょう」の同音異義
語群(ここでは「今日」を始めとする5個)、更には「
すば」の同音異義語群が格納される。また、カーソル位
置レジスタの内容が、文書バッファ(51)において選
択中フラグ(43)の立っている同一内容の未確定変換
結果コード列の先頭コードの記憶位置に対応する行桁位
置に変更され、この記憶位置から、第6図に示すように
「きよう」の同音異義語に対応する未確定変換結果コー
ド[1: 1 : A]の代わりに、「きょう」の同音
異義語群の先頭語「今日」へのポインタ(D)を含む未
確定変換結果コード[1: 1 : D]が、表示すべ
き文字数分(ここでは2文字)書込まれる。以降の記憶
位置への文字コードまたは未確定変換結果コードの書込
みも第6図に示すように行われる。そして、文書バッフ
ァ(51)および変換結果記憶バッファ27の内容に従
って、第3図に示す画面38、即ち正しい読みに対する
仮名漢字変換結果が表示される。
Which range is to be re-converted may be determined by determining whether or not the conversion result is affected by the character string after reading correction. Now, in this example, step 32
As a result of the re-conversion of step 8, the conversion result storage buffer 27 contains the corrected pronunciation of ``kyo'' as shown in FIG.
Homophones of "Suba" are stored. Further, the contents of the cursor position register are changed to the line column position corresponding to the storage position of the first code of the undefined conversion result code string of the same content with the selected flag (43) set in the document buffer (51), From this storage location, as shown in Figure 6, instead of the undefined conversion result code [1: 1: A] corresponding to the homophone of "Kyo", the first word of the homophone group of "Kyo" is An undefined conversion result code [1: 1: D] including a pointer (D) to "today" is written for the number of characters to be displayed (here, two characters). The writing of character codes or undefined conversion result codes to subsequent storage locations is also performed as shown in FIG. Then, according to the contents of the document buffer (51) and the conversion result storage buffer 27, the screen 38 shown in FIG. 3, that is, the kana-kanji conversion result for the correct reading is displayed.

なお、前記実施例では、機能キー13およびスペースキ
ー17の組合せ操作により読み訂正の指示が行われるも
のとして説明したが、専用の読み訂正指示キーを用意す
ることも可能である。
In the above embodiment, the reading correction instruction is given by a combination of the function key 13 and the space key 17, but it is also possible to provide a dedicated reading correction instruction key.

[発明の効果] 以上詳述したようにこの発明によれば、誤った読みの入
力により誤った仮名漢字変換結果が得られた場合、変換
後の誤った語(同音語)を選択対象とすることで、この
語だけをその読みを示す仮名文字列に変換することがで
きるので、この変換された仮名文字列をもとに読み訂正
を行うことで、誤った文字についてのみの訂正を極めて
簡単に行うことができる。また、この発明によれば、読
みを訂正した仮名文字列から次の句読点または確定した
同音異義語の直前までの文字列の読みだけを対象に再度
の仮名漢字変換が行われるので、確定してあった同音異
義語性も再度変換してしまうといった不都合を防止でき
る。
[Effects of the Invention] As detailed above, according to the present invention, when an incorrect kana-kanji conversion result is obtained due to input of an incorrect pronunciation, the incorrect word (homonym) after conversion is selected. By doing this, it is possible to convert only this word into a kana character string that indicates its pronunciation, so by correcting the reading based on this converted kana character string, it is extremely easy to correct only the incorrect characters. can be done. Furthermore, according to the present invention, the kana-kanji conversion is performed again only for the readings of the character string from the kana character string whose reading has been corrected to just before the next punctuation mark or the determined homophone. It is possible to prevent the inconvenience of converting existing homonyms again.

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

第1図はこの発明を適用する文書作成装置の一実施例を
示す機能ブロック構成図、第2図は読み訂正処理手順を
示すフローチャート、第3図は読み訂正処理時の文書入
力画面の状態遷移例を示す図、第4図は未確定変換結果
コードの形式を示す図、第5図および第6図は読み訂正
処理時における第1図に示す変換結果記憶バッファ内の
状態を表示画面内容および文書バッファ内の状態と対応
して示す図である。 10・・・キーボード、11・・・左カーソルキー12
・・・右カーソルキー、13・・・機能キー 14・・
・変換/次候補キー 15・・・取消しキー、17・・
・スペースキー21・・・入力制御部、 22・・・仮名漢字変換部、 24・・・ 編集作業部、 25・・・表示器、 27・・・変換結果記憶 バッファ。
Fig. 1 is a functional block configuration diagram showing an embodiment of a document creation device to which the present invention is applied, Fig. 2 is a flowchart showing a reading correction processing procedure, and Fig. 3 is a state transition of a document input screen during reading correction processing. Figure 4 is a diagram showing the format of an undefined conversion result code, and Figures 5 and 6 are diagrams showing the state of the conversion result storage buffer shown in Figure 1 during reading correction processing. FIG. 6 is a diagram showing the state in the document buffer. 10...Keyboard, 11...Left cursor key 12
...Right cursor key, 13...Function key 14...
・Conversion/Next candidate key 15...Cancel key, 17...
- Space key 21... Input control section, 22... Kana-kanji conversion section, 24... Editing section, 25... Display device, 27... Conversion result storage buffer.

Claims (1)

【特許請求の範囲】 入力した読みデータ列を文節単位に区切り、各文節毎に
該当する同音語候補を求める仮名漢字変換手段を備え、
この仮名漢字変換手段によって求められた同音語候補の
中から各文節毎に1候補ずつ同音語選択対象候補として
取出して上記読みデータ列に対する仮名漢字変換後の文
字列として画面表示する文書作成装置において、 上記仮名漢字変換後の文字列のうち、同音語選択対象と
なっている同音語候補の読みを訂正することを指示する
ための読み訂正指示手段と、この読み訂正指示手段から
の指示に応じ、上記同音語選択対象となっている同音語
候補を仮名文字列に変換し、同文字列を読み訂正対象仮
名文字列としてその旨を示す特定表示属性で画面表示す
る読み訂正対象文字列明示手段と、上記読み訂正対象仮
名文字列の範囲を1文字単位で可変することを指示する
ための読み訂正対象範囲変更指示手段と、この指示手段
の指示に応じて上記特定表示属性で画面表示される読み
訂正対象仮名文字列の範囲を変更する手段と、上記特定
表示属性で画面表示されている読み訂正対象仮名文字列
を他の仮名文字列に置換える読み訂正手段と、この読み
訂正手段によって置換えられた仮名文字列以降に最初に
出現する句読点または確定した同音語を上記仮名漢字変
換された文字列から検出する検出手段とを具備し、上記
読み訂正手段によって置換えられた仮名文字列から上記
検出手段によって検出された句読点または同音語の直前
までの文字列の読みを対象に再度仮名漢字変換を行うよ
うにしたことを特徴とする仮名漢字変換制御方式。
[Scope of Claims] A kana-kanji conversion means that divides the input reading data string into phrases and finds corresponding homophone candidates for each phrase,
In a document creation device that extracts one candidate for each clause as a homophone selection target candidate from among the homophone candidates obtained by this kana-kanji conversion means and displays it on the screen as a character string after kana-kanji conversion for the above-mentioned reading data string. , a pronunciation correction instruction means for instructing to correct the pronunciation of a homophone candidate that is a homophone selection target among the character strings after the above-mentioned kana-kanji conversion; , means for specifying a character string to be read and corrected for converting the homophone candidate to be selected as a homophone into a kana character string, and displaying the same character string as a kana character string to be read and corrected on the screen with a specific display attribute indicating that the character string is read as a kana character string to be corrected; and a pronunciation correction target range change instruction means for instructing that the range of the kana character string to be pronunciation corrected is varied in units of characters, and the display is displayed on the screen with the specific display attribute according to the instruction of the instruction means. A means for changing the range of a kana character string to be corrected; a reading correction means for replacing the kana character string to be corrected, which is displayed on the screen with the above-mentioned specific display attribute, with another kana character string; and replacement by the reading correction means. detecting means for detecting a punctuation mark or a determined homophone that first appears after the kana character string, from the kana-kanji converted character string, and detecting from the kana character string replaced by the reading correction means. A kana-kanji conversion control method characterized in that the kana-kanji conversion is performed again on the pronunciation of the character string immediately before the punctuation mark or homophone detected by the means.
JP63206406A 1988-08-22 1988-08-22 Kana to kanji conversion control system Pending JPH0256058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63206406A JPH0256058A (en) 1988-08-22 1988-08-22 Kana to kanji conversion control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63206406A JPH0256058A (en) 1988-08-22 1988-08-22 Kana to kanji conversion control system

Publications (1)

Publication Number Publication Date
JPH0256058A true JPH0256058A (en) 1990-02-26

Family

ID=16522835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63206406A Pending JPH0256058A (en) 1988-08-22 1988-08-22 Kana to kanji conversion control system

Country Status (1)

Country Link
JP (1) JPH0256058A (en)

Similar Documents

Publication Publication Date Title
JPH0256058A (en) Kana to kanji conversion control system
JPH0256055A (en) Kana to kanji conversion control system
JPH0256057A (en) Kana to kanji conversion control system
JPS61175855A (en) Kana to kanji converting device
JPH0380363A (en) Document processor
JPS605318A (en) Input device of sentence composed of kana and kanji
JPS59142630A (en) Character processing device
JPS60238966A (en) Kana and kanji reverse conversion processing system
JP2629946B2 (en) Document processing device
JPS62209667A (en) Sentence producing device
JP3164573B2 (en) Electronic dictionary
JPS62145317A (en) Character input device
JPH04215119A (en) Character input device
JPH05135005A (en) Character processor
JPH0227470A (en) Sentence proofreading device
JPH05158916A (en) Document preparing device
JPS61260353A (en) Document processing system
JPH0340870B2 (en)
JPS6293748A (en) Character converting device
JPS6339075A (en) Japanese word input processing system for question-answer system
JPS6365564A (en) Japanese language input processing system for question-answer system
JPH04155571A (en) Document processor
JPS6319060A (en) Kana/kanji converting device
JPH05158923A (en) Information processor
JPH0721176A (en) Method and device for character correction