[go: up one dir, main page]

JPH05143593A - Character string modification system - Google Patents

Character string modification system

Info

Publication number
JPH05143593A
JPH05143593A JP3328111A JP32811191A JPH05143593A JP H05143593 A JPH05143593 A JP H05143593A JP 3328111 A JP3328111 A JP 3328111A JP 32811191 A JP32811191 A JP 32811191A JP H05143593 A JPH05143593 A JP H05143593A
Authority
JP
Japan
Prior art keywords
character string
input
character
correcting
correction
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
JP3328111A
Other languages
Japanese (ja)
Inventor
Hiroshi Nakayama
寛 中山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3328111A priority Critical patent/JPH05143593A/en
Publication of JPH05143593A publication Critical patent/JPH05143593A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve the input efficiency of a certain length of character string than that of one character when Japanese syllabary/Chinese character conversion is used as in the case of Japanese by indirectly designating the location of modification and properly modifying the result. CONSTITUTION:Hardware is assumed to be a general personal computer (CRT, keyboard, disk and CPU) configulation. An error is found and a cursor is moved to the head of a correct character string to be input. When a comparison modification mode is selected, for example, a state is brought about where correcting character string is acceptable. When the comparison modification mode is activated, a correcting character string input window is displayed under the cursor position to permit the correcting character string to be input while comparing it with the character string before modification. A corresponding character string having most number of characters coincident with the correcting character train and having shortest length of character train is selected in a range twice as long as the correcting character string. The corresponding character string is simply replaced with the correcting character string.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【技術分野】本発明は、文字列修正方式に関し、より詳
細には、OCR入力やキー入力などにより電子化された
文章を修正する場合のユーザーインターフェースに関す
る。例えば、文字認識,エディタ,ワープロなどに適用
されるものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string correction method, and more particularly to a user interface for correcting an electronic text by OCR input or key input. For example, it is applied to character recognition, editors, word processors and the like.

【0002】[0002]

【従来技術】従来のエディタやワードプロセッサにおけ
る編集機能は、既に電子化された文章の誤りを訂正する
ための機能が貧弱である。基本機能は、削除,挿入,置
き換えであり、それが単語単位,文字単位,行単位に行
われるだけである。既になんらかの手段で入力されてい
る文章の誤りを修正する場合に、誤りを削除し、正しい
部分を入力することになる。これは、誤りによっては非
常に面倒である。例えば、次のような場合、「化膿性が
ある」といった誤りがある場合に、「可能性がある」と
入力すると、「化膿」が「可能」に置き変わることによ
り、自然な入力による簡単な修正ができるようにする。
上の例は、かな漢字変換のミスに起因するものと見るこ
とができるが、OCR入力したものでは、もう少し異な
ったタイプのミスが発生する。例えば、「日木語」とい
った誤りがある場合に、「日本語」と入力する。
2. Description of the Related Art The editing function of a conventional editor or word processor has a poor function for correcting an error in a text already digitized. The basic functions are deletion, insertion, and replacement, which are only performed in word units, character units, and line units. When correcting an error in a sentence that has already been input by some means, the error is deleted and the correct part is input. This is very troublesome depending on the mistake. For example, in the following cases, if there is an error such as "suppurative", if you enter "possible", "suppurative" will be replaced with "possible". Allow corrections.
Although the above example can be seen to be due to a mistake in Kana-Kanji conversion, a slightly different type of mistake occurs with OCR input. For example, if there is an error such as "Japanese language", enter "Japanese".

【0003】[0003]

【目的】本発明は、上述のごとき実情に鑑みてなされた
もので、間接的に修正箇所を指定し、結果を適切に修正
することより、日本語のようにかな漢字変換を使う場合
には、1文字入力するよりあるまとまった長さの文字列
の方が入力効率がよくなるようにした文字列修正方式を
提供することを目的としてなされたものである。
[Purpose] The present invention has been made in view of the above-mentioned circumstances, and in the case of using Kana-Kanji conversion like Japanese, by indirectly specifying a correction point and appropriately correcting the result, The purpose of the present invention is to provide a character string correction method that allows a character string having a certain length to be input more efficiently than inputting one character.

【0004】[0004]

【構成】本発明は、上記目的を達成するために、(1)
誤りが存在する前後の文字列を含む形で修正文字列をキ
ー入力する入力手段と、該入力手段により入力された文
字列と修正の対象となる文字列を比較する比較手段と、
該比較手段の結果に基づき訂正すべき文字を決定する決
定手段とから成り、訂正すべき文字の部分を入力文字列
と置き換えること、更には、(2)入力する修正文字列
を対応する文字列の下に表示されるウィンドに表示し、
入力される修正文字列に対応して文字列に目印をつける
こと、更には、(3)前記(1)又は(2)において、
修正文字列を音声により入力し、音声認識する場合に、
修正の対象となる文字列を参照すること、更には、
(4)前記(1)又は(2)において、特別な区切り文
字がきた場合には、強制変換するようにすること、更に
は、(5)前記(1),(2)又は(4)において、修
正文字列の最後の文字に着目し、インタラクティブな編
集ができるようにしたことを特徴としたものである。以
下、本発明の実施例(請求項1)に基づいて説明する。
In order to achieve the above object, the present invention provides (1)
Input means for key-inputting a correction character string in a form including character strings before and after an error exists, and comparison means for comparing the character string input by the input means with a character string to be corrected.
Deciding means for deciding the character to be corrected based on the result of the comparing means, replacing the portion of the character to be corrected with the input character string, and (2) inputting the corrected character string to the corresponding character string. Displayed in the window displayed below
Marking the character string corresponding to the input modified character string, and further, (3) in (1) or (2) above,
When you input the modified character string by voice and recognize the voice,
Refer to the character string to be corrected, and further,
(4) In (1) or (2) above, if a special delimiter comes, force conversion is performed, and (5) In (1), (2) or (4) above. , The feature is that the last character of the modified character string is focused on and interactive editing is enabled. Hereinafter, an explanation will be given based on an embodiment (claim 1) of the present invention.

【0005】図1は、本発明による文字列修正方式の一
実施例を説明するためのフローチャートである。以下、
各ステップに従って順に説明する。なお、ハードウェア
は特に限定しないが、一般的なパソコン(CRT,キー
ボード,ディスク,CPU)の構成とする。step1,2 : カーソルの移動 まず、誤りの発見をし、入力する正解文字列の先頭にカ
ーソルを移動する。step3 : 比較修正機能の選択 本発明による修正方式を比較修正方式と呼ぶことにす
る。挿入モードや上書きモードのように、1つのモード
として比較修正モードがある。このモードを選択する
と、修正文字列を受け付ける状態になる。
FIG. 1 is a flow chart for explaining an embodiment of a character string correction system according to the present invention. Less than,
The steps will be described in order. The hardware is not particularly limited, but it is a general personal computer (CRT, keyboard, disk, CPU) configuration. step1,2 : Move the cursor First, find the error and move the cursor to the beginning of the correct character string to be input. step3 : Selection of comparative correction function The correction method according to the present invention will be referred to as a comparative correction method. There is a comparison and correction mode as one mode such as the insert mode and the overwrite mode. When this mode is selected, the modified character string will be accepted.

【0006】step4: 正解文字列の入力 請求項2の場合は、比較修正モードになると、カーソル
の位置の下に修正文字列入力ウィンドが表示され、修正
まえの文字列と対比させながら修正文字列を入力でき
る。step5 : 対応文字列の決定 対応文字列は、修正文字列の長さ2倍の範囲で、修正文
字列と一致する文字の個数がもっとも多い文字列で、も
っとも文字列の長さが小さいものを選ぶ。step6 : 対応文字列と修正文字列の入れ替え 対応文字列を単純に修正文字列と入れ替える。
[0006] step4: For input claims 2 correct answers string, at the comparison correction mode, display the corrected text input window under the cursor, the correction character string while comparing with the previous correction character string Can be entered. step5 : Determining the supported character string The supported character string is the character string that has the largest number of characters that match the modified character string within the range of twice the length of the modified character string, and that has the smallest character string length Choose. step6 : Swap the corresponding character string and the corrected character string Simply replace the corresponding character string with the corrected character string.

【0007】次に、実施例2(請求項2)について説明
する。実施例1とほぼ同様だが、修正文字列の入力ウィ
ンドを対応文字列の下に設定し、修正文字列の入力に合
わせて対応文字列になんらかの(例えば、色をつける)
目印をつける。これにより、正確な入力と予想外な修正
が行われるのを防ぐ。図2に例を示す。
Next, a second embodiment (claim 2) will be described. Similar to the first embodiment, the input window of the correction character string is set below the corresponding character string, and the corresponding character string is somehow (for example, colored) according to the input of the correction character string.
Make a mark. This prevents accurate input and unexpected corrections. An example is shown in FIG.

【0008】次に、実施例3(請求項3)について説明
する。ハード構成は、実施例1のものに一般的な音声認
識装置を接続したものとする。処理手順は、図1と同じ
である。修正文字列は、音声により入力される。音声認
識結果は、その得点と候補文字列の形で得られる。そこ
で、修正対象文字と一致する部分の得点を加算し、文字
列全体でもっとも高得点になる音声認識結果を候補文字
を修正文字列とする。個々の文字にスコアの着いていな
い場合には、文字列のスコアを文字数で割ったものをそ
の文字のスコアとする(図3参照)。その他の部分は、
実施例1と同じである。
Next, a third embodiment (claim 3) will be described. As for the hardware configuration, a general voice recognition device is connected to that of the first embodiment. The processing procedure is the same as in FIG. The correction character string is input by voice. The voice recognition result is obtained in the form of the score and the candidate character string. Therefore, the score of the portion that matches the correction target character is added, and the candidate character is set as the corrected character string with the voice recognition result having the highest score in the entire character string. If each character has no score, the score of the character string is divided by the number of characters to obtain the score of that character (see FIG. 3). The other parts are
This is the same as in the first embodiment.

【0009】次に、実施例4(請求項4)について説明
する。修正文字列の末尾の文字が次に上げるような区切
り文字の場合は、その区切り文字をキーとして、その文
字が発見されるまでの文字列を修正文字列と入れ替え
る。その他の部分は、実施例1または2と同じである。 (区切り文字の例) , 、 。 . ? 」 ) } ] スペースコード (区切り文字の場合の入れ替えの例) 修正対象文字列: 実施例1または……………実施例2
に同じ 入力文字列 : 実施例3の図3に同じ 修正結果 : 実施例3の図3に同じ
Next, a fourth embodiment (claim 4) will be described. When the last character of the modified character string is a delimiter that is raised next, the delimited character is used as a key and the character string until the character is found is replaced with the modified character string. The other parts are the same as in the first or second embodiment. (Example of delimiters) ,,. . ? ))}] Space code (example of replacement in case of delimiter) Modification target character string: Example 1 or ............... Example 2
Input string: Same as FIG. 3 of the third embodiment Modification result: Same as FIG. 3 of the third embodiment

【0010】次に、実施例5(請求項5)について説明
する。入力した修正文字列と対応する文字列を、インタ
ーラクティブに決定する部分を除いて、実施例1,2ま
たは実施例4と同じである。図4に基づいて対応文字列
を決める手順について説明する。step1 : カーソルの位置から修正文字列の長さの2倍
までの文字列を探索対象文字列とする。この探索対象文
字列の先頭から順に修正文字列の末尾の文字を探す。step2 : 最初に見つかった文字位置までを修正文字列
と置き換える。ここで、ユーザーの入力により、次の対
応文字に進むか確定するかを決める。スペースキーで、
探索範囲内で次の対応文字までが置き換え対象範囲にな
る。スペースキーが押されて、探索範囲内で修正文字列
の末尾の文字を見つけられない場合は、step3に移動す
る。キャリッジリターンで確定というようにする。ここ
で、エスケイプキーを押すと、修正文字列入力状態に戻
る。
Next, a fifth embodiment (claim 5) will be described. The procedure is the same as in the first and second embodiments or the fourth embodiment except that the character string corresponding to the input modified character string is interactively determined. A procedure for determining the corresponding character string will be described with reference to FIG. step1 : The character string from the cursor position to twice the length of the corrected character string is set as the search target character string. The last character of the modified character string is searched in order from the beginning of this search target character string. step2 : Replace up to the first found character position with the modified character string. Here, it is decided by the user's input whether to proceed to the next corresponding character or to decide. Space bar to
Within the search range, up to the next corresponding character is the replacement target range. When the space key is pressed and the last character of the modified character string cannot be found within the search range, the process moves to step 3. Confirm with carriage return. If the escape key is pressed here, the correction character string input state is restored.

【0011】step3: 音を出して、修正文字列を入力
する状態に戻る。ここで、修正文字列を入力または編集
し、リターンキーを戻してstep1に戻る。また、エスケ
イプキーを押すことで、比較修正モードを終了すること
もできる。この時、文字列はそのままカーソルの位置に
挿入される。また、なにもしないでリターンキーを押す
ことにより、探索範囲を修正文字列の長さの2倍だけさ
らに広げstep1に戻る。ここで文字列を編集すると、探
索範囲は編集後の修正文字列の長さの2倍に再設定され
る。このように、本発明は、コンピュータを使った文章
の編集で、基本的な機能である誤りの修正を簡単かつ自
然な操作でできるものである。
Step 3: Make a sound and return to the state of inputting the corrected character string. Here, the correction character string is input or edited, the return key is returned, and the process returns to step 1. Further, the comparison correction mode can be ended by pressing the escape key. At this time, the character string is inserted as it is at the cursor position. Further, by pressing the return key without doing anything, the search range is further expanded by twice the length of the correction character string and the process returns to step 1. When the character string is edited here, the search range is reset to twice the length of the modified character string after editing. As described above, the present invention is capable of correcting an error, which is a basic function, by a simple and natural operation by editing a text using a computer.

【0012】[0012]

【効果】以上の説明から明らかなように、本発明による
と、以下のような効果がある。 (1)音声認識による入力手段を兼ね備えたシステムに
おいては、本修正方式により快適な修正が行える。なぜ
なら、声に出して入力する場合、それは一定以上のまと
まりのあるものでなければ適切に認識されないであろう
し、修正したい箇所は常に一定以上のまとまりのある長
さであるとは限らない。むしろ、そのような場合はまれ
であると思われる。また、本方式は、音声認識の入力手
段としての信頼性を向上させる働きがある。 (2)区切り文字の場合に拡張修正機能を持たせること
で、より高度な修正が行える。ユーザーが慣れるに従っ
て、より高度な機能を提供できる優れたユーザーインタ
ーフェースと言える。 (3)インタラクティブに選択できるということは、ユ
ーザーが決定でき、ユーザーのレベルにあった使い方
や、初心者の学習速度を向上させる優れたインターフェ
ースである。
As is apparent from the above description, the present invention has the following effects. (1) In a system having an input means by voice recognition, this correction method enables comfortable correction. Because, when inputting aloud, it will not be properly recognized unless it has a certain amount of cohesion, and the portion to be corrected is not always a certain amount of cohesive length. Rather, such cases seem rare. In addition, this method has a function of improving reliability as an input unit for voice recognition. (2) By providing an extended correction function for the delimiter, more advanced correction can be performed. As the user gets used to it, it is an excellent user interface that can provide more advanced functions. (3) Being able to make interactive selections is an excellent interface that can be decided by the user and is suitable for the user level and improves learning speed for beginners.

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

【図1】 本発明による文字列修正方式の一実施例を説
明するためのフローチャートである。
FIG. 1 is a flowchart illustrating an embodiment of a character string correction method according to the present invention.

【図2】 画像イメージを示す図である。FIG. 2 is a diagram showing an image image.

【図3】 修正文字列決定の説明モデルを示す図であ
る。
FIG. 3 is a diagram showing an explanatory model for determining a corrected character string.

【図4】 修正箇所の決定手順を示す図である。FIG. 4 is a diagram showing a procedure for determining a correction location.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 誤りが存在する前後の文字列を含む形で
修正文字列をキー入力する入力手段と、該入力手段によ
り入力された文字列と修正の対象となる文字列を比較す
る比較手段と、該比較手段の結果に基づき訂正すべき文
字を決定する決定手段とから成り、訂正すべき文字の部
分を入力文字列と置き換えることを特徴とする文字列修
正方式。
1. An input means for key-inputting a correction character string in a form including a character string before and after an error exists, and a comparing means for comparing the character string input by the input means with a character string to be corrected. And a deciding means for deciding a character to be corrected based on the result of the comparing means, wherein the character string to be corrected is replaced with the input character string.
【請求項2】 入力する修正文字列を対応する文字列の
下に表示されるウィンドに表示し、入力される修正文字
列に対応して文字列に目印をつけることを特徴とする請
求項1記載の文字列修正方式。
2. The correction character string to be input is displayed in a window displayed below the corresponding character string, and the character string is marked according to the input correction character string. The character string modification method described.
【請求項3】 修正文字列を音声により入力し、音声認
識する場合に、修正の対象となる文字列を参照すること
を特徴とする請求項1又は2記載の文字列修正方式。
3. The character string correction method according to claim 1, wherein when the corrected character string is input by voice and the voice is recognized, the character string to be corrected is referred to.
【請求項4】 特別な区切り文字がきた場合には、強制
変換するようにすることを特徴とする請求項1又は2記
載の文字列修正方式。
4. The character string correction method according to claim 1 or 2, wherein when a special delimiter comes, the character string is forcibly converted.
【請求項5】 修正文字列の最後の文字に着目し、イン
タラクティブな編集ができるようにしたことを特徴とす
る請求項1,2又は4記載の文字列修正方式。
5. The character string correction method according to claim 1, wherein the last character of the corrected character string is focused on so that interactive editing can be performed.
JP3328111A 1991-11-15 1991-11-15 Character string modification system Pending JPH05143593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3328111A JPH05143593A (en) 1991-11-15 1991-11-15 Character string modification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3328111A JPH05143593A (en) 1991-11-15 1991-11-15 Character string modification system

Publications (1)

Publication Number Publication Date
JPH05143593A true JPH05143593A (en) 1993-06-11

Family

ID=18206618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3328111A Pending JPH05143593A (en) 1991-11-15 1991-11-15 Character string modification system

Country Status (1)

Country Link
JP (1) JPH05143593A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010002830A (en) * 2008-06-23 2010-01-07 Sharp Corp Voice recognition device
JP2017167368A (en) * 2016-03-16 2017-09-21 株式会社東芝 Voice recognition error correction device, method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010002830A (en) * 2008-06-23 2010-01-07 Sharp Corp Voice recognition device
JP2017167368A (en) * 2016-03-16 2017-09-21 株式会社東芝 Voice recognition error correction device, method, and program

Similar Documents

Publication Publication Date Title
US8959433B2 (en) Document editing using anchors
US7149970B1 (en) Method and system for filtering and selecting from a candidate list generated by a stochastic input method
JP2963463B2 (en) Interactive language analyzer
US5231670A (en) Voice controlled system and method for generating text from a voice controlled input
US4831654A (en) Apparatus for making and editing dictionary entries in a text to speech conversion system
US6587819B1 (en) Chinese character conversion apparatus using syntax information
CN117174077A (en) Voice interaction method and device, electronic equipment and storage medium
CN110782899B (en) Information processing device, storage medium and information processing method
JPH05143593A (en) Character string modification system
JP2005173999A (en) Device, system and method for searching electronic file, program, and recording media
JPH11102361A (en) Character input correcting method and recording medium where procedure thereof is recorded
JPH0696288A (en) Character recognizing device and machine translation device
JP2005044103A (en) Document creation device and method and program
JPH1063651A (en) Chinese input device
JP2838850B2 (en) Kana-Kanji conversion device
JPH0561856A (en) Document creation device
JPH07200560A (en) Document creation device
JP3344793B2 (en) Kana-Kanji conversion device
JPH04302070A (en) Character recognizing device
JPH10222502A (en) Document preparing device and input processing method
JP3566873B2 (en) Kana-kanji conversion apparatus and method, and storage medium storing kana-kanji conversion program
JPH08235186A (en) Machine translation system
JPS62154022A (en) voice typewriter
JPH06348889A (en) Character recognizing device
JPH09305589A (en) Device and method for processing information