The python and C implementation of jaro_winkler give slightly different results. To the best of my knowledge, the C implementation is correct. This has been pointed out in an issue in the textdistance package. A fix is also provided by the maintainer of the textdistance package in this PR.
import jellyfish
from jellyfish import _jellyfish
l = "Sint-Pietersplein 6, 9000 Gent"
r = "Test 10, 1010 Brussel"
jellyfish.jaro_distance(l, r)
>>> 0.5182539682539683
_jellyfish.jaro_distance(l, r)
>>> 0.5043650793650793
The python and C implementation of
jaro_winkler
give slightly different results. To the best of my knowledge, the C implementation is correct. This has been pointed out in an issue in the textdistance package. A fix is also provided by the maintainer of the textdistance package in this PR.