3.0.4 • Published 7 years ago

rhymez v3.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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
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' ...]

TODO

  1. Remove misspellings etc if possible...
  2. Add assonants
  3. Expand dictionary with words outside of the rap corpus
  4. Get alternate pronunciations somehow (CMU Sphinx just gives one, a good example of when that sucks is with the word the. Say, thee and thuh.)
  5. Allow for looser rhymes
  6. Enable some common rhyme tactics, like bigger -> bigga and coding -> codin and thriller -> thrilla
3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago