String generator based on Markov process
Project description
mc.py
![License: MIT](https://pypi-camo.freetls.fastly.net/8645b002dd7ec1b54275a80574942e7a318e03c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)
String generator based on Markov process
Installation
pip install mc.py
Simple example
import mc
generator = mc.StringGenerator(
samples=["hello world", "world of cuties"]
)
result = generator.generate_phrase()
print(result)
# e.g. >>> "hello world of cuties"
More examples can be found here
Features
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mc.py-3.0.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
mc.py-3.0.0-py3-none-any.whl
(5.1 kB
view hashes)