Contributers · Jeff
Python Tweet Generator is a light weight Markov Model implemented into python
Installation is super friendly using pip
$ pip install
$ python app.py
Avaliable online at https://shakespeare-tweet.herokuapp.com
**What are the key features of the application? **
-`app.py` - main script for my Flask Server, it uses other modules to generate sentences
-`cleanup.py` - module for cleaning up source text and generates corpus.txt
- `histogram.py` - grabs a list of words from a body of text
- `dictogram.py` - refactoring histogram class to Dictogram class which helps to generates the random_weighted_words
- `sample.py` - handles all the percentage handling and creating a list of words+occurrences and makes a text file for it.
- `crawler.py` # module for creating lists of tokens from a text
- `markov.py` # Markov model module generating a sentence word from 81490 words of Shakespeare corpus
- `twitter.py` # calling the Twitter API