Skip to content
/ markov.py Public

Small utility for training Markov models and generating random data based on it

Notifications You must be signed in to change notification settings

ants/markov.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

Show usage info:
python markov.py --help

Generate 10 sentences from a model:
python markov.py --inputfile=models/sentences_et.horoscopes.model -n 10

Train model from sample data:
python markov.py --datadir=path/to/data/ --extension=.txt --output=your.model

About

Small utility for training Markov models and generating random data based on it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages