GithubHelp home page GithubHelp logo

ads_tweetapp's Introduction

Analyze Twitter Data for Sentiment Analysis

Flask web app for Twitter data analysis of Taco Bell food chain tweets

Code Documents

data/

  • W2V.pkl : The Word2Vec model, saved in full, for access in the wordcloud function.
  • sent_df and tokens JSON files save the work done in the preproc.ipynb notebook, for easier access to the processed data.
  • tweets.db : The sqlite database that stored the accumulating tweets run by the getTweets.py script.

twitapp/

  • This is the main Flask app directory.
  • The db.py script defines the SQLite database.
  • mkclouds.py is a script that generates the wordcloud images from the similar words as found by the word2Vec model.
  • word_vectors.kv is the stored KeyedVectors from the Word2Vec model.
  • HTML models are in the templates directory.

Root level

  • Procfile is a simple script to allow deployment to Heroku.
  • getTweets.py is the Python script used to cull tweets via the Twitter API v 2.x.
  • The preproc Jupyter notebook is a place for experimentation and general pre-processing of data with Pandas. The Word2Vec modeling and WordCloud functions were developed here.
  • The requirements.txt is for deployment, and lists the installed packages in the pip virtual environment.
  • tweetTasks.ipynb is the initial work on developing the getTweets script and other code development for processing the data.
  • twitDBTest.py was written to test whether the ongoing crontab job was successful, and how many tweets were appended to the database.

ads_tweetapp's People

Contributors

benlpvt avatar

Watchers

 avatar

ads_tweetapp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.