[ 
https://issues.apache.org/jira/browse/LANG-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rekha Joshi updated LANG-944:
-----------------------------

    Attachment: LANG-944.3.patch

Thanks Benedikt! 
Updated patch for your comments.Only a slight demarcation on point 2, as for 
similarity use cases it is helpful to ascertain if strings match above a 
certain threshold or not, hence the signature.HTW!
boolean getJaroWinklerDistance(CharSequence, CharSequence, double) 

PS: sent the mail to secretary for icla.

> Add the Jaro-Winkler string distance algorithm to StringUtils 
> --------------------------------------------------------------
>
>                 Key: LANG-944
>                 URL: https://issues.apache.org/jira/browse/LANG-944
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Rekha Joshi
>             Fix For: 3.3, Review Patch, Discussion
>
>         Attachments: LANG-944.1.patch, LANG-944.2.patch, LANG-944.3.patch
>
>
> Add SimilarityMatch algorithm to evaluate a similarity matching ratio between 
> two strings.
> double matchscore = StringUtils.calculateSimilarityMatching(String s1, String 
> s2)
> I have a patch ready with implementation of similaritymatch.
> This happens to be a usual need in science algorithm and directly using 
> commons lang3 library for these string operation would be neat.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to