markov library

The Markov chain library.

TODO: more dartdocs.

Classes

MarkovChain
A markov chain generator. Feed it with record and let it generate new outputs with generate.
MarkovChainGenerator
Generates a MarkovChain of order from a string stream. Can be used as a StreamConsumer (e.g. in Stream.pipe).
Token
A single token of a markov chain, represented as a string. [...]
TokenSequence
A sequence of tokens.

Functions

format(List<Token> tokens) → String
Takes tokens and constructs a String. [...]