oliviersm199 / tweet-generator Goto Github PK
View Code? Open in Web Editor NEWThe Tweet Generator uses a Markov chain to generate random tweet based off of past tweets. It uses Python and the Twitter API to obtain the last 200 tweets from a particular user, organizes them into a JSON tree structure and then executes a random walk on that tree structure. This results in sometimes hilarious sometimes nonsense tweets that mimic the Twitter user's past tweets.
License: GNU General Public License v3.0