Skip to content

Make a markov chain out of yourself using your Discord data package

License

Notifications You must be signed in to change notification settings

adntaha/discord-markov

Repository files navigation

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

About

Make a markov chain out of yourself using your Discord data package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages