add ranking with Damerau-Levenshtein