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.
npm install -S rhymez
import Rhymez from 'rhymez' let rhymez = new Rhymez() let rhymes = rhymez.rhyme('test') console.log(rhymes) // ['BEST', 'REST' ...] let rhymes = rhymez.alliteration('test') console.log(rhymes) // ['TABLET', 'TENT' ...] let rhymes = rhymez.endRhyme('Breakfast') console.log(rhymes) // ['MAST', 'BELFAST' ...]
bigger -> biggaand
coding -> codinand
thriller -> thrilla