Giter Site home page Giter Site logo

extract-twitter-trends-be_project's Introduction

  1. TrendingHashtags.py Collect currently trending hashtags. To run: TrendingHashtags.py > hashtags.txt
  2. crawl.py Crawls Twitter for the trends in hashtags.txt To run: python crawl.py hashtags.txt path_to_store_tweets Output: will create a file for tweets crawled for each trending topic/hashtag.
  3. clean.py Removes twitter specific stop words from the data To run: python clean.py path_to_tweets_folder path_to_store_tweets Output: a file for tweets pertaining to each topic/hashtag
  4. tag.py Pre-process the data To run: python tag.py path_to_cleaned_data path_to_preprocess_data Output: a file for tweets pertaining to each topic/hashtag
  5. ./tweet_summarizer.sh path_to_clean_tweets path_to_news_articles path_to_tagged_tweets path_to_tagged_news_articles path_to_predicted_folder Output: Summary will be generated for the trending topics/hashtags in predicted folder
  6. cosine_similarity.py Calculate cosine similarity between human picked and algorithm generated summary To run: python cosine_similarity.py path_to_actual_file path_to_predicted_file Output: average and max similarity
  7. semantic_similarity.py Calculate semantic similarity between human picked and algorithm generated summary To run: python semantic_similarity.py path_to_actual_file path_to_predicted_file Output: average and max similarity

extract-twitter-trends-be_project's People

Contributors

omkargaikwad23 avatar

Watchers

 avatar

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.