blob: 7bd16e0f5083a0ef69883a228cd74cefb08f4411 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
h1. Ruby Markov Chain Generator
h2. Usage
bc.. $ ./markov-repl.rb
>> load corpus <corpusfile>
>> analyse <chunklength>
>> load stats
>> generate <numwords>
>> save <serialisedfile>
$ ./markov-repl.rb
>> load stats <serialisedfile>
>> generate <numwords>
|