Data processing: database and file management or data structures – Database design – Data structure types
Reexamination Certificate
1998-05-26
2002-07-23
Hong, Stephen S. (Department: 2176)
Data processing: database and file management or data structures
Database design
Data structure types
C707S793000, C704S009000
Reexamination Certificate
active
06424983
ABSTRACT:
REFERENCE TO COMPUTER PROGRAM LISTING APPENDIX
This patent application refers to material comprising a portion of a computer program listing presented as an appendix on CD. The file on the accompanying CD entitled Appendix for Spelling and Grammar Checking System.doc, created May 8, 2001, size 80,384 bytes, on the CD is incorporated herein by reference. The file includes three appendices, entitled Appendix A, Appendix B, and Appendix C.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to a spelling and grammar checking system, and more particularly to a spelling and grammar checking system which corrects misspelled words, incorrectly-used words, and contextual and grammatical errors. The invention has particular utility in connection with machine translation systems, word processing systems, and text indexing and retrieval systems such as World Wide Web search engines.
2. Description of the Related Art
Conventional spelling correction systems, such as those found in most common word processing applications, check whether each word in a document is found in a dictionary database. When a word is not found in the dictionary, the word is flagged as being incorrectly spelled. Suggestions for replacing the incorrectly-spelled word with its correctly-spelled counterpart are then determined by inserting, deleting and/or transposing characters in the misspelled word. For example, in a sentence like My son thre a ball at me, the word thre is not correctly-spelled. Conventional spelling correction systems, such as those described in U.S. Pat. No. 4,580,241 (Kucera) and U.S. Pat. No. 4,730,269 (Kucera), suggest words such as threw, three, there and the, as possible alternatives for the misspelled word by adding and deleting characters at different locations in the misspelled word. These alternative words are then displayed to a user, who must then select one of the alternatives.
One of the drawbacks of conventional systems is that they lack the ability to suggest alternative words based on the context in which the misspelled word appears. For example, in the following three sentences, the word thre appears in different contexts and, therefore, should be corrected differently in each sentence.
My son thre a ball through the window.
He broke thre window.
He moved thre years ago.
More specifically, in the first sentence, the incorrectly-spelled word thre should be replaced by threw. In the second sentence, the word thre should be replaced by the. In the third sentence, the word thre should be replaced by three. In spite of these differences in context, conventional spelling correction systems suggest the same list of alternative words, ranked in the same order, for all three of the foregoing sentences. For example, the spelling correction program provided in Microsoft® Word '97 suggests the following words, in the following order, for all three of the foregoing sentences: three, there, the, throe, threw.
Since conventional spelling correction systems do not rank alternative words according to context, such systems are not able to correct spelling mistakes automatically, since to do so often leads to an inordinate number of incorrectly corrected words. Rather, such systems typically use an interactive approach to correcting misspelled words. While such an approach can be effective, it is inefficient, and oftentimes very slow, particularly when large documents are involved. Accordingly, there exists a need for a spell checking system which is capable of ranking alternative words according to context, and which is also capable of automatically correcting misspelled words without significant user intervention.
Conventional spelling correction systems are also unable to correct grammatical errors in a document or other input text, particularly if those words are spelled correctly but are misused in context. By way of example, although the word too is misused in the sentence He would like too go home, conventional spelling correction systems would not change too to to, since too is correctly spelled. In this regard, grammar checking systems are available which correct improperly used words (see, e.g., U.S. Pat. No. 4,674,065 (Lange), U.S. Pat. No. 5,258,909 (Damerau), U.S. Pat. No. 5,537,317 (Schabes), U.S. Pat. No. 4,672,571 (Bass), and U.S. Pat. No. 4,847,766 (McRae)). Such systems, however, are of limited use, since they are only capable of correcting relatively short lists of predefined words. More importantly, such systems are not capable of performing grammar corrections on words that have been misspelled.
Accordingly, there exists a need for a spelling and grammar checking system which is capable of correcting words that have misused in a given context in cases where the words have been spelled incorrectly and in cases where the words have been spelled correctly.
SUMMARY OF THE INVENTION
The present invention addresses the foregoing needs by providing a system which corrects both the spelling and grammar of words using finite state machines, such as finite state transducers and finite state automata. For each word in a text sequence, the present invention provides a list of alternative words ranked according to a context of the text sequence, and then uses this list to correct words in the text (either interactively or automatically). The invention has a variety of uses, and is of particular use in the fields of word processing, machine translation, text indexing and retrieval, and optical character recognition, to name a few.
In brief, the present invention determines alternatives for misspelled words, and ranks these alternatives based on a context in which the misspelled word occurs. For example, for the sentence My son thre a ball through the window, the present invention suggests the word threw as the best correction for the word thre, whereas for the sentence He broke thre window, the present invention suggests the word the as the best correction for the word thre. In its interactive mode, the invention displays alternative word suggestions to a user and then corrects misspelled words in response to a user's selection of an alternative word. In contrast, in its automatic mode, the present invention determines, on its own, which of the alternatives should be used, and then implements any necessary corrections automatically (i.e., without user input).
Advantageously, the invention also addresses incorrect word usage in the same manner that it addresses misspelled words. Thus, the invention can be used to correct improper use of commonly-confused words such as who and whom, homophones such as then and than, and other such words that are spelled correctly, but that are improper in context. For example, the invention will correct the sentence He thre the ball to the sentence He threw the ball (and not three, the, . . . ); the sentence fragment flight smulator to flight simulator (and not stimulator); the sentence fragment air baze to air base (and not baize, bass, babe, or bade); the phrase Thre Miles Island to Three Miles Island (and not The or Threw); and the phrase ar traffic controller to air traffic controller (and not are, arc, . . . ). The invention also can be used to restore accents (such as á, à, é, . . . ) or diacritic marks (such as ñ, ç, . . . ) in languages such as French and Spanish. For example, the current invention corrects the sentence il l'a releve to il l'a relevé (and not relève, relèvent, . . . ).
According to one aspect, the present invention is a system (i.e., an apparatus, a method and/or computer-executable process steps) for correcting misspelled words in input text. The system detects a misspelled word in the input text, and determines a list of alternative words for the misspelled word. The list of alternative words is then ranked based on a context of the input text.
According to another aspect, the present invention is a word processing system for creating and editing text documents. The word processing system inputs text into a text document, spell-checks the text so as to replace misspelled
Roche Emmanuel
Schabes Yves
Bashore William L.
Choate Hall & Stewart
Global Information Research and Technologies LLC
Hong Stephen S.
LandOfFree
Spelling and grammar checking system does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Spelling and grammar checking system, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Spelling and grammar checking system will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-2914426