Rhymez
Find perfect rhymes, alliterations, and end rhymes. Uses a much larger phoneme list than the standard cmudict that was built using g2p-seq2seq and the CMU Sphinx neural net. The words it was trained on were pulled from every rap lyric ever.
Usage
npm install -S rhymez
let rhymez = let rhymes = rhymezconsole // ['BEST', 'REST' ...] let rhymes = rhymezconsole // ['TABLET', 'TENT' ...] let rhymes = rhymezconsole // ['MAST', 'BELFAST' ...]
TODO
- Remove misspellings etc if possible...
- Add assonants
- Expand dictionary with words outside of the rap corpus
- Get alternate pronunciations somehow (CMU Sphinx just gives one, a good example of when that sucks is with the word
the
. Say,thee
andthuh
.) - Allow for looser rhymes
- Enable some common rhyme tactics, like
bigger -> bigga
andcoding -> codin
andthriller -> thrilla