Crates.io | gmarkov-lib |
lib.rs | gmarkov-lib |
version | 0.1.1 |
source | src |
created_at | 2019-05-07 05:19:10.849084 |
updated_at | 2019-05-08 17:58:19.23793 |
description | A library that provides Markov chain data structures |
homepage | |
repository | https://gitlab.com/pythondude325/gmarkov-lib |
max_upload_size | |
id | 132531 |
size | 11,436 |
This library provides the MarkovChain
data structure. The markov chains are
fed by many finite sequence of items and outputs a sequence to try and imitate
the training data. In my implementation, the input must be an Iterator where
item is Eq + Hash + Clone
(or its alias ChainItem
).
Most commonly this library is used for sequences of char
s, but can be used for
almost any datatype, like numbers or enums.
For more information see the documentation: https://docs.rs/gmarkov-lib