add string similarity measure