distance measures, synonym parsing