推荐算法 - 有没有词干提取功能的php库?

WBOY
Release: 2016-07-06 13:53:57
Original
1554 people have browsed it

python的nltk很好用。

但php有没有相应的库?

推荐算法中,分类特征词都是词干;

网站是php写的,作为冷启动,要把用户输入的特征词进行词干提取,才能和分类特征词进行比对。

或者还有什么别的方法?

回复内容:

python的nltk很好用。

但php有没有相应的库?

推荐算法中,分类特征词都是词干;

网站是php写的,作为冷启动,要把用户输入的特征词进行词干提取,才能和分类特征词进行比对。

或者还有什么别的方法?

NlpTools不知道适不适合你?

直接调用网上免费的中文分词API也可以啊
具体参考https://www.zhihu.com/question/35814484/answer/64993351

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!