Social Media Spam Detection Using NLP in Machine Learning

Many people use social media daily to talk with friends, share their opinions, and stay updated. But one common problem is the presence of spam messages. These messages often bother users and sometimes give false or harmful information. This project helps find and stop spam using Natural Language Processing (NLP) and a method called the Naive Bayes algorithm. It uses a set of social media posts that are already marked as spam or not. The text is first cleaned by breaking it into words, removing useless words, and reducing words to their base form. Then, a method called TF-IDF changes the text into numbers so the computer can understand it better. Once the data is ready, we apply the Naive Bayes method to check whether a message is spam. To see how well the system works, we look at how often it gives correct results and where it makes mistakes. We check this using accuracy and a few other basic methods. Overall, this method works well and can identify spam messages in most situations. Such a system is valuable for social media platforms, as it helps prevent spam from spreading and affecting more users.

Authors

Publication Details

Journal
International Journal for Research in Applied Science and Engineering Technology
Published
2025-04-24
DOI
https://doi.org/10.22214/ijraset.2025.69317
Citations
1
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
3.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Social Media Spam Detection Using NLP in Machine Learning

P. Sharveshvar
1 citations
International Journal for Research in Applied Science and Engineering Technology
Spam and Phishing Detection
3.25
article

Social Media Spam Detection Using NLP in Machine Learning

P. Sharveshvar
article en
1 citations

Abstract

Many people use social media daily to talk with friends, share their opinions, and stay updated. But one common problem is the presence of spam messages. These messages often bother users and sometimes give false or harmful information. This project helps find and stop spam using Natural Language Processing (NLP) and a method called the Naive Bayes algorithm. It uses a set of social media posts that are already marked as spam or not. The text is first cleaned by breaking it into words, removing useless words, and reducing words to their base form. Then, a method called TF-IDF changes the text into numbers so the computer can understand it better. Once the data is ready, we apply the Naive Bayes method to check whether a message is spam. To see how well the system works, we look at how often it gives correct results and where it makes mistakes. We check this using accuracy and a few other basic methods. Overall, this method works well and can identify spam messages in most situations. Such a system is valuable for social media platforms, as it helps prevent spam from spreading and affecting more users.

International Journal for Research in Applied Science and Engineering TechnologyVol. 13(4)
Openalex Percentile: Top 10%
Spam and Phishing Detection
3.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Social Media Spam Detection Using NLP in Machine Learning — P. Sharveshvar · International Journal for Research in Applied Science and Engineering Technology (2025) | TGRS Research Map | TGRS