https://github.com/xiaobeicn/text-similarity-php
Calculate Text Similarity by Cosine Theorem + Segmentation PHP Version
https://github.com/xiaobeicn/text-similarity-php
php similarity
Last synced: 3 months ago
JSON representation
Calculate Text Similarity by Cosine Theorem + Segmentation PHP Version
- Host: GitHub
- URL: https://github.com/xiaobeicn/text-similarity-php
- Owner: xiaobeicn
- License: mit
- Created: 2014-12-19T09:43:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T01:27:11.000Z (almost 7 years ago)
- Last Synced: 2025-04-06T16:12:10.184Z (6 months ago)
- Topics: php, similarity
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 108
- Watchers: 10
- Forks: 54
- 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();```