https://github.com/anwar-opu/email_or_sms_spam_classifier
https://github.com/anwar-opu/email_or_sms_spam_classifier
nltk pickle python scikit-learn streamlit
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anwar-opu/email_or_sms_spam_classifier
- Owner: anwar-opu
- Created: 2025-04-05T17:01:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-05T18:10:03.000Z (about 1 year ago)
- Last Synced: 2025-06-28T05:34:46.142Z (12 months ago)
- Topics: nltk, pickle, python, scikit-learn, streamlit
- Language: Jupyter Notebook
- Homepage: https://sms-or-email-classifier.streamlit.app/
- Size: 865 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📧 SMS/Email Spam Classifier
A simple Streamlit web app that classifies SMS or Email messages as **Spam** or **Not Spam** using NLP and a machine learning model.
🔗 Live App: [Click Here](https://sms-or-email-classifier.streamlit.app/)
## 📸 Screenshot

## 🚀 How to Run
```bash
pip install -r requirements.txt
streamlit run app.py
```
---
## 📁 Files
```app.py``` – Main app
```model.pkl``` – Trained spam classifier model
```vectorizer.pkl``` – TF-IDF vectorizer
```requirements.txt``` – Dependencies
```sms_Spam_Classifier.ipynb``` - Model training
---
## 💡 Features
- Input any SMS or Email message
- Cleans and preprocesses text using:
- Lowercasing
- Tokenization
- Stopword removal
- Stemming
- Uses TF-IDF vectorization
- Predicts using a trained ML model
---
## 🛠 Tech Stack
- Python
- Streamlit
- Scikit-learn
- NLTK
- Pickle
---