Loosely matching rhymes for molecular spectrum