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
.jsonfiles generated by thetext.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!
Metadata
Release files for markovpack 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| markovpack-0.3.2.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| markovpack-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.6 kB
Release files / markovpack-0.3.2.tar.gz
| Download URL | markovpack-0.3.2.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
952757a13f8efc2f77dfac8a113947c9aaa34d69a274c019b8cde1d2ecbe32e7
|
|
BLAKE2b-256 checksum How to use checksums |
4190c71202fd3e6b180c8de2f3b3f996eb821f39e639732eb42684ab34ac2c88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0b9 CPython/3.8.0 Windows/10
|
Release files / markovpack-0.3.2-py3-none-any.whl
| Download URL | markovpack-0.3.2-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8958ec91523577e4b042338d9bcc161a2d2a926dc0ee16fa2aae3be1a3cdb7ce
|
|
BLAKE2b-256 checksum How to use checksums |
842a912f2077cf768d98072f2dfb3816612ec5707a17467b25b9cb5ea4782bc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0b9 CPython/3.8.0 Windows/10
|