String generator based on Markov process
Project description
mc.py
String generator based on Markov process
Installation
pip3 install mc.py --upgrade
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.7.tar.gz
(3.7 kB
view hashes)