🚀 A Machine Learning project that analyzes restaurant reviews and predicts sentiment (Positive/Negative) using NLP techniques.
This project processes customer reviews and applies Natural Language Processing (NLP) and Machine Learning to classify sentiments.
🔍 Helps businesses understand:
- Customer satisfaction
- Common complaints
- Overall sentiment trends
- 🐍 Python
- 📊 Pandas
- 🤖 Scikit-learn
- 🧠 NLTK
- 🪄 NLP (Text Cleaning, Tokenization, Stemming)
- 🎯 Machine Learning (Naive Bayes)
- ✅ Text preprocessing (stopwords removal, stemming)
- ✅ Sentiment classification using ML model
- ✅ GUI support using Tkinter
- ✅ Train & test on custom datasets
├── Review.py # Main application
├── Restaurant_Reviews.txt # Training dataset
├── test_data_reviews.txt # Test dataset
├── Untitled.ipynb # Experimentation (Jupyter)
├── README.md
pip install pandas scikit-learn nltk
python Review.py
- Algorithm: Multinomial Naive Bayes
- Feature Extraction: CountVectorizer
- NLP Techniques:
- Tokenization
- Stopword Removal
- Stemming
👉 Predicts whether a review is Positive 👍 or Negative 👎
- 🔹 Add Deep Learning (LSTM / BERT)
- 🔹 Deploy as Web App
- 🔹 Improve accuracy with larger datasets