MATLAB Answers

Spam Word Analysis in text

1 view (last 30 days)
Arthur Panin
Arthur Panin on 19 Mar 2021
Answered: Shashank Gupta on 22 Mar 2021
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.

Answers (1)

Shashank Gupta
Shashank Gupta on 22 Mar 2021
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!