Ever wanted to purchase a product online? Wanted to know how it actually fared? Social media and customer reviews are the best ways to decide the quality of a product. This project intends to help the user determine the reviews of the produdct using state-of-the-art techniques.
Initial approaches involved CNNs and LSTMs, but they were insufficient and didn't perform upto the mark. With that we transitioned to use Transformers, which quitel literally transformed the project. A ribust model was made which classified tweets as positive, neutral and negative.
In addition to the review classification, we have also added functionalities such as
- Word Cloud to determmine the most important features that have been stressed on by consumers.
- Piechart which show the sentiment distribution
- Tweets from all over the world translated to Engilsh for ease
- Map depicting distribution of users of the product
- Stats on the Top twitter usage Platforms
To run the flask app in a windows environment
- Install python 3.8
- Run
pip install virtualenv
- Run
mkdir project
to create project directory - Run
cd project
to move to the project directory - Run
virtualenv venv
to create a virtual environment - Run
.\Scripts\activate
to activate the virtual environment - Install the required dependencies
- Copy the contents of the Flask app folder to your virtual environment and use command
python app.py
to run the app.