Skip to content

ShrawanSai/Cues-from-trends

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cues-from-trends

https://cues-from-trends.herokuapp.com/

This reposotiry aims to extract and present text cues from trends. Cues that can be used for creating new memes(meme captions), blogs, posts, tweets and even maybe one liners for tshirts.

The end result is to be a dashboard that displays the top and current trends, hashtags, topics, and how well are they recieved by the public.

For example,

At the time of editing this Read me file, a few current and trending topics are the US elections, Shah Rukh Khan's birthday, the Indian Premiere league (IPL) etc.

The final result would be something like

Topic id Topic Type Sentiment Score Related topics Text cues Interest by region
1 IPL Cricket league 89% ipl live score, mumbai indians, virat kohli MS Dhoni #DefinitelyNot, Virat❤️ India, UAE, Australia
2 Shah Rukh Khan Indian actor 91% srk news,bollywood,birthday Baadshah, ❤️SRK❤️, Burj Khalifa India, UAE, Pakistan
3 US Elections General election 43% Trump,biden,congress free world, God bless President @realDonaldTrump, Predictions United states of America, Russia, UK

Trends would be mined from soucres like Twitter, Google Trends, Instagram, Reddit etc after which finding a sentiment score for the same will be done

The step by step process for the entire pipeline is represented as seperate Ipynbs.

These are the steps and the notebooks Inused to solve the issue

  1. Find trending topics from twitter for given location - step-1 trending twitter topics.ipynb
  2. Find the interest over time for the topic from trends - step-2 interest_over_time.ipynb
  3. Find regions of interest, related topics, type from google trends - step-3 information from google trends.ipynb
  4. Find tweets, reddit posts and their comments about each topic - step4a twitter text.ipynb, step4b reddit text.ipynb
  5. Run Sentiment Analysis on the extracted text along with post statistics - step5 sentiment analysis.ipynb
  6. Find Hashtags, Named Entities, Text with emojis etc from extracted text for text cues - step6.ipynb

The django project was built with the idea of automating the procedure and hosting the live project. Once the django project has its cronjobs set up it is ready to be deployed on a full scale For now, a non dynamic version of the app is up at https://cues-from-trends.herokuapp.com/

Here is a sample page:

Top trending: image

List of all trending and option to select any card. AlongsideTracking and predicting the interest over time

image

Related Topics and Tweets:

image

Region wise popularity score and text cues image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published