Skip to content

Sentiment analysis involves determining the sentiment expressed in a piece of text, classifying it as positive, negative, or neutral. In this project, it helps classify restaurant reviews to better understand customer feedback, providing insights into customer satisfaction and areas for improvement.

Notifications You must be signed in to change notification settings

mehulnaik16/restaurent-review-2.0

Repository files navigation

Streamlit Text Classification App

This Streamlit app is a text classification tool that uses Natural Language Processing (NLP) techniques and a Naive Bayes classifier to categorize text data.

Features

  • Text preprocessing including tokenization, stemming, and stop word removal.
  • Vectorization using CountVectorizer.
  • Model training and prediction using Multinomial Naive Bayes.
  • User-friendly interface to input text and see classification results.

Installation

To run this app, you need to have Python installed. You can install the required packages using pip and the provided requirements.txt file:

Streamlit Text Classification App

This Streamlit app is a text classification tool that uses Natural Language Processing (NLP) techniques and a Naive Bayes classifier to categorize text data.

Features

  • Text preprocessing including tokenization, stemming, and stop word removal.
  • Vectorization using CountVectorizer.
  • Model training and prediction using Multinomial Naive Bayes.
  • User-friendly interface to input text and see classification results.

Installation

To run this app, you need to have Python installed. You can install the required packages using pip and the provided requirements.txt file:

pip install -r requirements.txt

Usage

  1. Clone this repository:
git clone https://github.com/mehulnaik16/restaurent-review-2.0.git
cd restaurent-review-2.0
  1. Install the required packages:
pip install -r requirements.txt
  1. Run the Streamlit app:
streamlit run app.py

About

Sentiment analysis involves determining the sentiment expressed in a piece of text, classifying it as positive, negative, or neutral. In this project, it helps classify restaurant reviews to better understand customer feedback, providing insights into customer satisfaction and areas for improvement.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages