Skip to content

namansinghal111/Restaurant-Review-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍽️ Restaurant Review Analysis

🚀 A Machine Learning project that analyzes restaurant reviews and predicts sentiment (Positive/Negative) using NLP techniques.


🧠 Project Overview

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

⚙️ Tech Stack

  • 🐍 Python
  • 📊 Pandas
  • 🤖 Scikit-learn
  • 🧠 NLTK
  • 🪄 NLP (Text Cleaning, Tokenization, Stemming)
  • 🎯 Machine Learning (Naive Bayes)

🔥 Features

  • ✅ Text preprocessing (stopwords removal, stemming)
  • ✅ Sentiment classification using ML model
  • ✅ GUI support using Tkinter
  • ✅ Train & test on custom datasets

📁 Project Structure


├── Review.py                # Main application
├── Restaurant_Reviews.txt  # Training dataset
├── test_data_reviews.txt   # Test dataset
├── Untitled.ipynb          # Experimentation (Jupyter)
├── README.md


🚀 How to Run

1️⃣ Install dependencies


pip install pandas scikit-learn nltk

2️⃣ Run the application


python Review.py


📊 Model Details

  • Algorithm: Multinomial Naive Bayes
  • Feature Extraction: CountVectorizer
  • NLP Techniques:
    • Tokenization
    • Stopword Removal
    • Stemming

📸 Output

👉 Predicts whether a review is Positive 👍 or Negative 👎


🌟 Future Improvements

  • 🔹 Add Deep Learning (LSTM / BERT)
  • 🔹 Deploy as Web App
  • 🔹 Improve accuracy with larger datasets

About

A Machine Learning project that analyzes restaurant reviews and predicts sentiment (Positive/Negative) using NLP techniques.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors