Skip to content

Difference in PartialScore between Java and Python Implementations #102

@dreddy415

Description

@dreddy415

Hi,

I noticed when testing the values outputted from the Java implementation that given:
s1 = "haeagen dazs"
s2 = "liverpool altabrisa"
The Java implementation for PartialScore outputs 25, while the python implementation (fuzz.partial_ratio(s1,s2)) outputs 29. Wanted to report this discrepancy, and was wondering if anyone knew the cause of it (maybe rounding issues?)?

Thank you!
Screen Shot 2023-01-11 at 4 58 11 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions