项目:FuzzyWuzzy
作者:seatgeek
GitHub:https://github.com/seatgeek/fuzzywuzzy
简介:这是一个简单易用的模糊字符串匹配工具包,采用 Levenshtein Distance 算法来计算两个序列之间的差异,使用起来非常简单。
环境依赖:
Python 2.7 or higher
difflib
python-Levenshtein (optional, provides a 4-10x speedup in String Matching, though may result in differing results for certain cases)
支持的测试三方库:
pycodestyle
hypothesis
pytest
安装方法:
通过
PyPI
安装
1pip install fuzzywuzzy
2
3# or the following to install python-Levenshtein