This project is a Spam Email Classifier built using Machine Learning and Natural Language Processing (NLP).
It can classify emails as Spam or Not Spam based on their content.
- Preprocessing of email text (lowercasing, removing symbols, stopwords, etc.)
- Feature extraction using TF-IDF Vectorizer
- Machine Learning model for classification
- Web interface (
Flaskapp + HTML template) to test with custom inputs - Pre-trained model files (
spam_model.pkl,vectorizer.pkl)
The dataset is too large to store in this repository.
➡️ Download it from Kaggle:
📥 190k Spam-Ham Email Dataset for Classification
After downloading, place it inside the Dataset/ folder:

