markov-words
v0.2.0
Published
Generates pronounceable random words via Markov chains
Downloads
2
Maintainers
Readme
markov-words
Node package to generate pronounceable words via Markov chains.
var markov = require('markov-words');
var result = markov(stats, 8); // generate an array of one 8 letter word
To get the stats, use word-stats
:
var stats = require('word-stats').calculate(array_of_words),
result = require('markov').generate(stats, 8, 40); //40 8 letter words