commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1318) Jaro Winkler implementation introduced in 3.5 is not correct
Date Wed, 05 Apr 2017 09:59:42 GMT

    [ https://issues.apache.org/jira/browse/LANG-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956610#comment-15956610
] 

Bruno P. Kinoshita commented on LANG-1318:
------------------------------------------

Jaro Winkler and other edit distances have been deprecated in Commons Lang in favour of Commons
Text component: https://github.com/apache/commons-lang/blob/master/src/main/java/org/apache/commons/lang3/StringUtils.java#L8212

> Jaro Winkler implementation introduced in 3.5 is not correct
> ------------------------------------------------------------
>
>                 Key: LANG-1318
>                 URL: https://issues.apache.org/jira/browse/LANG-1318
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: Luc Boutier
>            Assignee: Bruno P. Kinoshita
>
> Using 3.5 commons-lang the following call return a distance of 1
> StringUtils.getJaroWinklerDistance(“/opt/software1”,  “/opt/software2”)
> Jaro Winkler says that distance of 1 means equal string which is not the case here.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message