Spam Word Analysis in text

4 次查看(过去 30 天)
Arthur Panin
Arthur Panin 2021-3-19
We need to analyze the text and select the words Spam from it.
File 1 has text, file 2 has spam words.
There is a search for words and outputs all of them to the console.
I was thinking of making K-means.

回答(1 个)

Shashank Gupta
Shashank Gupta 2021-3-22
Hi Arthur,
Kmeans is also a good option. But I believe Naive Bayes filter will work better. Check out this function. You can also try SVM classifier.
I hope this helps you.
Cheers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by