Uploaded image for project: 'Apache Commons RDF'
  1. Apache Commons RDF
  2. COMMONSRDF-61

Incorrect test data provided in JaroWinklerDistance algorithm project

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • api

    Description

      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 & 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            CJStoneley Christopher Stoneley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified