Giter Site home page Giter Site logo

tweetsourcing's Introduction

TweetSourcing: Finding sources behind tweets you see.

This python program is intended as a tool to make fact checking easier. Information spreads faster than ever due to social media and proliferation of the internet. Not everyone is going to fact check before they post so it is on the individual to be skeptical and perform due diligence.

What this program does do:

  • Takes a tweet URL and extracts the text/image content.
  • Performs a reverse google image search for the image to see where else it has been used.
  • Extracts keywords from the text and searches from news sites with varying political biases for articles about the topics.

What this program does not do:

  • Search for video sources.
  • Tell you whether the tweet's statements are true. This is simply a tool to help you draw your own conclusions.

Ways this can be improved:

  • Improve tweet keyword recognition with custom nltk model, custom stop words, etc.
  • Add backup search api for when the google api reaches its limit. (Bing api?)
    Currently only keyword compares first 50 google results as a method to allow for more searches per day with the free google api quota.
  • Implement as web app.
    Web app v1 has been deployed at this link with all the basic functionality implemented. Backend code is updated compared to this repo but is functionally similar. Source code may be made public later.
  • Speed up categorize_news() function.
    Used newspaper module's multithreading functionality to increase speed up to 8x.

tweetsourcing's People

Contributors

maybemaby avatar

Stargazers

 avatar Nick avatar Shivaprakash Muruganandham avatar Amin Haeri avatar Trent Mercer avatar Jason Washburn avatar

Watchers

 avatar

Forkers

luispacs

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.