安装
pip install pyjarowinkler
示例
from pyjarowinkler import distance
# Scaling is 0.1 by default
print distance.get_jaro_distance("hello", "halo", winkler=True, scaling=0.1)
print distance.get_jaro_distance("hello", "halo", winkler=False, scaling=0.1)