markovTweet

Post markov chain sentences to Twitter

WTFPL License

Stars
9

markovTweet

This program generates a Markov chain (https://en.wikipedia.org/wiki/Markov_chain) from a number of text files, and posts a pseudo-random string, based on the chain to a Twitter account.

Dependencies

  1. Python 2.6 or above (only tested with Python 2.7)
  2. PyMarkovChain:
    from git: https://github.com/TehMillhouse/PyMarkovChain
    or run "pip install PyMarkovChain"
  3. Tweepy

Usage

  1. Edit markovtwitter.py and input your Twitter credentials.
  2. Place a number of .txt-files in the working directory
  3. Run markovTweet.py
  4. ???
  5. Profit