Home > Article > Backend Development > Recommendation algorithm - Is there any php library with stemming function?
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?
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