Use Markov chains to generate messages based on Telegram group's chat history. Inspired by /r/SubredditSimulator, which includes a much better description here.
Utilises Markovify for Markov chains, and a few other libraries for various things. These are listed in requirements.txt
, and can be installed using pip install -r requirements.txt
.
You can run your own version of this bot by following the instructions here to get an API key, which should be put in the config.yml file. This bot is available for your usage at here.
- Unicode support - accented characters do not work.
- Use NLTK to produce more sensible sentences (possibly optionally)