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.1.tar.gz
(15.3 kB
view hashes)
Built Distribution
markovpack-0.3.1-py3-none-any.whl
(16.3 kB
view hashes)
Close
Hashes for markovpack-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f795c388e940a4b93d4b945b39a15e37104e0b72ecca2136409fcd51f73724bc |
|
MD5 | 31e4e464e8feb49984de61765f1d6f95 |
|
BLAKE2b-256 | 3f00788fce689579ec49b774342fd007daeb7247a5e5d057c625984f5604513f |