5. 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 isolated character string to a character class to produce a character class string; and based at least in part on a pattern identified for the character class string, identifying the isolated character string as being the text entity, wherein the isolated character string is identified as the text entity in response to determining a matching score above a threshold for the isolated character string, the matching score being based at least in part on a number of edits made to the character class string, and wherein determining the matching store comprises assigning costs to edits made to the character class string, wherein a cost associated with mistaking characters that are similar in appearance is small and the cost associated with mistaking characters that are relatively different in appearance is greater than a threshold value.
9. The computer-implemented method of claim 5 , further comprising: autocorrecting a character in the character string to a character of a character class associated with the text entity in response to identifying the character belonging to a character class not associated with the text entity type.