Wondering what’s next for npm?Check out our public roadmap! »

markov-syllables

1.0.1 • Public • Published

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

Install

npm i markov-syllables

DownloadsWeekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar