Crates.io | gmarkov |
lib.rs | gmarkov |
version | 1.0.0 |
source | src |
created_at | 2019-05-07 05:16:38.444642 |
updated_at | 2019-05-08 05:12:43.384538 |
description | An app that uses markov chains to generate text |
homepage | |
repository | https://gitlab.com/pythondude325/gmarkov |
max_upload_size | |
id | 132529 |
size | 3,574 |
This is the CLI interface to go with my Markov chain library called [gmarkov-lib] (https://crates.io/crates/gmarkov-lib).
The program takes one filename as input for the Markov chain, -
can be used to
read stdin to feed the Markov chain.
The program creates a markov chain with an order specified by the -o
or
--order
options defaults to 1
The program outputs lines of text based on the trained markov chain. The -n
or --lines
options can be used to specify the number of lines to output