Repository Details
Shared by
HelloGitHub Rating
0 ratings
Free•MIT
Claim
Discuss
Collect
Share
3.4k
Stars
No
Chinese
Python
Language
Yes
Active
14
Contributors
9
Issues
Yes
Organization
4.6.2
Latest
250
Forks
MIT
License
More
计算文本距离的常用算法库。包含计算文本相似度、多样性、编辑距离、压缩等多种算法,所有算法均采用 Python 实现,容易理解调用方便
```python
import textdistance
textdistance.hamming.normalized_similarity('test', 'text')
# 相似度为 0.75
```
Comments
Rating:
No comments yet