Intel Review Analyzer
Overview
Intel Review Analyzer is a powerful tool designed to help businesses understand customer sentiments through automated analysis of reviews. This project leverages state-of-the-art NLP techniques to classify reviews, highlight key sentiments, generate word clouds, and visualize trends over time. It works for both amazon and flipkart.
Features
-
Automated Sentiment Analysis: Utilizes the BERT model to classify reviews into positive, neutral, or negative categories. Additionally, it highlights the positive and negative parts of each review and provides improvement suggestions based on negative feedback.
-
Word Cloud Generation: Creates a visual representation of the most frequently mentioned words in the reviews, helping users quickly identify common themes and topics.
-
Past Trends Visualization: Graphical representation of review sentiments over different periods, allowing businesses to track changes in customer perception over time.
-
CSV Upload: Users can easily upload a CSV file containing reviews, enabling batch processing and analysis of large datasets.
-
Downloadable Reports: Analyzed data can be downloaded in JSON format, providing users with detailed reports for further analysis and record-keeping.
Technologies Used
Frontend
Backend
- Flask
- Python
- BERT (Hugging Face Transformers)
Data Handling
Visualization
Training the Model
- PyTorch
- Transformers
- TensorFlow
Installation
-
Clone the repository:
git clone https://github.com/Kanishk3813/Intel_Sentiment_Analysis.git
-
Backend Setup:
-
Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required Python packages:
pip install -r py_requirements.txt
-
Download the BERT model:
-
Create a .env file in the backend
folder with the following content:
SCRAPER_API_KEY='ccceef77d6a524862c0c12aa202ff659'
-
Frontend Setup:
- Navigate to the root directory and install the necessary packages:
npm install
Usage
Running Locally
-
Start the application:
npm start
Demo
Future Enhancements
-
Enhanced Sentiment Analysis: Support for multi-language and emotion detection.
-
Real-Time Analysis: Real-time review fetching and sentiment tracking.
-
User Feedback Integration: Feedback loop for improved accuracy.
-
Advanced Visualization Tools: Interactive and dynamic visualizations.
-
Social Media Integration: Track sentiments from social media platforms.
-
Aspect-Based Sentiment Analysis: Detailed aspect-based sentiment reports.
-
Predictive Analysis: Predict future trends based on historical data.
Contributing
Contributions are welcome!