Skip to content

A Deep Learning Model based web tool to analyze people's sentiment over any topic via tweets in twitter

License

Notifications You must be signed in to change notification settings

arunpandian7/Sentiment-Analysis

Repository files navigation

Sentiment-Analysis

Sentiment Analysis is a tool to monitor people or consumer sentiment over any matter of idea or product. It uses Natural Language Processing and Deep Learning model to classify and segment into difference sentiments.

Deep Learning Model

Sentiment Analysis based on a deep learning based algorithm which classifies any given text into different sentiments (Positive or Negative). You can look into this notebook. This model is based on LSTM based Neural Network Architecture.

Dependency Bucket

  • Tensorflow - Deep Learning Framework
  • Keras - High Level Neural Networks Layers API
  • scikit-learn - Preprocessing Utilities
  • Pandas - Advance Data Structure Library
  • Numpy - Matrix Manipulations
  • NLTK - Natural Language Toolkit
  • Re - Regular Expression Handler
  • Matplotlib - Visualization library
  • Pickle - Implements binary protocols for serialization of objects

I would recommend you to see my well descriptive notebook which walk through the entire process in Kaggle.

Sentiment Analyst - The Web App

Sentiment Analyst is a web app that uses Sentiment Inference Model which is created before with API Server. It pulls the tweets from Twitter Search using Twitter API and analyzes every tweets and labels each tweet with a sentiment and calculate the percentage distribution of sentiments over the twitter. It is built using Django on the backend which serves the model as a API along with React JS Framework on the frontend which provides dynamic web components. The frontend UI uses Material UI Framework for the theming and UI elements. Sentiment Analyst Web App

Dependency Bucket

  • django - Python based Framework for Backend (Server)
  • django RESTframework - REST API for serving model
  • tensorflow - Deep Learning Framework
  • tweepy - Twitter API Library for Python
  • Requests - Handles REST Requests
  • H5Py - handles .h5 and .hdf5 model files
  • Jsonify - converts python objects into JSON format
  • ReactJS- Frontend Development Framework
  • MaterialUI- UI Components for React based on Material Design
  • Axios - REST handler for ReactJS
  • Apex Chart - Charts Library for React

Instructions

If you want to run this app in your system locally, you can follow this instruction,

  1. Clone the repository using git clone and open the terminal inside the repository directory in your system
  2. Install all the requirements using pip install -r requirements.txt and Python Package Manager will download all dependencies for you.
  3. Run the app using python manage.py runserver and enjoy the magic.

Acknowledgements

A lot of resources and people in internet who enables me to learn these things and create this app. I owe them a acknowledgment and reference.

If I have seen further than others, it is by standing upon the shoulders of giants.

Isaac Newton

About

A Deep Learning Model based web tool to analyze people's sentiment over any topic via tweets in twitter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published