aboutsummaryrefslogtreecommitdiff

Ruby Markov Chain Generator

Usage

$ ./markov-repl.rb
>> load corpus <corpusfile>
>> analyse <chunklength>
>> load stats
>> generate <numwords>
>> save <serialisedfile>

$ ./markov-repl.rb
>> load stats <serialisedfile>
>> generate <numwords>