Skip to main content

markovpack

A Royalnet pack to have fun with Markovify!

Usage

  1. Create a new directory in the working directory of the Royalnet instance.
  2. Place there the .json files generated by the text.to_json() method of markovify's NewLineTexts.
  3. 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
    
  4. Start Royalnet with python -m royalnet and 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)

Source distribution for markovpack 0.3.2
File Size Uploaded
markovpack-0.3.2.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for markovpack 0.3.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page