This project aims to analyze customer reviews using various Natural Language Processing (NLP) techniques. The system utilizes Vader's Sentiment Analysis, Support Vector Classifier, and Multinomial Naive Bayes algorithms to classify and understand the sentiment expressed in the reviews. Additionally, the project includes a frontend and backend developed using Flask, a Python web framework.
- 📁
static/: CSS for the html pages. - 📁
templates/: HTML pages for the frontend. - 📄
app.py/: Contains the flask code for backend. - 📄
Reviews.ipynb/: Notebook containing the algorithms and graphs for various models. - 📄
Reviews.py/: Contains OOPs concepts involved in our project. - 📄
AD.csv/: Dataset for our project. - 📄
AD_cleaned.csv/: Dataset after tokenization and lemmatization. - 📄
sentiment_analysis_results.csv/: Dataset with results.
To get started with SoulHouse, follow these steps:
-
Clone the repository: git clone https://github.com/JainSneha6/CustomerReviewAnalysis.git
-
Navigate to the project directory: cd CustomerReviewAnalysis
-
Create a virtual environment:
- python3 -m venv venv
-
Activate the virtual environment:
- On Windows: venv\Scripts\activate
- On macOS and Linux: source venv/bin/activate
-
Install dependencies:
- Flask
- nltk
- scikit-learn
- vaderSentiment
- pandas
- numpy
- matplotlib
-
Run the backend server (runs on port 5000 by default):
- python app.py
-
Open your web browser
Contributions to this project are welcome! If you have suggestions for improvements or would like to contribute new features or analyses, feel free to submit a pull request
For any questions or feedback, feel free to reach out:
- Sneha Jain - GitHub | LinkedIn
- Siddhartha Chakrabarty - GitHub | LinkedIn
- Project Repository
Uncover insights in customer reviews effortlessly! 📊

