1. A computer implemented method for processing an output of an optical character recognizer (OCR), the computer implemented method comprising: receiving an OCR-converted character sequence from the OCR; and converting a set of OCR-converted characters of the OCR-converted character sequence to a corresponding corrected set of characters to generate a corrected character sequence based on: a probability of replacing an OCR-converted character of the set of OCR-converted characters with one or more target characters to form one or more characters of the corrected set of characters, and language scores generated by a language model.