Skip to content

Get reviews of products based on tweets using state-of-the-art models. Transformers assist in determining the overall sentiment of the product and return realtime reviews.

Notifications You must be signed in to change notification settings

swetha4444/TwitterAnalysis-Product-Review

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 

Repository files navigation

Product Review

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.

Classification of Reviews

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.

Useful Insights

In addition to the review classification, we have also added functionalities such as

  1. Word Cloud to determmine the most important features that have been stressed on by consumers.
  2. Piechart which show the sentiment distribution
  3. Tweets from all over the world translated to Engilsh for ease
  4. Map depicting distribution of users of the product
  5. Stats on the Top twitter usage Platforms

Installation

To run the flask app in a windows environment

  1. Install python 3.8
  2. Run pip install virtualenv
  3. Run mkdir project to create project directory
  4. Run cd project to move to the project directory
  5. Run virtualenv venv to create a virtual environment
  6. Run .\Scripts\activate to activate the virtual environment
  7. Install the required dependencies
  8. Copy the contents of the Flask app folder to your virtual environment and use command python app.py to run the app.

Output

op.mp4

About

Get reviews of products based on tweets using state-of-the-art models. Transformers assist in determining the overall sentiment of the product and return realtime reviews.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 88.4%
  • HTML 7.6%
  • Python 2.4%
  • JavaScript 1.6%