I am trying to use the Jaro-Winkler similarity distance to see if two strings are similar. I tried using both the libraries to compare the words carol and elephant. The results are not similar:
import jellyfish
jellyfish.jaro_winkler('Carol','elephant')
returns 0.4416666, while
from pyjarowinkler import distance
distance.get_jaro_distance('Carol','elephant')
returns 0.0 which makes more sense to me.
Is there a bug between the two libraries?