Levenshtein matching for unit names