Home > Backend Development > PHP Tutorial > Recommendation algorithm - Is there any php library with stemming function?

Recommendation algorithm - Is there any php library with stemming function?

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

Python’s nltk is very useful.

But does PHP have a corresponding library?

In the recommendation algorithm, classification feature words are all stems;

The website is written in PHP. As a cold start, the feature words input by the user must be stemmed before they can be compared with the classification feature words.

Or is there any other method?

Reply content:

Python’s nltk is very useful.

But does PHP have a corresponding library?

In the recommendation algorithm, classification feature words are all stems;

The website is written in PHP. As a cold start, the feature words input by the user must be stemmed before they can be compared with the classification feature words.

Or is there any other method?

Not sure if NlpTools is suitable for you?

You can also directly call the free Chinese word segmentation API on the Internet
For details, please refer to 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