1. A computer-implemented method, comprising: receiving an output from an optical character recognition (OCR) engine; analyzing the output to isolate a character string indicative of a text entity; assigning each character of the character string to a character class to produce a character class string; identifying the character string as being the text entity; identifying a text entity type associated with the text entity; and autocorrecting at least one character in the character string, the at least one character belonging to a character class not associated with the text entity type.