A simple ES6 class for generating text using Markov chains. This should result in text that is similar in content and context to the supplied text sample, but (ideally) unique in concept.
const MarkovGen = ;let markov =input: 'array of sentences' 'to base the chains on' 'should go here'minLength: 10;let sentence = markov;console;
Fork the repo, clone your fork, commit changes to the
master branch, then open a pull request. Node v6+ is required.