Patent ID: 7149970

Claim:
A method for correcting text input into a text document, comprising the steps of: receiving a text selection input into the text document from at least one source comprising one of the following: stochastic and non-stochastic, the text selection comprising two or more text components; receiving a selection of an erroneous text component from the two or more text components of the text selection; receiving a command to display a list of alternatives to the erroneous text component; in response to receiving the command to display the list of alternatives to the erroneous text component, submitting the erroneous text component to a correction scope model to determine if a scope of correction should be adjusted, wherein the correction scope model uses at least a natural language model and an input methods model in determining the scope of correction; if the correction scope model determines the scope of correction should be adjusted, then receiving from the correction scope model a text unit that includes the erroneous text component and at least one text component from the text selection adjacent the erroneous text component; displaying a list of alternatives to the text unit via a user interface opened directly into the text document; after displaying the list of alternatives to the text unit, automatically displaying, directly in the text document, a suggested alternative to the text unit from the list of alternatives to the text unit; determining if the displayed suggested alternative to the text unit is an acceptable alternative to the text unit; if the displayed suggested alternative to the text unit is not the acceptable alternative to the text unit, receiving an edit in the text document, the edit comprising a partial entry of the acceptable alternative to the text unit; filtering the list of alternatives in response to the edit to remove alternatives not associated with the partial entry; in response to filtering the list of alternatives, displaying a revised list of alternatives containing alternatives associated with the partial entry; if the revised list of alternatives includes the acceptable alternative to the text unit, selecting the acceptable alternative to the text unit from the revised list; replacing, directly into the text document, the text unit with the selected acceptable alternative; and closing the user interface.