Sha256: 04cf2aa61d62a8403bae1eb4730bcbe8ac76a76e3fce03de3f345269b8430772
Contents?: true
Size: 822 Bytes
Versions: 2
Compression:
Stored size: 822 Bytes
Contents
# mrkv ### An actual real life demonstration of everything that this gem does: ``` $ irb irb(main):001:0> require 'mrkv' => true irb(main):002:0> example = Mrkv::Chain.new(1) # ngram defaults to 2 => #<Mrkv::Chain:0x007ff024b36638 @ngram=1, @chain={}> irb(main):003:0> example.add ["Ruby is a language and a sight to behold!", "Ruby is a bottle of beer and a bag of french fries?", "Ruby is joy and friendship and caring!", "Ruby is a product of love and devotion."] => true irb(main):004:0> example.generate => "Ruby is a bottle of love and friendship and a bottle of love and a bag of love and a sight to behold!" irb(main):005:0> example.generate => "Ruby is a language and a language and devotion." irb(main):006:0> # etc. ``` #### slated 4 v0.2.0 bi-directional chain. respond to input. compression/optimization.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mrkv-0.1.1 | README.md |
mrkv-0.1.0 | README.md |