Loosely matching rhymes for combinatorial analysis