https://github.com/xiaobeicn/text-similarity-php
通过余弦定理+分词计算文本相似度PHP版
https://github.com/xiaobeicn/text-similarity-php
php similarity
Last synced: 6 months ago
JSON representation
通过余弦定理+分词计算文本相似度PHP版
- Host: GitHub
- URL: https://github.com/xiaobeicn/text-similarity-php
- Owner: xiaobeicn
- License: mit
- Created: 2014-12-19T09:43:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T01:27:11.000Z (over 6 years ago)
- Last Synced: 2023-02-27T03:50:52.459Z (about 2 years ago)
- Topics: php, similarity
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 97
- Watchers: 10
- Forks: 53
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 通过余弦定理+分词计算文本相似度PHP版
---
### 参考:
* http://www.ruanyifeng.com/blog/2013/03/cosine_similarity.html
* http://my.oschina.net/BreathL/blog/42477
### Use:```php
run();```