nlp-rhymes-async
0.0.2 • Public • Published nlp-syllables-async
A plugin for nlp_compromise that retrieves rhymes for a word.
Features
- Asynchronous: pulls high quality syllable data from the network.
- Cached: avoids making duplicate network requests.
- Promise-based: more fun.
Installation and Usage
Install with $ npm install nlp-rhymes-async
then
import nlp from 'nlp_compromise'
import rhymes from 'nlp-rhymes-async'
nlp.plugin(rhymes)
nlp.term('simple').getRhymesAsync().then(rhymes => {
console.log(JSON.stringify(rhymes))
})
Versions
Current Tags
Version | Downloads (Last 7 Days) | Tag |
---|
0.0.2 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
0.0.2 | 0 | |
Package Sidebar
Install
Weekly Downloads