Sha256: 37ad541c2550135834fa85f5a8b415510ba6e7a421dcd0d2e2459c8c5a6c6383

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

require 'markov/generator'

markov = Markov::Generator.new
markov.parse_source_file "./generator_test2.txt"
markov.parse_source_file "./generator_test1.txt"

#markov.dump_dictionary
#markov.dump_start_words
markov.dump_dictionary_stats

1..5.times do
  puts "#{markov.generate_sentence}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markov-generator-0.10.0 test/generator_test.rb