Patent ID: 8626486

Claim:
A method, comprising: receiving a text input for translation, the text input comprising words in a source language; calculating a first probability score for the text input, the first probability score indicating a likelihood that the text input is correct; identifying one or more words in the text input as suspect words, each suspect word representing a potential error in the text input; for each suspect word, identifying one or more candidate words, each candidate word corresponding to a specific suspect word and representing a potential word intended in the text input instead of the specific corresponding suspect word; determining, using one or more computing devices, a second probability score for each of the one or more candidate words, the second probability score for each specific candidate word representing a likelihood that the text input is correct when the specific corresponding suspect word is replaced by the specific candidate word; determining whether any of the second probability scores are greater than the first probability score by at least a predefined threshold that is greater than zero; when none of the second probability scores exceed the first probability score by greater than the score threshold: translating the text input to a target language to obtain a first translated text, and outputting the first translated text; and when one or more of the second probability scores exceeds the first probability score by greater than the score threshold: inserting the candidate word having a highest second probability score in place of the specific corresponding suspect word in the input text to obtain a modified text, translating the modified text to the target language to obtain a second translated text, and outputting the second translated text.