Loosely matching rhymes for contour analysis