Coder Social home page Coder Social logo

donald-trump-chatbot's Introduction

Trump Bot

donald-trump-chatbot

This is a chatbot that learns from Donald Trump's tweets to replicate the experience of talking to your very own Chief Executive.

Goals

  • Scrape Tweets
  • Script Trump Bot
  • Use Flask to create website for bot, allowing us to retrieve more user - bot response
  • Implement rating system for each user - bot interaction
  • Improve ML model

Timeline

11/24/18

We are still in the processing of pairing user response and possible bot responses. Tensorflow and deep learning might be a better model for our chatbot (longevity)

What we did this meeting:

  • Paired user response with possible bot response (tweets)
  • Created a skeleton/template of what the bot could look like trump_bot.py

What we plan to do next meeting:

  • Finalize user - bot response pair
  • Look into Tensorflow as a deep learning model for the chatbot

10/30/18

Generated a list of possible user response to pair with the bot response (Tweets). We also explored Spacy for NLP. We will be using nlp.similarity() to determine the similarity between an actual user's response to the possible user response in our database. We then output the paired bot response. This process is actually quite fast but is dependent on the quality and quantity of our user - bot response pair database.

What we did this meeting:

  • Read Spacy documentation
  • Scraped Tinder dating sites to generate possible user response

What we plan to do next meeting:

  • Pair more user - bot response
  • Read implementations of chatbots

10/23/18

We explore scraping Donald Trump's tweets. Athough there are already available datasets, they are not recent. We use the Tweepy API to scrape the tweets.

What we did this meeting:

  • Created twitter_scrape.py to scrape the tweets
  • Stored the tweets in the master_tweets.csv file

What we plan to do next meeting:

  • Scrape more tweets / set up Stream for continuous Tweet scraping
  • Explore ML models

donald-trump-chatbot's People

Contributors

duyminh1998 avatar

Watchers

James Cloos 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.