powered by
do_ocr_replacement replace a string with its typo error.
do_ocr_replacement
do_typo_replacement(s)
A string.
It returns a new pat.