You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Christopher Stoneley (JIRA)" <ji...@apache.org> on 2017/07/03 10:58:00 UTC

[jira] [Created] (COMMONSRDF-61) Incorrect test data provided in JaroWinklerDistance algorithm project

Christopher Stoneley created COMMONSRDF-61:
----------------------------------------------

             Summary: Incorrect test data provided in JaroWinklerDistance algorithm project
                 Key: COMMONSRDF-61
                 URL: https://issues.apache.org/jira/browse/COMMONSRDF-61
             Project: Apache Commons RDF
          Issue Type: Improvement
          Components: api
            Reporter: Christopher Stoneley
            Priority: Minor


Imported from org.apache.commons.text.similarity.SimilarityScore;

Test data provided from the following URL has been proven to be incorrect:

https://commons.apache.org/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/JaroWinklerDistance.java.html

Line 69 displays the returned value 0.95 from calling the function: distance.apply("D N H Enterprises Inc", "D &amp; H Enterprises, Inc.") = 0.95.

After testing this data extensively across multiple languages the resulting data from this function should result in 0.85. 

The rest of the test data has been proven to be correct.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)