A Royalnet pack to have fun with Markovify.
Project description
markovpack
A Royalnet pack to have fun with Markovify!
Usage
- Create a new directory in the working directory of the Royalnet instance.
- Place there the
.json
files generated by thetext.to_json()
method of markovify's NewLineTexts. - In the
config.toml
of 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 royalnet
and have fun!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
markovpack-0.3.0.tar.gz
(15.7 kB
view hashes)
Built Distribution
markovpack-0.3.0-py3-none-any.whl
(16.9 kB
view hashes)
Close
Hashes for markovpack-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdb8dc60713702c9bfca814d2127861acde02bdeb0a5866b9527f9cc1324a272 |
|
MD5 | 997ad996819e135ec031e533188aa1ba |
|
BLAKE2b-256 | e0b4fa11e272394e6635645857b998760afe19fff8cef262be5a0c723d760266 |