Using parts-of-speech tagging and named entity recognition for spelling correction
AssigneeApple Inc.
InventorsBrent D. Ramerth, Douglas R. Davidson, Jennifer Lauren Moore
Life of this patent
Estimating the term…
Abstract
Techniques to automatically correct or complete text are disclosed. An entered text and a context data indicating a context in which the entered text is used are received. Examples of context data include additional words and/or a phrase or sentence in which the entered text occurs. A replacement candidate to replace the entered text is determined based on the entered text and the context data.
Claims42
A method of automatically correcting or completing text, comprising:
- receiving entered text from a user and context data indicating a context in which the entered text is used, wherein the entered text is a word;
- determining without user intervention, based on the word and the context data, a replacement candidate to replace the word, the determining including:
- using the context data to assign to the replacement candidate a score indicating a degree of confidence that the replacement candidate should be suggested;
- determining a statistically expected part of speech of the word;
- and
- selecting the replacement candidate based at least in part on a determination that a part of speech of the replacement candidate matches the statistically expected part of speech of the word;
- and
- providing the selected replacement candidate to the user as a suggested correction.
A system, comprising:
- an input device configured to receive user inputs comprising entered text;
- and
- a processor coupled to the input device and configured to:
- receive entered text from a user entered using the input device and context data indicating a context in which the entered text is used, wherein the entered text is a word;
- determine without user intervention, based on the word and the context data, a replacement candidate to replace the word, the determining including:
- using the context data to assign to the replacement candidate a score indicating a degree of confidence that the replacement candidate should be suggested;
- determining a statistically expected part of speech of the word;
- and
- selecting the replacement candidate based at least in part on a determination that a part of speech of the replacement candidate matches the statistically expected part of speech of the word;
- and
- provide the selected replacement candidate to the user as a suggested correction.
A non-transitory computer readable storage medium storing one or more programs for execution by an electronic device, the one or more programs comprising instructions for automatically correcting or completing text, including:
- receiving entered text from a user and context data indicating a context in which the entered text is used, wherein the entered text is a word;
- determining without user intervention, based on the word and the context data, a replacement candidate to replace the word, the determining including:
- using the context data to assign to the replacement candidate a score indicating a degree of confidence that the replacement candidate should be suggested;
- determining a statistically expected part of speech of the word;
- and
- selecting the replacement candidate based at least in part on a determination that a part of speech of the replacement candidate matches the statistically expected part of speech of the word;
- and
- providing the selected replacement candidate to the user as a suggested correction.
The non-transitory computer readable storage medium of claim the one or more programs further comprising instructions for providing the selected replacement candidate to the user as a selectable suggested correction.
Dependencies are inferred from the claim text.