A Royalnet pack to have fun with Markovify.
- Create a new directory in the working directory of the Royalnet instance.
- Place there the
.jsonfiles generated by the
text.to_json()method of markovify's NewLineTexts.
- In the
config.tomlof the Royalnet instance, set the following values:
[Packs."markovpack"] Markov.models_directory = "markovpack" # The name of the directory containing the .json files Markov.default_model = "example" # The name of the .json file that should be parsed if no arguments are passed to the command Markov.min_words = 5 # The minimum number of words a sentence should have to be sent
- Start Royalnet with
python -m royalnetand have fun!
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for markovpack-0.3.2-py3-none-any.whl