commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Stoneley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COMMONSRDF-61) Incorrect test data provided in JaroWinklerDistance algorithm project
Date Mon, 03 Jul 2017 10:58:00 GMT
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)

Mime
View raw message