You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (JIRA)" <ji...@apache.org> on 2017/04/05 09:59:42 UTC
[jira] [Commented] (LANG-1318) Jaro Winkler implementation
introduced in 3.5 is not correct
[ 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)