Registry / utility / marky-markov

marky-markov

JSON →
library0.3.5rbrubygemsunverified

MarkyMarkov makes it easy to generate Markov Chains based on input from a source file or string, usable as a module or from the command line.

gem install marky_markov
INSTALL
IMPORT
SIG · MARKY-MARKOV
M
marky-markov
utilityrubyv0.3.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MarkyMarkov
require 'marky_markov'

Create a Markov chain dictionary from a string and generate sentences.

require 'marky_markov' markov = MarkyMarkov::Dictionary.new('dictionary') markov.parse_string('Hello world, this is a test.') puts markov.generate_n_sentences(2)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
marky-markov — gem install marky-markov · libregistry