Loosely matching rhymes for pattern recognition