avinsit123 / Tweet-o-Pedia

The Wikipedia of Twitter and the Google Equivalent for Sentiment search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tweet-O-Pedia (The Wikipedia for Twitter )

Our Objective

Social Media has become an integrable part of our lives.It is a storehouse of public sentiment and perception.However,a lot of this data lies unused.Tweetopedia,The Wikipedia of Twitter includes some basic functionalities which would let you thoroughly analyse the data on twitter.Some of these are:

  • Generate Tweets Like President Trump.It is an effective way to Trump's opinions on important Topics.Just Enter the Topic as the starting phrase and watch magic unfold.
  • Search for Tweets on Twitter based on your own Search Terms.
  • Find average public sentiment on twitter regarding any topic of Interest.This has wide ranging benefits from allowing you to measure public sentiment towards any event,policy to finding how the Internet likes the product you have launched.
  • Have a look at some of the trending hashtags worldwide.
  • Measure the hate-o-meter to guage hate towards certain groups or topics.Also report to the Authorities any highly offensive tweet that you might find out.
Hope you like it and enjoy it.

In order to optimize the Machine Learning Models that I have used please visit this notebook and follow the instructions given in the readme

I have also included a few goodies for fans of data analysis.Please visit this* README to know more

Running the project on your local system

Installing the requirements

The project is built using Django framework so you must have Python installed on your local system and also preferably Anaconda Distribution.Follow the steps given below to set up the project on your local system

$git clone https://github.com/avinsit123/Tweet-o-Pedia.git
$cd Tweet-o-Pedia 
$pip install -r requirements.txt 

It is a long file and might take some time to install all the dependencies on your local pc.

Setting up the Server

After the above steps are completed follow the steps given below

$mkdir ~/virtualenvironment
$source activate

Your production environment will be replaced by (base)

$cd mysite
$python manage.py runserver 

Your output on the Terminal will be something like this.

Performing system checks...

System check identified no issues (0 silenced).

You have 15 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.

December 29, 2018 - 13:50:33
Django version 2.1.4, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

Cut and paste http://127.0.0.1:8000/ on any browser of your choice or click on the link in the terminal.A WebPage of the following figure will be loaded:

Optional Text


To check whether all windows are working

After Clicking on Tweet Generator the following Window would open. Optional Text

After Clicking on Twitter trends the following Window would open Optional Text

After clicking on Sentiment Search,the following would open Optional Text

Enter your query and click Search a window of the following type would occur. Optional Text

After clicking on Hate Finder ,the following would open Optional Text

The percentage of hate would be displayed as : Optional Text

Because I have used a strict criteria of Evaluation the hate percentage is lower . You can modify the notebooks to change the criteria.

WordCloud

Optional Text Those who want a downloadable version of the Wordcloud generated by the mined tweets can Dowload it by opening the static directory inside their apps.There you shall find a .jpg file

About

The Wikipedia of Twitter and the Google Equivalent for Sentiment search

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 52.1%Language:HTML 30.5%Language:CSS 17.4%