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!

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markovpack-0.3.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

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

Hashes for markovpack-0.3.2.tar.gz
Algorithm Hash digest
SHA256 952757a13f8efc2f77dfac8a113947c9aaa34d69a274c019b8cde1d2ecbe32e7
MD5 ce979b74857604b7796e37f97e65de9e
BLAKE2b-256 4190c71202fd3e6b180c8de2f3b3f996eb821f39e639732eb42684ab34ac2c88

See more details on using hashes here.

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

Hashes for markovpack-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8958ec91523577e4b042338d9bcc161a2d2a926dc0ee16fa2aae3be1a3cdb7ce
MD5 04a10053c3293628ac2cad2c5f56c94d
BLAKE2b-256 842a912f2077cf768d98072f2dfb3816612ec5707a17467b25b9cb5ea4782bc6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 files

0.3.1

2 files

0.3.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page