Skip to main content

Python implementation of a Hidden Markov Machine that generates text.

Project description

Hidden Markov Machine (HMM)

This module provides the function write([prompt], [length], [bias]) which adds [length] words to the end of the prompt. If the bias is set to 0 (the minimum), there will be no bias, and the closer it gets to 1 (the maximum) nouns in the prompt are more likely to be chosen. If a bias is not supplied, the default is 0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hmm_write-0.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

hmm_write-0.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file hmm_write-0.3.tar.gz.

File metadata

  • Download URL: hmm_write-0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for hmm_write-0.3.tar.gz
Algorithm Hash digest
SHA256 936a4a1dd359747992359aada68e42af474d8ee0aff7eb05528824f92b31e49c
MD5 a14f8aed8071a5be28ccf6b9738771fb
BLAKE2b-256 e255bbc6b9bacd8025102877e40c7898a96854afd565319a109b1864c4fd44c3

See more details on using hashes here.

File details

Details for the file hmm_write-0.3-py3-none-any.whl.

File metadata

  • Download URL: hmm_write-0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for hmm_write-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0f69ba78ab04eb2590d6ecd888fe7e9d14404576d805e6244461ced4d6f5f57
MD5 fb395a396eca173ef0bb7b53aeb434d3
BLAKE2b-256 e471361cf2aba8c8fb8911ec4bbd6b241177480596f7f73a9152561e7b14f924

See more details on using hashes here.

Supported by

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