Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 867 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 867 Bytes

Discord Markov chain

Make a markov chain out of yourself, using your data package!

Instructions

First of all, rename your data package to package.zip if it isn't already called that. Next, move it into data/

After that, you'll want to run compile_training_data and make_markov_chain using:

$ python compile_training_data.py
$ python make_markov_chain.py

Last of all, you'll want to run generate_messages and then tell it how many sentences you want, after which it will generate some.

$ python generate_messages.py
Reading Markov chain...
How many messages do you want to generate? 1
Generating sentences...
> i followed the same person
How many messages do you want to generate? 

This will loop on forever until you stop it using Ctrl-C

Note: Next time you want to run it, you'll only have to run generate_messages.py