Skip to content

LorenRd/Twitter-Sentiment-Analysis

Repository files navigation

Twitter Sentiment Analysis APP

This is a personal project for getting started with NLP.

Twitter Sentiment Analysis

Index

  1. Functionalities
  2. About the project
  3. Frontend Project setup
  4. Backend Project setup

Functionalities

  • Text analysis:

    This functionality allow you to analyse a simple text (like the body of a tweet), when submit the analyser will return a value that represent what your text transmit. It can be possitive, negative or neutral.

    Text analysis

  • Trends analysis:

    Here you can see some tweets from the top trends analysed and colored depending their sentiment.

    Trends analysis

  • Account analysis:

    Introduce a Twitter ID (@account) and the app will analyse the lastest tweets of the account.

    Account analysis

  • Hashtag analysis:

    Introduce a topic (#topic) and the app will analyse the lastest tweets of the toppic.

    Hashtag analysis

About the project

After getting my Tensorflow Developer Certification I wanted to start doing my own projects and decided to create this app after watching this dataset on Kaggle to getting in touch with NLP.

So I trainned a NLP model export it and create a Flask API to serve front end requests.

You can download the .h5 model here.

Frontend Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Backend Project setup

pip install -r requirements.txt

Run Flask API

python application.py

About

NLP for Twitter Sentiment Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published