Clean
Read the headerless tab-separated dataset correctly. Normalize message keys and deduplicate before splitting.
Try a text classifier and inspect the words that influence its score. Built from short-message data with reproducible preprocessing and an honest evaluation.
Try an example or type a short message. Text is processed locally and is not sent to a server.
Orange words move the score toward spam; green words move it toward ham. “Not flagged” does not establish safety.
Dataset facts, evaluation conditions and limitations are part of the project.
Read the headerless tab-separated dataset correctly. Normalize message keys and deduplicate before splitting.
Fit TF–IDF with English stopwords on the training data only, then train Multinomial Naive Bayes.
The browser reconstructs TF–IDF and NB scores. Token contributions describe model behavior; they are not proof that a message is harmful.
The file contains labelled SMS messages. The original repository name says email, but email-specific performance has not been evaluated.
No. A classifier can miss spam and cannot verify links, senders or attachments. Unknown vocabulary is explicitly identified instead of presented as a reliable verdict.
Messages are lowercased and trimmed for duplicate detection before a stratified 80/20 split. Near-duplicates may remain. Evaluation covers this dataset, not modern or multilingual messaging.