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

Jan Martin Keil commented on TEXT-104:
--------------------------------------

As {{JaroWinklerDistance::apply}} now returns the inverse value, this is a 
breaking change, which would introduce bugs into depending projects. Therefore, 
regarding to semantic versioning, it should be a major version increment (2.0).

Thank you for resolving the naming mix up.

> Jaro Winkler Distance refers to similarity
> ------------------------------------------
>
>                 Key: TEXT-104
>                 URL: https://issues.apache.org/jira/browse/TEXT-104
>             Project: Commons Text
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Nikos Karagiannakis
>            Assignee: Bruno P. Kinoshita
>            Priority: Trivial
>             Fix For: 1.7
>
>         Attachments: image-2019-02-20-20-32-41-512.png
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> The 'apply' method returns the similarity score instead of the distance score 
> as implied from the class name. 
> It is stated in the javadoc, but it is not aligned with the approach of the 
> rest similarity scores in the same package (e.g LevenshteinDetailedDistance). 
> Maybe a rename of the class or the method to avoid confusion?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to