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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hmm_write-0.3.1.tar.gz.
File metadata
- Download URL: hmm_write-0.3.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06f4f18c2644c91e7bb9edd7681899739af3ba092fed18bfb91fa377f029dd62
|
|
| MD5 |
2a10d0a505781762abc5741202175146
|
|
| BLAKE2b-256 |
3597b10bb5e66284a99ad5ca377bf78bf9273df06706600b987bbf981795d302
|
File details
Details for the file hmm_write-0.3.1-py3-none-any.whl.
File metadata
- Download URL: hmm_write-0.3.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4f06b4eddcf15bcfccf0bc9307669a9af4ca8b9f02330b28aef364508b1ba49
|
|
| MD5 |
fe88ca7fa5e3e1354ccc8314025481c5
|
|
| BLAKE2b-256 |
4fcb108564bf9c47b2e7224375b3baaa34bf42e90db53b3e361cdc16d2ca2c88
|