https://github.com/caoyang2002/algorithm
算法收集
https://github.com/caoyang2002/algorithm
Last synced: 5 months ago
JSON representation
算法收集
- Host: GitHub
- URL: https://github.com/caoyang2002/algorithm
- Owner: caoyang2002
- Created: 2024-08-25T15:17:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-13T05:52:36.000Z (12 months ago)
- Last Synced: 2025-01-13T06:28:21.122Z (12 months ago)
- Language: Python
- Size: 1.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# algorithm
[拼写检查算法](./wagner_fischer.py)
[《无主之地:科学》数组删除算法](./remove_hashtag_and_shift.py)
1. 文本相似度匹配算法
```bash
pip install torch # conda install pytorch
pip install -U similarities
```
# 快速启动
```bash
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
deactivate
```