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 details)
Built Distribution
File details
Details for the file markovpack-0.3.2.tar.gz
.
File metadata
- Download URL: markovpack-0.3.2.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0b9 CPython/3.8.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952757a13f8efc2f77dfac8a113947c9aaa34d69a274c019b8cde1d2ecbe32e7 |
|
MD5 | ce979b74857604b7796e37f97e65de9e |
|
BLAKE2b-256 | 4190c71202fd3e6b180c8de2f3b3f996eb821f39e639732eb42684ab34ac2c88 |
File details
Details for the file markovpack-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: markovpack-0.3.2-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0b9 CPython/3.8.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8958ec91523577e4b042338d9bcc161a2d2a926dc0ee16fa2aae3be1a3cdb7ce |
|
MD5 | 04a10053c3293628ac2cad2c5f56c94d |
|
BLAKE2b-256 | 842a912f2077cf768d98072f2dfb3816612ec5707a17467b25b9cb5ea4782bc6 |