markov v1.0.10 (2018-05-02T15:52:07Z)
Dub
Repo
MarkovChain.train
markov
chain
MarkovChain
Trains the markov chain from a sequence of input tokens.
struct
MarkovChain
(T)
void
train
(
T
[]
input
...
)
Meta
Source
See Implementation
markov
chain
MarkovChain
constructors
this
functions
feed
generate
push
seed
select
train
properties
empty
length
lengths
random
rehash
reset
sizes
states
Trains the markov chain from a sequence of input tokens.