do_ocr_replacement: Replace a string with its ocr error.
Description
do_ocr_replacement
replace a string with its ocr error.
Usage
do_ocr_replacement(s, where, orgpat, newpat)
Arguments
where
A string. The location of the pat, it can be one of: 'ALL','START','END','MIDDLE'.
orgpat
A string. The original pat.
Value
It returns a new pat.