Hi all, we currently have StringUtils.getLevenshteinDistance. LANG-944 [1] is about introducing a new string algorithm called Jaro Winkler Distance [2]. Since StringUtils already does a lot of things, I'm wondering if it may make sense to introduce a new class that serves as a host for more string algorithms to come. It would look something like:
StringAlgorithms.levenshteinDistance(str1, str2); StringAlgorithms.jaroWinklerDistance(str1, str2); We would deprecate StringUtils.getLevenshteinDistance and delegate to the new class. It could be removed from StringUtils in the next major release. Thoughts? Benedikt [1] https://issues.apache.org/jira/i#browse/LANG-944 [2] http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance -- http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter