markov icon indicating copy to clipboard operation
markov copied to clipboard

A generic markov chain implementation in Rust.

Results 5 markov issues
Sort by recently updated
recently updated
newest added

add methods to generate from a series of tokens, not just one.

If you attempt to load a previously saved chain where one of the tokens is >= 128 characters, the yaml parser throws an error that the key does not exist....

enhancement

For a project I need to be able to reproduce the same generation multiple times so I've implemented a way to seed the random number generator, or provide your own...

Generating a graph of a chain with `chain.graph()` on string data produces the following structure: `petgraph::graph_impl::Graph

For a compression library we need an iterator over all tokens sorted by its probability. This PR adds this feature.