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.2.tar.gz
(15.3 kB
view hashes)
Built Distribution
markovpack-0.3.2-py3-none-any.whl
(16.3 kB
view hashes)
Close
Hashes for markovpack-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8958ec91523577e4b042338d9bcc161a2d2a926dc0ee16fa2aae3be1a3cdb7ce |
|
MD5 | 04a10053c3293628ac2cad2c5f56c94d |
|
BLAKE2b-256 | 842a912f2077cf768d98072f2dfb3816612ec5707a17467b25b9cb5ea4782bc6 |