Repository Details
Shared by
HelloGitHub Rating
0 ratings
计算文本距离的常用算法 Python 库
Past 7 days Received 0 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 3,546 | — |
| 周三 | 3,546 | 0 |
| 周四 | 3,546 | 0 |
| 周五 | 3,546 | 0 |
| 周六 | 3,546 | 0 |
| 周日 | 3,546 | 0 |
| 周一 | 3,546 | 0 |
3.5k
Stars
No
Chinese
Python
Language
No
Active
18
Contributors
19
Issues
Yes
Organization
None
Latest
267
Forks
MIT
License

计算文本距离的常用算法库。包含计算文本相似度、多样性、编辑距离、压缩等多种算法,所有算法均采用 Python 实现,容易理解调用方便
```python
import textdistance
textdistance.hamming.normalized_similarity('test', 'text')
# 相似度为 0.75
```
Comments
Rating:
No comments yet