The goal of this project is to analyze customer reviews to determine their sentiment—positive, negative, or neutral—based on the text content of the reviews and associated metadata. This analysis helps to understand customer feedback, identify product strengths and weaknesses, and improve the overall customer experience by providing actionable insights.
If you find this project useful, please consider giving it a star ⭐ on GitHub. Contributions are also welcome!
- Python
- Streamlit
- Scikit-learn
- NLTK
- Pandas
- NumPy
- Matplotlib
- Seaborn
To set up the project, follow these steps:
# Clone the repository
git clone https://github.com/yourusername/Product-Review-Sentiment-Analysis.git
# Navigate into the project directory
cd Product-Review-Sentiment-Analysis
# Create a virtual environment
python -m venv Product_Review_Analysis
# Activate the virtual environment
# On Windows
Product_Review_Analysis\Scripts\activate
# On macOS/Linux
source Product_Review_Analysis/bin/activate
# Install dependencies
pip install -r requirements.txt
After setting up the project, you can run the Streamlit app with the following command:
streamlit run app.py
This will launch the application in your web browser, where you can input reviews and visualise sentiment analysis results.
- Sentiment classification of reviews (positive, negative, neutral)
- Visualisation of sentiment distribution across different product categories
- Real-time sentiment prediction for user-input reviews
- Interactive dashboard for exploring customer feedback
Contributions are welcome! Please read the contributing guidelines for details on how to contribute.
- Fork the repository.
- Create a new feature branch (git checkout -b feature-name).
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature-name).
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or feedback please contact me at https://nafisalawalidris.github.io/13/.