Method and apparatus for "wrong word" spelling error detection and correction
First Claim
1. A spelling error detection method, said method comprising the steps of:
- providing an input string of words Ti =Wi produced by a word processor, each word having a spelling;
changing the spelling of a first word T1 =W1 in the input string to form a second word W2 different from the first word;
replacing the first word W1 in the input string Wi with the second word W2 to form a candidate string of words Wc ;
estimating the probability P(Wi) of occurrence of the input string of words;
estimating the probability P(Wc) of occurrence of the candidate string of words;
estimating the probability P(Ti |Wc) of misrepresenting the candidate string of words Wc as the input string of words Ti ;
comparing P(Wi) with the product P(Wc)P(Ti |Wc); and
outputting the input string of words if P(Wi) is greater than P(Wc)P(Ti |Wc), or outputting an error indication if P(Wi) is less than P(Wc)P(Ti |Wc).
1 Assignment
0 Petitions
Accused Products
Abstract
A method of detecting and correcting an error in a string of information signals. When each information signal represents a word, the method detects and corrects spelling errors. The method detects and corrects an error which is a properly spelled word, but which is the wrong (not intended) word. For example, the method is capable of detecting and correcting a misspelling of "HORSE" as "HOUSE". In the spelling error detection and correction method, a first word in an input string of words is changed to form a second word different from a first word to form a candidate string of words. The spellings of the first word and the second word are in the spelling dictionary. The probability of occurrence of the input string of words is compared to the product of the probability of occurrence of the candidate string of words multiplied by the probability of misrepresenting the candidate string of words as the input string of words. If the former is greater than or equal to the latter, no correction is made. If the former is less than the latter, the candidate string of words is selected as a spelling correction.
93 Citations
36 Claims
-
1. A spelling error detection method, said method comprising the steps of:
-
providing an input string of words Ti =Wi produced by a word processor, each word having a spelling; changing the spelling of a first word T1 =W1 in the input string to form a second word W2 different from the first word; replacing the first word W1 in the input string Wi with the second word W2 to form a candidate string of words Wc ; estimating the probability P(Wi) of occurrence of the input string of words; estimating the probability P(Wc) of occurrence of the candidate string of words; estimating the probability P(Ti |Wc) of misrepresenting the candidate string of words Wc as the input string of words Ti ; comparing P(Wi) with the product P(Wc)P(Ti |Wc); and outputting the input string of words if P(Wi) is greater than P(Wc)P(Ti |Wc), or outputting an error indication if P(Wi) is less than P(Wc)P(Ti |Wc). - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method of detecting an error in an information signal, said method comprising the steps of:
-
providing an input string of information signals Ti =Wi, each information signal representing information; changing a first information signal T1 =W1 in the input string to form a second information signal W2 representing information different from the information represented by the first information signal; replacing the first information signal W1 in the input string Wi with the second information signal W2 to form a candidate string of information signals Wc ; estimating the probability P(Wi) of occurrence of the input string of information signals; estimating the probability P(Wc) of occurrence of the candidate string of information signals; estimating the probability P(Ti |Wc) of misrepresenting the information represented by the candidate string of information signals Wc as the input string of information signals Ti ; comparing P(Wi) with the product P(Wc)P(Ti |Wc); and outputting the input string of information signals if P(Wi) is greater than P(Wc)P(Ti |Wc), or outputting an error indication signal if P(Wi) is less than P(Wc)P(Ti |Wc). - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. An apparatus for detecting an error in an information signal, said apparatus comprising:
-
means for providing an input string of information signals Ti =Wi, each information signal representing information; means for changing a first information signal T1 =W1 in the input string to form a second information signal W2 representing information different from the information represented by the first information signal; means for replacing the first information signal W1 in the input string with the second information signal W2 to form a candidate string of information signals Wc ; means for estimating the probability P(Wi) of occurrence of the input string of information signals; means for estimating the probability P(Wc) of occurrence of the candidate string of information signals; means for estimating the probability P(Ti |Wc) of misrepresenting the information represented by the candidate string of information signals Wc as the input string of information signals Ti ; means for comparing P(Wi) with the product P(Wc)P(Ti |Wc); and means for outputting the input string of information signals if P(Wi) is greater than P(Wc)P(Ti |Wc), or outputting an error indication signal if P(Wi) is less than P(Wc)P(Ti |Wc). - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
Specification