uses pronouncingjs to randomly pick rhyming words
npm install poetic-vomit
var vomit = require('poetic-vomit')vomit('how bout them ice cream sandwiches? pretty good, eh?')// 'how all-out logarithm ice basim sandwiches? new_york_city good, eh?'vomit('to be or not to be, that is the question, something something', 0.25)// 'to be or watt to resignee, that is the question, something something'
replace words in a text with random rhyming wordsOptions:-l, --level floating point frequency at which to do replacement. higher value=> more words get replaced. defaults to 0.5-f, --file path to file containing text to poeticVomit-h, --help Show help [boolean]Examples:poeticVomit lol cool whateverpoeticVomit -l 0.1 oh yeah, wow sosubtlepoeticVomit -l 1 -f resume.txtecho "WOW SO PRETTY" | poeticVomit