Loosely matching rhymes for optical character recognition