Hi Gary, we had a discussion about this some time ago, where I proposed to create a new class (let's call it StringMetrics) and move Levenshtein and Jaro Winkler to it. We decided not to do this in 3.x, since SU already has 180+ methods which will have to be split up in the next major release.
Benedikt 2014-05-02 13:00 GMT+02:00 Gary Gregory <garydgreg...@gmail.com>: > Do we really want this in SU or should it live in its own class? > > Gary > > <div>-------- Original message --------</div><div>From: Benedikt Ritter < > brit...@apache.org> </div><div>Date:05/02/2014 04:15 (GMT-05:00) > </div><div>To: Commons Developers List <dev@commons.apache.org> > </div><div>Subject: Re: [LANG] Algorithm for fuzzy string matching > </div><div> > </div>Since nobody had objections against adding this, I'll apply this > patch. > > Benedikt > > > 2014-04-28 17:47 GMT+02:00 Benedikt Ritter <brit...@apache.org>: > > > Hi all, > > > > we have a nice PR for StringUtils at github: > > https://github.com/apache/commons-lang/pull/20 > > > > It adds a new string matching algorithm to StringUtils, that calculates a > > score for the similarity between to strings. This kind of fuzzy matching > is > > known from editors like Sublime Text, Text Mate or Atom. > > > > I think this is a very useful features, but as the contributor points > out, > > the is no scientific paper or thesis that provides a reference for the > > implementation. So this is not _the one_ implementation of a fuzzy string > > matching score, like our implementations of the Levenshtein or > Jaro-Winkler > > algorithms. > > > > So before adding this, I'd like to hear how others feel about this > feature. > > > > Regards, > > Benedikt > > > > > > -- > > http://people.apache.org/~britter/ > > http://www.systemoutprintln.de/ > > http://twitter.com/BenediktRitter > > http://github.com/britter > > > > > > -- > http://people.apache.org/~britter/ > http://www.systemoutprintln.de/ > http://twitter.com/BenediktRitter > http://github.com/britter > -- http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter