Loosely matching rhymes for spark quenching