Loosely matching rhymes for text recognition