markov-syllables
v1.0.1
Published
Based on: https://github.com/davidminor/markov-words.git . Generates pronounceable random words via Markov chains
Downloads
4
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