JPH0728810A - Character processing method and device therefor - Google Patents

Character processing method and device therefor

Info

Publication number
JPH0728810A
JPH0728810A JP5174258A JP17425893A JPH0728810A JP H0728810 A JPH0728810 A JP H0728810A JP 5174258 A JP5174258 A JP 5174258A JP 17425893 A JP17425893 A JP 17425893A JP H0728810 A JPH0728810 A JP H0728810A
Authority
JP
Japan
Prior art keywords
character string
keyboard code
string
character
keyboard
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.)
Granted
Application number
JP5174258A
Other languages
Japanese (ja)
Other versions
JP3263190B2 (en
Inventor
Yukie Shoda
幸恵 庄田
Yoshimoto Yamamoto
喜大 山本
Junichi Kubota
淳市 久保田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP17425893A priority Critical patent/JP3263190B2/en
Publication of JPH0728810A publication Critical patent/JPH0728810A/en
Application granted granted Critical
Publication of JP3263190B2 publication Critical patent/JP3263190B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To calculate the probability of correction candidates far an input based on a priority rule when the plural candidates exist. CONSTITUTION:The keyboard code column stored temporarily in an input keyboard code column temporary storage part 10 is reread as a character string in an input keyboard code column rereading part 11, a corrected character string is prepared by performing the replacement, deletion, insertion and front and back exchange of characters for the reread character string in a corrected character string preparation part 12, the corrected character string which is temporarily stored in a corrected character string temporary storage part 13 and is temporarily stored in a dictionary retrieval control part 16 is retrieved from a dictionary 14 where the character string is defined as a caption, a priority order is decided for the retrieval result according to the priority which is preliminarily fixed according to correction patterns depending on the key arrangement of the keyboard in a priority order aligning part 15, and the retrieval result is temporarily stored with the priority order in a retrieval result temporary storage part 17.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字入力時のタイプミ
スを補正して辞書検索する文字処理方法およびその装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing method and apparatus for correcting a typo at the time of character input to search a dictionary.

【0002】[0002]

【従来の技術】一般に、日本語の入力方式としてかな漢
字変換方式が主流となっているが、この方式では表記を
指定するのにその読みを使う。この読みを指定する際
に、タイプミス、シフトキーの押下洩れなどに起因する
読みの指示間違いが多く発生している。
2. Description of the Related Art Generally, the Kana-Kanji conversion method is the mainstream as the Japanese input method, but in this method, the reading is used to specify the notation. When specifying this reading, there are many erroneous reading instructions due to typographical errors, omission of shift key presses, and the like.

【0003】従来、既にこのような間違って入力された
読みに対して所望の漢字かな交じり列を得るためのかな
漢字変換方式が考案されている。(例えば、特公昭56
−67435号公報の「誤り自動訂正装置」など参
照。)以下、従来の文字処理装置について図6を参照し
ながら説明する。図6において、50は入力キーボード
コード列一時記憶部であり、キーボードから入力された
順にコード列として一時記憶する。51は入力キーボー
ドコード列読み替え部であり、入力キーボードコード列
一時記憶部50で記憶しているキーボードコード列を仮
名文字列として読み替える。52は補正仮名文字列作成
部であり、入力キーボードコード列読み替え部51で読
み替えた仮名文字列に対して文字の置換、削除、挿入、
前後入替を行って補正仮名文字列を作成する。53は補
正仮名文字列一時記憶部であり、補正仮名文字列作成部
52で作成した補正仮名文字列を一時記憶する。54は
仮名見出し辞書であり、仮名を見出しとして、表記など
を付随させて記憶している。56は辞書検索制御部であ
り、補正仮名文字列一時記憶部53で一時記憶している
補正仮名文字列を仮名見出し辞書54から検索する。5
7は検索結果一時記憶部であり、辞書検索制御部56で
検索した結果を一時記憶する。
Conventionally, a kana-kanji conversion system has already been devised for obtaining a desired kanji-kana mixing sequence for such an erroneously input reading. (For example, Japanese Patent Publication Sho 56
-67435 gazette "error automatic correction device" etc. refer. ) Hereinafter, a conventional character processing device will be described with reference to FIG. In FIG. 6, reference numeral 50 denotes an input keyboard code string temporary storage unit which temporarily stores code strings in the order of input from the keyboard. An input keyboard code string replacement unit 51 replaces the keyboard code string stored in the input keyboard code string temporary storage unit 50 as a kana character string. Reference numeral 52 denotes a corrected kana character string creation unit that replaces, deletes, and inserts characters in the kana character string read by the input keyboard code string replacement unit 51.
A corrected kana character string is created by performing front and rear replacement. A corrected kana character string temporary storage unit 53 temporarily stores the corrected kana character string created by the corrected kana character string creation unit 52. Reference numeral 54 is a kana heading dictionary, which stores a kana as a heading and an accompanying notation. Reference numeral 56 denotes a dictionary search control unit, which searches the Kana headline dictionary 54 for the corrected Kana character string temporarily stored in the corrected Kana character string temporary storage unit 53. 5
A search result temporary storage unit 7 temporarily stores the results searched by the dictionary search control unit 56.

【0004】これら以外にも構成要素が存在するが、本
発明との対比のためには必要がないので省略する。
Components other than these exist, but they are omitted because they are not necessary for comparison with the present invention.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、1つの入力キーボードコード列に対し
て、複数の補正仮名文字列が検索できた場合、それらの
うちどの検索結果がもっとも確からしいかを判断するこ
とができなかった。タイプミスの発生について、起こり
易いパターンと、殆ど起こらないパターンがあると考え
られる。例えば、左右の手の指で順にキーを押下する場
合と、一方の手の指で続けて押下する場合では、左右の
手の指で順に押下する場合の方が前後で文字が入れ替わ
る可能性が高いと考えられる。またシフトキーを押下し
忘れることはあるが、シフトキーを押下する必要がない
ときに余分にシフトキーを押下するタイプミスは殆どな
いと考えられる。つまり、「や」と入力すべきところを
「ゃ」(シフトキー+「や」)とタイプミスすることは
殆どないと考えられる。これらの傾向は、キーの位置関
係によるものなので、キーボードの形式(JISキーボ
ード、新JISキーボードなど)に大きく依存するもの
である。
However, in the above configuration, when a plurality of corrected kana character strings can be searched for one input keyboard code string, which search result is most likely among them? Couldn't judge. Regarding the occurrence of typos, it is considered that there are patterns that are likely to occur and patterns that rarely occur. For example, when pressing the keys with the fingers of the left and right hands in order and when pressing with the fingers of one hand in succession, the characters may be swapped before and after when pressing with the fingers of the left and right hands in order. It is considered expensive. Although it is possible to forget to press the shift key, it is considered that there is almost no typo to press the shift key when it is not necessary to press the shift key. In other words, it is considered that there is almost no typo where "ya"("shift" + "ya") should be entered. Since these tendencies are due to the positional relationship of the keys, they largely depend on the keyboard type (JIS keyboard, new JIS keyboard, etc.).

【0006】また、入力キーボードコード列を仮名文字
列に読み替えてから補正仮名文字列を作成していたた
め、仮名文字列に読み替えられないようなタイプミスの
場合、たとえば、「か」の次に半濁点が押下された時に
は補正することができなかった。濁点と次の文字が前後
で入れ替わった場合、たとえば、「がくひ(か、濁点、
く、ひ)」と入力すべきところを「か、く、濁点、ひ」
と入力してしまったとき、1文字の置換によって補正す
ることができなかった。
Further, since the corrected kana character string is created after the input keyboard code string is read as a kana character string, in the case of a typo that cannot be read as a kana character string, for example, a half When the dakuten was pressed, it could not be corrected. If the dakuten and the next character are replaced before and after, for example, "gakuhi (or, dakuten,
"Ku, Hi)" should be entered as "Ka, Ku, dakuten, Hi"
When I typed in, I could not correct it by replacing one character.

【0007】本発明は上記問題点に鑑み、複数の補正文
字列が検索できた場合に、どの補正文字列がもっとも確
からしいかを判断できる文字処理方法およびその装置を
提供することを目的とする。また、文字列に読み替えら
れないようなタイプミスも補正して辞書検索できる文字
処理方法およびその装置を提供することを目的とする。
In view of the above problems, it is an object of the present invention to provide a character processing method and apparatus for determining which correction character string is most likely when a plurality of correction character strings can be retrieved. . It is another object of the present invention to provide a character processing method and a device therefor that can correct a typo that cannot be read as a character string and search the dictionary.

【0008】さらに、入力キーボードのコード列のタイ
プミスを補正して辞書検索できる文字処理方法およびそ
の装置を提供することを目的とする。
It is another object of the present invention to provide a character processing method and apparatus capable of correcting a typo in a code string of an input keyboard and searching a dictionary.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明に係る文字処理方法は、キー
ボードより入力されたキーをコードとして入力された順
に一時記憶する入力キーボードコード列一時記憶ステッ
プと、一時記憶している入力キーボードコード列を文字
列として読み替える入力キーボードコード列読み替えス
テップと、読み替えた文字列について文字の置換、削
除、挿入、前後入替を行って補正文字列を作成する補正
文字列作成ステップと、作成した補正文字列を一時記憶
する補正文字列一時記憶ステップと、一時記憶した補正
文字列を文字列を見出しとする辞書から検索する辞書検
索制御ステップと、キーボードのキー配置に依存する補
正パターン別にあらかじめ定められた優先度にしたがっ
て辞書検索制御ステップで検索した結果を優先順に並び
かえる優先順整列ステップと、優先順に並びかえた検索
結果をその優先順とともに一時記憶する検索結果一時記
憶ステップとを有することを特徴とする。
In order to achieve the above-mentioned object, a character processing method according to a first aspect of the invention is an input keyboard code for temporarily storing keys input from a keyboard as codes in the order of input. The column temporary storage step and the input keyboard code string replacement step that replaces the temporarily stored input keyboard code string as a character string, and replaces, deletes, inserts, and replaces characters in the read character string to correct the corrected character string. A correction character string creation step to be created, a correction character string temporary storage step for temporarily storing the created correction character string, a dictionary search control step for searching the temporarily stored correction character string from a dictionary having a character string as a heading, and a keyboard Dictionary search control step according to a predetermined priority for each correction pattern that depends on the key layout of Characterized in that it has a priority alignment step of rearranging the result of the search up to the priority order, the search results sorted in order of priority with its priority order and a search result temporary storage step of temporarily storing.

【0010】又、請求項2に記載の発明に係る文字処理
方法は、キーボード上で左手で押下するキー配置の文字
と右手で押下するキー配置の文字が前後に並ぶ場合の前
後入替による補正を、片方の手で押下するキー配置の文
字どうしの前後入替による補正よりも優先させる優先順
整列ステップを有することを特徴とする。又、請求項3
に記載の発明に係る文字処理方法は、シフトキーが余分
に押下されることによるタイプミスは優先度を低くする
優先順整列ステップを有することを特徴とする。
In the character processing method according to the second aspect of the present invention, the correction by front and rear replacement is performed in the case where a character arranged with the left hand and a character arranged with the right hand are arranged side by side on the keyboard. , A priority ordering step of giving priority to correction by front and rear replacement of the characters of the key arrangement pressed by one hand. Also, claim 3
The character processing method according to the invention described in (3) is characterized by having a priority order alignment step of lowering the priority of typos caused by extra pressing of the shift key.

【0011】又、請求項4に記載の発明に係る文字処理
方法は、上記一時記憶している入力キーボードコード列
を文字列として読み替える際にキーボードのコード列に
ついてキーボードコードの置換、削除、挿入、前後入替
を行ってから後に入力キーボードコード列を文字列に読
み替えることによって補正文字列を作成する入力キーボ
ードコード列補正読み替えステップと、作成した補正文
字列を一時記憶する補正文字列一時記憶ステップと、上
記辞書検索制御ステップと、検索結果を一時記憶する検
索結果一時記憶ステップとを有することを特徴とする。
Further, in the character processing method according to the invention of claim 4, when the input keyboard code string temporarily stored is read as a character string, keyboard code replacement, deletion, insertion of the keyboard code string, An input keyboard code string correction reading step that creates a corrected character string by replacing the input keyboard code string with a character string after performing the front-back replacement, and a correction character string temporary storage step that temporarily stores the created corrected character string, It is characterized by including the dictionary search control step and a search result temporary storage step of temporarily storing a search result.

【0012】又、請求項5に記載の発明に係る文字処理
方法は、上記一時記憶している入力キーボードコード列
についてキーボードコードの置換、削除、挿入、前後入
替を行って補正入力キーボードコード列を作成する補正
入力キーボードコード列作成ステップと、補正キーボー
ドコード列を一時記憶する補正キーボードコード列一時
記憶ステップと、一時記憶している補正キーボードコー
ド列をキーボードのコード列を見出しとするキーボード
コード見出し辞書から検索する辞書検索制御ステップ
と、検索結果を一時記憶する検索結果一時記憶ステップ
とを有することを特徴とする。
In the character processing method according to a fifth aspect of the present invention, the input keyboard code string temporarily stored is replaced, deleted, inserted, and replaced before and after the corrected input keyboard code string. Corrected input keyboard code string creation step to be created, corrected keyboard code string temporary storage step for temporarily storing the corrected keyboard code string, and keyboard code heading dictionary with the temporarily stored corrected keyboard code string as the heading of the keyboard code string And a search result temporary storage step of temporarily storing a search result.

【0013】さらに、請求項6〜請求項10に記載の発
明に係る文字処理装置は、それぞれ請求項1〜請求項5
に記載の文字処理方法に対応している。
Further, the character processing device according to the inventions described in claims 6 to 10 is defined by claim 1 to claim 5, respectively.
It corresponds to the character processing method described in.

【0014】[0014]

【作用】請求項1に記載の発明によると、入力キーボー
ドコード列一時記憶部で記憶しているキーボードコード
列を文字列として読み替え、読み替えた文字列について
文字の置換、削除、挿入、前後入替をおこなって補正文
字列を作成し、補正文字列を文字列を見出しとする辞書
から検索した後、キーボードのキー配置に依存する補正
パターン別にあらかじめ定められた優先度にしたがって
検索結果に優先順を付け、検索結果をその優先順ととも
に一時記憶するので、どの補正文字列が最も確からしい
かを判断することができる。
According to the first aspect of the present invention, the keyboard code string stored in the input keyboard code string temporary storage unit is replaced as a character string, and the replaced character string is replaced, deleted, inserted, or replaced before and after. Create a correction character string by doing this, search the dictionary for the correction character string with the character string as a heading, and then prioritize the search results according to a predetermined priority for each correction pattern that depends on the keyboard key arrangement. Since the search result is temporarily stored together with its priority order, it is possible to determine which correction character string is most likely.

【0015】又、請求項2に記載の発明によると、優先
度の設定において右手と左手によるキー入力の前後入替
を、片手によるキー入力の前後入替よりも優先するの
で、キー入力時に生じ易い誤入力に対して高い優先度が
与えられ、確からしさの判断が容易となる。又、請求項
3に記載の発明によると、優先度の設定においてシフト
キーが余分に押下されることによるタイプミスの優先度
を低くしているので、キー入力時に生じにくい誤入力に
対して低い優先度が与えられ、確からしさの判断が容易
となる。
Further, according to the second aspect of the present invention, since the front / rear replacement of the key input with the right hand and the left hand is prioritized over the front / rear replacement of the key input with one hand in the setting of the priority, an erroneous error is likely to occur at the time of key input. A high priority is given to the input, and it is easy to judge the certainty. According to the third aspect of the invention, the priority of the typo caused by the extra pressing of the shift key in the setting of the priority is lowered, so that a low priority is given to an erroneous input that is unlikely to occur at the time of key input. The degree is given, and it is easy to judge the certainty.

【0016】又、請求項4に記載の発明によると、入力
キーボードコード列補正読み替え部で入力キーボードコ
ード列を文字列として読み替える際に、キーボードのコ
ード列についてキーボードコードの置換、削除、挿入、
前後入替をおこなってから後に文字列に読み替えること
によって補正文字列を作成し、辞書検索制御部で補正文
字列を辞書から検索することにより、文字列に読み替え
られないようなタイプミスに関しても補正した補正文字
列にて辞書検索することができる。
According to the invention of claim 4, when the input keyboard code string correcting / reading unit reads the input keyboard code string as a character string, the keyboard code is replaced, deleted, or inserted in the keyboard code string.
Corrected character strings were created by performing front-to-back replacement and then later reading into character strings, and by correcting the corrected character strings from the dictionary using the dictionary search control unit, typos that could not be converted into character strings were corrected. A dictionary search can be performed using the corrected character string.

【0017】又、請求項5に記載の発明によると、補正
入力キーボードコード列作成部で入力キーボードコード
列についてキーボードコードの置換、削除、挿入、前後
入替をおこなって補正入力キーボードコード列を作成
し、辞書検索制御部でキーボードのコード列を見出しと
するキーボードコード見出し辞書から補正キーボードコ
ード列を検索するので、キーボードコードを文字列に読
み替える手間を省けるとともに、キーボードのコード列
のタイプミスを補正して辞書検索することができる。
Further, according to the invention of claim 5, the correction input keyboard code string creating unit creates a correction input keyboard code string by replacing, deleting, inserting, and replacing the keyboard code of the input keyboard code string. , The dictionary search control unit searches the corrected keyboard code string from the keyboard code heading dictionary that uses the keyboard code string as a headline, which saves the trouble of reading the keyboard code as a character string and corrects typos in the keyboard code string. You can search the dictionary.

【0018】さらに、請求項6〜請求項10に記載の発
明においても、それぞれ請求項1〜請求項5に記載の発
明に対応した作用を奏する。
Further, also in the inventions described in claims 6 to 10, the operations corresponding to the inventions described in claims 1 to 5 are exhibited.

【0019】[0019]

【実施例】以下、本発明の各実施例の文字処理装置につ
いて、図面を参照しながら説明する。 (実施例1)図1に、本発明の実施例1における文字処
理装置の構成を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The character processing device of each embodiment of the present invention will be described below with reference to the drawings. (Embodiment 1) FIG. 1 shows the configuration of a character processing apparatus according to Embodiment 1 of the present invention.

【0020】図1において、10は入力キーボードコー
ド列一時記憶部であり、キーボードより入力されたキー
をコードとして入力された順に記憶する。11は入力キ
ーボードコード列読み替え部であり、入力キーボードコ
ード列一時記憶部10で一時記憶している入力キーボー
ドコード列を仮名文字列として読み替える。12は補正
文字列作成部であり、入力キーボードコード列読み替え
部11で読み替えた仮名文字列について文字の置換、削
除、挿入、前後入替をおこなって補正仮名文字列を作成
する。13は補正文字列一時記憶部であり、補正文字列
作成部12で作成した補正仮名文字列を一時記憶する。
14は辞書であり、仮名文字列を見出しとし、表記など
の単語の情報を付随させて記憶している。16は辞書検
索制御部であり、補正文字列一時記憶部13で一時記憶
した補正仮名文字列を辞書14から検索する。15は優
先順整列部であり、辞書検索制御部16で検索された結
果を、キーボードのキー配置に依存する補正パターン別
にあらかじめ定められた優先度にしたがって優先順をつ
ける。17は検索結果一時記憶部であり、辞書検索制御
部16の検索結果を優先順整列部15で付けられた優先
順とともに一時記憶する。
In FIG. 1, reference numeral 10 denotes an input keyboard code string temporary storage unit, which stores keys input from the keyboard as codes in the order of input. An input keyboard code string replacement unit 11 replaces the input keyboard code string temporarily stored in the input keyboard code string temporary storage unit 10 as a kana character string. Reference numeral 12 denotes a correction character string creation unit, which replaces, deletes, inserts, and rearranges characters in the kana character string read by the input keyboard code string replacement unit 11 to create a corrected kana character string. A corrected character string temporary storage unit 13 temporarily stores the corrected kana character string created by the corrected character string creating unit 12.
Reference numeral 14 is a dictionary, which uses a kana character string as a heading and stores information of words such as notations in association. A dictionary search control unit 16 searches the dictionary 14 for the corrected kana character string temporarily stored in the corrected character string temporary storage unit 13. Reference numeral 15 is a priority order arranging unit that prioritizes the results retrieved by the dictionary retrieval control unit 16 according to a predetermined priority for each correction pattern depending on the keyboard key arrangement. A search result temporary storage unit 17 temporarily stores the search result of the dictionary search control unit 16 together with the priority order assigned by the priority order alignment unit 15.

【0021】18は左右キーの前後入替優先規則テーブ
ルであり、キーボード上で左手で押下するキー配置の文
字と右手で押下するキー配置の文字が前後に並ぶ場合の
前後入替による補正を片方の手で押下するキー配置の文
字どうしの前後入替よりも優先させる規則を記憶する。
19はシフト洩れ優先規則テーブルであり、シフトキー
が余分に押下されることによるタイプミスは優先度を低
くするという規則を記憶する。
Reference numeral 18 is a front / rear replacement priority rule table for the left and right keys, which is used to correct the front / rear replacement when the characters arranged with the left hand and the characters arranged with the right hand are arranged side by side on the keyboard. The rule for prioritizing the front-rear replacement of the characters of the key arrangement pressed with is stored.
Reference numeral 19 denotes a shift omission priority rule table, which stores a rule that a typo caused by excessively pressing the shift key lowers the priority.

【0022】図2は入力文字列の補正検索の動作を説明
するフローチャートであり、これについて各ステップ毎
に説明する。 (ステップS1) キーボードから入力されたキーボー
ドコード列を入力キーボードコード列一時記憶部10で
一時記憶する。ステップS2に行く。 (ステップS2) ステップS1で入力キーボードコー
ド列一時記憶部10に一時記憶したキーボードコード列
について、仮名文字列に読み替える。ステップS3に行
く。
FIG. 2 is a flow chart for explaining the correction search operation of the input character string, which will be explained step by step. (Step S1) The keyboard code string input from the keyboard is temporarily stored in the input keyboard code string temporary storage unit 10. Go to step S2. (Step S2) The keyboard code string temporarily stored in the input keyboard code string temporary storage unit 10 in step S1 is replaced with a kana character string. Go to step S3.

【0023】(ステップS3) ステップS2で読み替
えた仮名文字列について文字の置換、削除、挿入、前後
入替をおこなって補正仮名文字列を作成し、補正文字列
一時記憶部13で一時記憶する。。ステップS4に行
く。 (ステップS4) ステップS3で一時記憶した補正仮
名文字列がなくなるまで1つずつとり出してステップS
5に行く。補正文字文字列が無くなったら終了する。
(Step S3) The corrected kana character string is created by replacing, deleting, inserting and rearranging the characters of the kana character string read in step S2, and temporarily stored in the corrected character string temporary storage unit 13. . Go to step S4. (Step S4) The corrected kana character strings temporarily stored in step S3 are taken out one by one until they disappear
Go to 5. When the correction character string disappears, the process ends.

【0024】(ステップS5) 辞書14の中にステッ
プS4でとり出した補正仮名文字列と一致する見出しが
あった場合、ステップS6に行く。無かった場合、ステ
ップS4に行く。 (ステップS6) 一致した文字列の補正パターンを優
先順整列部15で記憶している規則と比較し、優先度を
算出する。優先度が大きい順に検索結果一時記憶部に辞
書14中の表記などの単語情報、優先度を一時記憶す
る。ステップS4に行く。
(Step S5) If there is a headline in the dictionary 14 that matches the corrected kana character string extracted in step S4, the process proceeds to step S6. If not, go to step S4. (Step S6) The correction pattern of the matched character string is compared with the rule stored in the priority order alignment unit 15 to calculate the priority. Word information such as notations in the dictionary 14 and priority are temporarily stored in the search result temporary storage unit in descending order of priority. Go to step S4.

【0025】図3に、JISキーボードコードと仮名文
字、アルファベット文字の対応を示す。例えば、キーボ
ードコード「D10」は、仮名文字の「せ」、アルファ
ベットの「P」に対応する。以下、本実施例の文字処理
装置の動作を具体的に説明する。仮名入力モードで「整
理(せいり)」と入力すべきところを、誤って「せり
い」と入力した場合を考える。
FIG. 3 shows the correspondence between JIS keyboard codes, kana characters, and alphabet characters. For example, the keyboard code “D10” corresponds to the kana character “se” and the alphabet “P”. Hereinafter, the operation of the character processing device of this embodiment will be specifically described. Consider a case where "Seiri" is erroneously input where "Seiri" should be entered in the kana input mode.

【0026】表1は左手と右手で入力されるキーを示
し、表2に左右キーの前後入替優先テーブル18に記述
されている内容の一例を示す。
Table 1 shows the keys input by the left hand and the right hand, and Table 2 shows an example of the contents described in the front / rear replacement priority table 18 for the left and right keys.

【0027】[0027]

【表1】 [Table 1]

【0028】[0028]

【表2】 [Table 2]

【0029】キーボードから「せりい」が入力される
と、キーボードコード列「D10、C09、D03」を
入力キーボードコード列一時記憶部10が一時記憶す
る。入力キーボードコード列読み替え部11は「D03
→い」、「D10→せ」、「C09→り」と読み替え
て、仮名文字列「せりい」を生成する。補正文字列作成
部12は、表3に示すように補正仮名文字列を作成し、
補正文字列一時記憶部13が一時記憶する。
When "Seri" is input from the keyboard, the input keyboard code string temporary storage section 10 temporarily stores the keyboard code string "D10, C09, D03". The input keyboard code string replacement unit 11 displays “D03
→ I ”,“ D10 → Se ”, and“ C09 → Ri ”are read, and the kana character string“ Serei ”is generated. The corrected character string creating unit 12 creates a corrected kana character string as shown in Table 3,
The corrected character string temporary storage unit 13 temporarily stores it.

【0030】[0030]

【表3】 [Table 3]

【0031】表4に、辞書14で記憶している内容の一
部を示す。
Table 4 shows a part of the contents stored in the dictionary 14.

【0032】[0032]

【表4】 [Table 4]

【0033】辞書検索制御部16は、補正文字列一時記
憶部13で記憶している補正仮名文字列と辞書14の中
の見出しと一致するものがあるかどうかを調べる。この
場合、「せいり」と「りせい」が一致する。左右キーの
前後入替優先規則テーブル18に、あてはまる補正パタ
ーンがあるかどうかを調べる。「せいり」の場合、
「せ」は右手、「い」は左手であり、優先度は1であ
る。「りせい」の場合、「せ」も「り」も右手なので、
優先度は0である。検索結果一時記憶部17は、表5の
ように一時記憶する。
The dictionary search control unit 16 checks whether or not there is a match between the corrected kana character string stored in the corrected character string temporary storage unit 13 and the heading in the dictionary 14. In this case, "seirei" and "risai" match. It is checked whether or not the right / left key front / rear replacement priority rule table 18 includes a correction pattern that applies. In case of "seirei",
“Se” is the right hand, “i” is the left hand, and the priority is 1. In the case of "Risei", "Rise" is the right hand, so
The priority is 0. The search result temporary storage unit 17 temporarily stores as shown in Table 5.

【0034】[0034]

【表5】 [Table 5]

【0035】次に、「十(じゅう)」を入力する場合を
考える。表6はシフトなしの文字とシフトありの文字例
を示し、表7にシフト洩れ優先規則テーブルに記述され
ている内容の一例を示す。
Next, consider the case of inputting "ten". Table 6 shows examples of characters without shift and characters with shift, and Table 7 shows an example of contents described in the shift omission priority rule table.

【0036】[0036]

【表6】 [Table 6]

【0037】[0037]

【表7】 [Table 7]

【0038】キーボードから「じゅう」が入力される
と、キーボードコード列「C03、D11、B00、E
08、E04」を入力キーボードコード列一時記憶部1
0が一時記憶する。入力キーボードコード列読み替え部
11は、「C03、D11→じ」、「B00、E08→
ゅ」、「E04→う」と読み替えて、仮名文字列「じゅ
う」を生成する。補正文字列作成部12は、表8のよう
に補正仮名文字列を作成し、補正文字列一時記憶部13
が一時記憶する。
When "10" is entered from the keyboard, the keyboard code string "C03, D11, B00, E
08, E04 ”is input Keyboard code string temporary storage unit 1
0 is temporarily stored. The input keyboard code string replacement unit 11 displays “C03, D11 → J”, “B00, E08 →
And “E04 → u” to generate the kana character string “10”. The corrected character string creating unit 12 creates a corrected kana character string as shown in Table 8, and the corrected character string temporary storage unit 13
Will be temporarily stored.

【0039】[0039]

【表8】 [Table 8]

【0040】辞書検索制御部16は、補正文字列一時記
憶部13で記憶している補正仮名文字列と辞書14の中
の見出しと一致するものがあるかどうかを調べる。この
場合、「じゅう」と「じゆう」が一致する。シフト洩れ
優先規則テーブル19に、あてはまる補正パターンがあ
るかどうかを調べる。「じゆう」の場合、「ゆ」を「ゅ
(シフトキー+ゆ)」に間違えたことになるので、優先
度は低くなる。検索結果一時記憶部17は、表9のよう
に一時記憶する。
The dictionary search control unit 16 checks whether or not there is a match between the corrected kana character string stored in the corrected character string temporary storage unit 13 and the heading in the dictionary 14. In this case, "ju" and "jiyuu" match. The shift omission priority rule table 19 is checked for any applicable correction pattern. In the case of "Jiyuu", since "Yu" is mistaken for "Yu (shift key + Yu)", the priority is low. The search result temporary storage unit 17 temporarily stores as shown in Table 9.

【0041】[0041]

【表9】 [Table 9]

【0042】以上のように、入力に対して複数の補正候
補が出た場合、優先順をつけて辞書検索の結果を求める
ことができる。 (実施例2)図4に、本発明の実施例2における文字処
理装置の構成を示す。図4において、10、13、1
4、17は、実施例1と同じものなので説明を省略す
る。31は入力キーボードコード列補正読み替え部であ
り、入力キーボードコード列一時記憶部10で記憶して
いるキーボードコード列を仮名文字列として読み替える
際にキーボードのコード列についてキーボードコードの
置換、削除、挿入、前後入替をおこなって補正キーボー
ドコード列を作成した後に、作成した補正キーボードコ
ード列を仮名文字列に読み替えて、補正仮名文字列を作
成する。32は辞書検索制御部であり、補正文字列一時
記憶部13で一時記憶した補正仮名文字列を辞書14か
ら検索する。
As described above, when a plurality of correction candidates appear for the input, the dictionary search result can be obtained by prioritizing them. (Embodiment 2) FIG. 4 shows the configuration of a character processing apparatus according to Embodiment 2 of the present invention. In FIG. 4, 10, 13, 1
Since 4 and 17 are the same as those in the first embodiment, the description thereof will be omitted. Reference numeral 31 denotes an input keyboard code string correction / reading unit, which replaces, deletes, and inserts a keyboard code in the keyboard code string when reading the keyboard code string stored in the input keyboard code string temporary storage unit 10 as a kana character string. After the front-back replacement is performed to create a corrected keyboard code string, the created corrected keyboard code string is read as a kana character string to create a corrected kana character string. A dictionary search control unit 32 searches the dictionary 14 for the corrected kana character string temporarily stored in the corrected character string temporary storage unit 13.

【0043】以下、本実施例の文字処理装置の動作を具
体的に説明する。「がくひ」と入力すべきところを「か
ぐひ」と入力した場合を考える。キーボードから「かぐ
ひ」が入力されると、キーボードコード列「D05、C
06、D11、B04」」を入力キーボードコード列一
時記憶部10が一時記憶する。入力キーボードコード列
補正読み替え部31は、表10のように補正キーボード
コード列を作成して、仮名文字列に読み替える。補正文
字列一時記憶部13は、補正されて読み替えられた補正
仮名文字列を一時記憶する。
The operation of the character processing apparatus of this embodiment will be specifically described below. Consider the case where "Kaguhi" is entered where "Gakuhi" should be entered. When "Kaguhi" is input from the keyboard, the keyboard code string "D05, C
"06, D11, B04""is temporarily stored in the input keyboard code string temporary storage unit 10. The input keyboard code string correction replacement unit 31 creates a corrected keyboard code string as shown in Table 10 and replaces it with a kana character string. The corrected character string temporary storage unit 13 temporarily stores the corrected kana character string that has been corrected and replaced.

【0044】[0044]

【表10】 [Table 10]

【0045】辞書検索制御部32は、補正文字列一時記
憶部13で記憶している補正仮名文字列と辞書14の中
の見出しと一致するものがあるかどうかを調べる。この
場合、「がくひ」が一致する。検索結果一時記憶部17
は、表11のように一時記憶する。
The dictionary search control unit 32 checks whether or not there is a match between the corrected kana character string stored in the corrected character string temporary storage unit 13 and the heading in the dictionary 14. In this case, "gakuhi" matches. Search result temporary storage unit 17
Are temporarily stored as shown in Table 11.

【0046】[0046]

【表11】 [Table 11]

【0047】(実施例3)図5に、本発明の実施例3に
おける文字処理装置の構成を示す。図5において10、
18は、実施例1と同じものなので説明を省略する。4
1は補正入力キーボードコード列作成部であり、入力キ
ーボードコード列一時記憶部10で記憶しているキーボ
ードコード列についてキーボードコード列の置換、削
除、挿入、前後入替をおこなって補正キーボードコード
列を作成する。42は補正キーボードコード列一時記憶
部であり、補正入力キーボードコード列作成部41で作
成した補正キーボードコード列を一時記憶する。43は
キーボードコード見出し辞書であり、キーボードのコー
ド列を見出しとし、表記などの単語の情報を付随させて
記憶している。44は辞書検索制御部であり、補正キー
ボードコード列一時記憶部42で一時記憶した補正キー
ボードコード列により補正仮名文字列をキーボードコー
ド見出し辞書43から検索する。
(Embodiment 3) FIG. 5 shows the configuration of a character processing apparatus according to Embodiment 3 of the present invention. In FIG. 5, 10,
Since 18 is the same as that of the first embodiment, its description is omitted. Four
Reference numeral 1 denotes a corrected input keyboard code string creating unit, which replaces, deletes, inserts, and replaces the keyboard code string stored in the input keyboard code string temporary storage unit 10 to create a corrected keyboard code string. To do. A corrected keyboard code string temporary storage unit 42 temporarily stores the corrected keyboard code string created by the corrected input keyboard code string creating unit 41. Reference numeral 43 denotes a keyboard code heading dictionary, which uses a keyboard code string as a heading and stores word information such as notations and the like. Reference numeral 44 denotes a dictionary search control unit that searches the keyboard code index dictionary 43 for a corrected kana character string using the corrected keyboard code string temporarily stored in the corrected keyboard code string temporary storage unit 42.

【0048】以下、本実施例の文字処理装置の動作を具
体的に説明する。表12に、キーボードコード見出し辞
書43で記憶している内容の一部を示す。
The operation of the character processing apparatus of this embodiment will be described in detail below. Table 12 shows a part of the contents stored in the keyboard code index dictionary 43.

【0049】[0049]

【表12】 [Table 12]

【0050】実施例2と同様に「がくひ」と入力すべき
ところを「かぐひ」と入力した場合を考える。キーボー
ドから「かぐひ」が入力されると、キーボードコード列
「D05、C06、D11、B04」」を入力キーボー
ドコード列一時記憶部10が一時記憶する。補正入力キ
ーボードコード列作成部41は、表13に示すような補
正キーボードコード列を作成する。補正キーボードコー
ド文字列一時記憶部42は、補正された補正キーボード
コード列を一時記憶する。
As in the case of the second embodiment, consider a case where "Kaguhi" is input where "Gakuhi" should be input. When "Kaguhi" is input from the keyboard, the input keyboard code string temporary storage unit 10 temporarily stores the keyboard code string "D05, C06, D11, B04". The corrected input keyboard code string creating unit 41 creates a corrected keyboard code string as shown in Table 13. The corrected keyboard code character string temporary storage unit 42 temporarily stores the corrected corrected keyboard code string.

【0051】[0051]

【表13】 [Table 13]

【0052】辞書検索制御部44は、補正キーボードコ
ード列一時記憶部42で一時記憶している補正キーボー
ドコード列とキーボードコード見出し辞書43の中の見
出しと一致するものがあるかどうかを調べる。この場
合、「がくひ」が一致する。検索結果一時記憶部17
は、実施例2と同様に、表11のように一時記憶する。
なお、上記実施例1においては、1つの優先規則で優先
順を算出したが、複数の方法を組み合わせてもよい。
The dictionary search control unit 44 checks whether or not there is a match between the corrected keyboard code string temporarily stored in the corrected keyboard code string temporary storage unit 42 and the heading in the keyboard code heading dictionary 43. In this case, "gakuhi" matches. Search result temporary storage unit 17
Is temporarily stored as shown in Table 11 as in the second embodiment.
Although the priority order is calculated by one priority rule in the first embodiment, a plurality of methods may be combined.

【0053】また、上記実施例1、2、3においては、
JISキーボードを使用したが、新JISキーボードな
ど他のキーボードを使用しても良い。この場合、タイプ
ミスし易いパターンがキーボードのキー配置に依存する
ので、優先規則は本実施例とは異なる。また、キーボー
ドコードをJISで定められたコード体系としたが、キ
ーボード固有のコード体系でもよい。
Further, in the above-mentioned first, second and third embodiments,
Although a JIS keyboard is used, another keyboard such as a new JIS keyboard may be used. In this case, the pattern that is likely to be mistyped depends on the key arrangement of the keyboard, so the priority rule is different from that of the present embodiment. Further, although the keyboard code is a code system defined by JIS, it may be a code system unique to the keyboard.

【0054】また、上記実施例1、2においては、入力
キーボードコード列読み替え部では仮名文字列に読み替
えたが英語などの外国語の文字列でもよい。この場合、
辞書の見出し文字列も英語などになる。又、上記実施例
3においては、表記に対応する部分は日本語の文字列に
限らず、英語などの外国語の表記でもよい。
Further, in the above-mentioned first and second embodiments, the input keyboard code string replacing section is replaced by a kana character string, but a character string in a foreign language such as English may be used. in this case,
The headline character strings in the dictionary are also in English. In the third embodiment, the part corresponding to the notation is not limited to the Japanese character string, but may be the notation in a foreign language such as English.

【0055】さらに、入力モードは、仮名入力モードの
場合としたが、ローマ字入力モード入力でもよい。実施
例3におけるローマ字入力モードの場合、キーボードコ
ード見出し辞書は、表12で示すようになる。
Further, although the input mode is the kana input mode, it may be the roman character input mode input. In the case of the Roman character input mode in the third embodiment, the keyboard code heading dictionary is as shown in Table 12.

【0056】[0056]

【発明の効果】請求項1に記載の発明によると、補正文
字列を文字列を見出しとする辞書から検索した後、キー
ボードのキー配置に依存する補正パターン別にあらかじ
め定められた優先度にしたがって優先順を付け、その優
先順とともに検索結果を一時記憶するので、入力に対す
る補正候補が複数あった場合にどの補正文字列が最も確
からしいかを容易に判断することができる。
According to the invention described in claim 1, after the correction character string is retrieved from the dictionary having the character string as a heading, the correction character string is prioritized according to a predetermined priority for each correction pattern depending on the key arrangement of the keyboard. Since the order is given and the search result is temporarily stored together with the order of priority, it is possible to easily determine which correction character string is most likely to exist when there are a plurality of correction candidates for the input.

【0057】又、請求項2に記載の発明によると、優先
度の設定において右手と左手によるキー入力の前後入替
を、片手によるキー入力の前後入替よりも優先するの
で、キー入力時に生じ易い誤入力に対して高い優先度が
与えられ、確からしさの判断が容易となる。又、請求項
3に記載の発明によると、優先度の設定においてシフト
キーが余分に押下されることによるタイプミスの優先度
を低くしているので、キー入力時に生じにくい誤入力に
対して低い優先度が与えられ、確からしさの判断が容易
となる。
According to the second aspect of the invention, since the front / rear replacement of the key input with the right hand and the left hand is prioritized over the front / rear replacement of the key input with one hand in the setting of the priority, an erroneous error is likely to occur at the time of key input. A high priority is given to the input, and it is easy to judge the certainty. According to the third aspect of the invention, the priority of the typo caused by the extra pressing of the shift key in the setting of the priority is lowered, so that a low priority is given to an erroneous input that is unlikely to occur at the time of key input. The degree is given, and it is easy to judge the certainty.

【0058】又、請求項4に記載の発明によると、入力
キーボードコード列補正読み替え部で、キーボードのコ
ード列についてキーボードコードの置換、削除、挿入、
前後入替をおこなってから後に文字列に読み替えて補正
文字列を作成するので、入力したキーボードコードの単
位で補正でき、そのため文字列に読み替えられないよう
なタイプミスに関しても補正することができる。
Further, according to the invention of claim 4, in the input keyboard code string correction / reading unit, replacement, deletion, insertion of a keyboard code in the code string of the keyboard,
Since the front-back replacement is performed and then the corrected character string is created by reading the character string, the correction can be made in the unit of the input keyboard code. Therefore, even a typo that cannot be read as a character string can be corrected.

【0059】又、請求項5に記載の発明によると、補正
入力キーボードコード列を作成して、キーボードのコー
ド列を見出しとするキーボードコード見出し辞書から補
正キーボードコード列を検索するので、キーボードコー
ドを文字列に読み替える手間を省けるとともに、入力し
たキーボードコードの単位で補正するため文字単位では
補正できなかったタイプミスも補正することができる。
According to the fifth aspect of the invention, the corrected input keyboard code string is created and the corrected keyboard code string is searched from the keyboard code index dictionary having the keyboard code string as the index. In addition to saving the trouble of translating it into a character string, it is also possible to correct typos that could not be corrected in character units because the correction is made in character units of input keyboard codes.

【0060】さらに、請求項6〜請求項10に記載の発
明においても、それぞれ請求項1〜請求項5に記載の発
明に対応した効果を奏することができる。
Further, also in the inventions described in claims 6 to 10, the effects corresponding to the inventions described in claims 1 to 5 can be obtained.

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

【図1】本発明の実施例1における文字処理装置の構成
図である。
FIG. 1 is a configuration diagram of a character processing device according to a first embodiment of the present invention.

【図2】同実施例における文字処理動作を説明するフロ
ーチャートである。
FIG. 2 is a flowchart illustrating a character processing operation in the same embodiment.

【図3】キーボードコードの説明図である。FIG. 3 is an explanatory diagram of a keyboard code.

【図4】本発明の実施例2における文字処理装置の構成
図である。
FIG. 4 is a configuration diagram of a character processing device according to a second embodiment of the present invention.

【図5】本発明の実施例3における文字処理装置の構成
図である。
FIG. 5 is a configuration diagram of a character processing device according to a third embodiment of the present invention.

【図6】従来例の文字入力装置の構成図である。FIG. 6 is a block diagram of a conventional character input device.

【符号の説明】[Explanation of symbols]

10 入力キーボードコード列一時記憶部 11 入力キーボードコード列読み替え部 12 補正文字列作成部 13 補正文字列一時記憶部 14 辞書 15 優先順整列部 16 辞書検索制御部 17 検索結果一時記憶部 18 左右キーの前後入替優先規則テーブル 19 シフト洩れ優先規則テーブル 31 入力キーボードコード列補正読み替え部 32 辞書検索制御部 41 補正入力キーボードコード列作成部 42 補正キーボードコード列一時記憶部 43 キーボードコード見出し辞書 44 辞書検索制御部 10 input keyboard code string temporary storage unit 11 input keyboard code string replacement unit 12 correction character string creation unit 13 correction character string temporary storage unit 14 dictionary 15 priority order alignment unit 16 dictionary search control unit 17 search result temporary storage unit 18 left and right key Front-rear replacement priority rule table 19 Shift omission priority rule table 31 Input keyboard code string correction reading unit 32 Dictionary search control unit 41 Corrected input keyboard code string creation unit 42 Corrected keyboard code string temporary storage unit 43 Keyboard code heading dictionary 44 Dictionary search control unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 キーボードより入力されたキーをコード
として入力された順に一時記憶する入力キーボードコー
ド列一時記憶ステップと、一時記憶している入力キーボ
ードコード列を文字列として読み替える入力キーボード
コード列読み替えステップと、読み替えた文字列につい
て文字の置換、削除、挿入、前後入替を行って補正文字
列を作成する補正文字列作成ステップと、作成した補正
文字列を一時記憶する補正文字列一時記憶ステップと、
一時記憶した補正文字列を文字列を見出しとする辞書か
ら検索する辞書検索制御ステップと、キーボードのキー
配置に依存する補正パターン別にあらかじめ定められた
優先度にしたがって辞書検索制御ステップで検索した結
果を優先順に並びかえる優先順整列ステップと、優先順
に並びかえた検索結果をその優先順とともに一時記憶す
る検索結果一時記憶ステップとを有することを特徴とす
る文字処理方法。
1. A step of temporarily storing an input keyboard code string in which keys input from a keyboard are temporarily stored in the order in which they are entered as a code, and an input keyboard code string replacing step of replacing the temporarily stored input keyboard code string as a character string. And a correction character string creating step of creating a correction character string by replacing, deleting, inserting, and rearranging characters in the read character string, and a correction character string temporary storage step of temporarily storing the created correction character string,
The dictionary search control step that searches the temporarily stored correction character string from the dictionary that uses the character string as a heading, and the search results that are searched in the dictionary search control step according to the priority that is set in advance for each correction pattern that depends on the keyboard key layout. A character processing method comprising: a priority order sorting step of rearranging in priority order; and a search result temporary storage step of temporarily storing the search results rearranged in priority order together with the priority order.
【請求項2】 キーボード上で左手で押下するキー配置
の文字と右手で押下するキー配置の文字が前後に並ぶ場
合の前後入替による補正を、片方の手で押下するキー配
置の文字どうしの前後入替による補正よりも優先させる
優先順整列ステップを有することを特徴とする請求項1
記載の文字処理方法。
2. Correction of front-to-back swapping when a character arranged with a left-hand key and a character arranged with a right-hand press on a keyboard are arranged in front and rear, before and after the characters arranged with one hand are pressed. 2. The method according to claim 1, further comprising a priority ordering step of giving priority to the replacement correction.
Character processing method described.
【請求項3】 シフトキーが余分に押下されることによ
るタイプミスは優先度を低くする優先順整列ステップを
有することを特徴とする請求項1記載の文字処理方法。
3. The character processing method according to claim 1, further comprising a priority order alignment step of lowering a priority of a typo caused by excessively pressing the shift key.
【請求項4】 キーボードより入力されたキーをコード
として入力された順に一時記憶する入力キーボードコー
ド列一時記憶ステップと、一時記憶している入力キーボ
ードコード列を文字列として読み替える際にキーボード
のコード列についてキーボードコードの置換、削除、挿
入、前後入替を行ってから後に入力キーボードコード列
を文字列に読み替えることによって補正文字列を作成す
る入力キーボードコード列補正読み替えステップと、作
成した補正文字列を一時記憶する補正文字列一時記憶ス
テップと、一時記憶している補正文字列を文字列を見出
しとする辞書から検索する辞書検索制御ステップと、検
索結果を一時記憶する検索結果一時記憶ステップとを有
することを特徴とする文字処理方法。
4. An input keyboard code string temporary storing step of temporarily storing keys entered from the keyboard in the order in which they are entered as codes, and a keyboard code string when replacing the temporarily stored input keyboard code string as a character string. About the keyboard code replacement, deletion, insertion, before / after replacement, and then create the corrected character string by replacing the input keyboard code string with the character string. A correction character string temporary storage step of storing, a dictionary search control step of searching the temporarily stored correction character string from a dictionary having a character string as a headline, and a search result temporary storage step of temporarily storing search results Character processing method characterized by.
【請求項5】 キーボードより入力されたキーをコード
として入力された順に一時記憶する入力キーボードコー
ド列一時記憶ステップと、一時記憶している入力キーボ
ードコード列についてキーボードコードの置換、削除、
挿入、前後入替を行って補正入力キーボードコード列を
作成する補正入力キーボードコード列作成ステップと、
補正キーボードコード列を一時記憶する補正キーボード
コード列一時記憶ステップと、一時記憶している補正キ
ーボードコード列をキーボードのコード列を見出しとす
るキーボードコード見出し辞書から検索する辞書検索制
御ステップと、検索結果を一時記憶する検索結果一時記
憶ステップとを有することを特徴とする文字処理方法。
5. An input keyboard code string temporary storage step for temporarily storing keys entered from the keyboard in the order in which they are entered as codes, and replacing or deleting keyboard codes for the temporarily stored input keyboard code string.
Compensation input keyboard code string creation step of inserting and rearranging to create a correction input keyboard code string,
A corrected keyboard code string temporary storage step for temporarily storing the corrected keyboard code string, a dictionary search control step for searching the temporarily stored corrected keyboard code string from the keyboard code heading dictionary with the keyboard code string as a heading, and a search result A character processing method for temporarily storing a search result temporary storage step.
【請求項6】 キーボードより入力されたキーをコード
として入力された順に一時記憶する入力キーボードコー
ド列一時記憶部と、一時記憶している入力キーボードコ
ード列を文字列として読み替える入力キーボードコード
列読み替え部と、読み替えた文字列について文字の置
換、削除、挿入、前後入替を行って補正文字列を作成す
る補正文字列作成部と、作成した補正文字列を一時記憶
する補正文字列一時記憶部と、文字列を見出しとする辞
書と、一時記憶した補正文字列を辞書から検索する辞書
検索制御部と、キーボードのキー配置に依存する補正パ
ターン別にあらかじめ定められた優先度にしたがって辞
書検索制御部で検索した結果を優先順に並びかえる優先
順整列部と、優先順に並びかえた検索結果をその優先順
とともに一時記憶する検索結果一時記憶部とを有するこ
とを特徴とする文字処理装置。
6. An input keyboard code string temporary storage unit for temporarily storing keys input from the keyboard in the order of input as codes, and an input keyboard code string replacement unit for replacing the temporarily stored input keyboard code string as a character string. A corrected character string creation unit that creates a corrected character string by replacing, deleting, inserting, and rearranging characters in the replaced character string; and a corrected character string temporary storage unit that temporarily stores the created corrected character string, A dictionary with a character string as a heading, a dictionary search control unit that searches the dictionary for temporarily stored correction character strings, and a dictionary search control unit that searches according to a predetermined priority for each correction pattern that depends on the keyboard key arrangement. Priority order rearrangement unit that rearranges the retrieved results in priority order, and temporarily stores the search results rearranged in priority order together with the priority order. A character processing device comprising: a search result temporary storage unit.
【請求項7】 キーボード上で左手で押下するキー配置
の文字と右手で押下するキー配置の文字が前後に並ぶ場
合の前後入替による補正を、片方の手で押下するキー配
置の文字どうしの前後入替による補正よりも優先させる
優先順整列部を有することを特徴とする特許請求の範囲
第6項記載の文字処理装置。
7. A front and back of a character arrangement of a key arrangement to be pressed with one hand for correction by front and rear replacement when a character arrangement of a key arrangement to be pressed with a left hand and a character arrangement with a key arrangement to be pressed with a right hand are arranged in front and back on a keyboard. 7. The character processing device according to claim 6, further comprising a priority order alignment unit that gives priority over the replacement correction.
【請求項8】 シフトキーが余分に押下されることによ
るタイプミスは優先度を低くする優先順整列部を有する
ことを特徴とする特許請求の範囲第6項記載の文字処理
装置。
8. The character processing device according to claim 6, further comprising a priority order alignment unit for lowering the priority of a typo caused by excessively pressing the shift key.
【請求項9】 キーボードより入力されたキーをコード
として入力された順に一時記憶する入力キーボードコー
ド列一時記憶部と、一時記憶している入力キーボードコ
ード列を文字列として読み替える際にキーボードのコー
ド列についてキーボードコードの置換、削除、挿入、前
後入替を行ってから後に入力キーボードコード列を文字
列に読み替えることによって補正文字列を作成する入力
キーボードコード列補正読み替え部と、読み替えた補正
文字列を一時記憶する補正文字列一時記憶部と、文字列
を見出しとする辞書と、一時記憶している補正文字列を
辞書から検索する辞書検索制御部と、検索結果を一時記
憶する検索結果一時記憶部とを有することを特徴とする
文字処理装置。
9. An input keyboard code string temporary storage unit for temporarily storing keys input from a keyboard in the order of input as codes, and a keyboard code string when the temporarily stored input keyboard code string is read as a character string. About the keyboard code replacement, deletion, insertion, and rearrangement, and then create the corrected character string by replacing the input keyboard code string with the character string. A correction character string temporary storage unit for storing, a dictionary having a character string as a headline, a dictionary search control unit for searching the temporarily stored correction character string from the dictionary, and a search result temporary storage unit for temporarily storing search results. A character processing device comprising:
【請求項10】 キーボードより入力されたキーをコー
ドとして入力された順に一時記憶する入力キーボードコ
ード列一時記憶部と、一時記憶している入力キーボード
コード列についてキーボードコードの置換、削除、挿
入、前後入替を行って補正入力キーボードコード列を作
成する補正入力キーボードコード列作成部と、作成した
補正キーボードコード列を一時記憶する補正キーボード
コード列一時記憶部と、キーボードのコード列を見出し
とするキーボードコード見出し辞書と、一時記憶してい
る補正キーボードコード列をキーボードコード見出し辞
書から検索する辞書検索制御部と、検索結果を一時記憶
する検索結果一時記憶部とを有することを特徴とする文
字処理装置。
10. An input keyboard code string temporary storage unit for temporarily storing keys entered from the keyboard in the order in which they are entered as codes, and keyboard code replacement, deletion, insertion, before and after for the temporarily stored input keyboard code string. A correction input keyboard code string creation unit that replaces to create a correction input keyboard code string, a correction keyboard code string temporary storage unit that temporarily stores the created correction keyboard code string, and a keyboard code that uses the keyboard code string as a heading. A character processing device comprising: a headline dictionary; a dictionary search control unit that searches the temporarily stored corrected keyboard code string from the keyboard code headline dictionary; and a search result temporary storage unit that temporarily stores a search result.
JP17425893A 1993-07-14 1993-07-14 Character processing method and device Expired - Fee Related JP3263190B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17425893A JP3263190B2 (en) 1993-07-14 1993-07-14 Character processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17425893A JP3263190B2 (en) 1993-07-14 1993-07-14 Character processing method and device

Publications (2)

Publication Number Publication Date
JPH0728810A true JPH0728810A (en) 1995-01-31
JP3263190B2 JP3263190B2 (en) 2002-03-04

Family

ID=15975493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17425893A Expired - Fee Related JP3263190B2 (en) 1993-07-14 1993-07-14 Character processing method and device

Country Status (1)

Country Link
JP (1) JP3263190B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154156A (en) * 1996-11-22 1998-06-09 Nec Corp English word retrieval device
JP2006155262A (en) * 2004-11-30 2006-06-15 Sourcenext Corp Input support system, input support method and program
JP2014238706A (en) * 2013-06-07 2014-12-18 富士通株式会社 Word input program, information processing device and word input method
CN108271041A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 Mess code treating method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154156A (en) * 1996-11-22 1998-06-09 Nec Corp English word retrieval device
JP2006155262A (en) * 2004-11-30 2006-06-15 Sourcenext Corp Input support system, input support method and program
JP2014238706A (en) * 2013-06-07 2014-12-18 富士通株式会社 Word input program, information processing device and word input method
CN108271041A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 Mess code treating method and apparatus
CN108271041B (en) * 2016-12-30 2021-01-22 北京国双科技有限公司 Method and device for processing messy codes

Also Published As

Publication number Publication date
JP3263190B2 (en) 2002-03-04

Similar Documents

Publication Publication Date Title
EP0180047B1 (en) Text editor for speech input
US6047300A (en) System and method for automatically correcting a misspelled word
US4689768A (en) Spelling verification system with immediate operator alerts to non-matches between inputted words and words stored in plural dictionary memories
EP0098959A2 (en) Method for producing right margin justified text data in a text processing system
US4894779A (en) Translating apparatus
JPH0877173A (en) System and method for correcting character string
EP0330170A2 (en) European language processing machine with a spelling correction function
EP0054658A1 (en) Automatic spelling checking and correction process in a text processing system
EP0097818B1 (en) Spelling verification method and typewriter embodying said method
JPH0728810A (en) Character processing method and device therefor
JP3103179B2 (en) Document creation device and document creation method
JPH08180066A (en) Index preparation method, document retrieval method and document retrieval device
JPH0696266A (en) Correction supporting system for character recognition result
JPH0244459A (en) Japanese text correction candidate extracting device
JP2633978B2 (en) Kana-Kanji conversion method
JP3466761B2 (en) Document processing apparatus and control method thereof
JP3387421B2 (en) Word input support device and word input support method
JPS58151677A (en) Editing method of translated sentence
JPS60201467A (en) Japanese processing device
JPS6172359A (en) Character correction system for close writing kana-to-kanji conversion
JPH06348889A (en) Character recognizing device
JP2003308316A (en) Method of correcting incorrect input by keyboard
JPH0565898B2 (en)
JPS62171068A (en) Document preparing device
JPS6172360A (en) Close writing kana-to-kanji conversion system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees