0.0.1 • Published 8 years ago

nlp-pronounce v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

an nlp_compromise plugin for a phonetic spelling of text.

it is a metaphone implementation in javascript, based on Chris Umbel's great work in naturalNode

var nlp = require('nlp_compromise');
var nlpPronounce = require('nlp-pronounce');
nlp.plugin(nlpPronounce);

var t = nlp.text('phil collins');
t.pronounce()
// [ 'fil', 'kolins' ]

it also takes advantage of the tokenization & cleverness of nlp_compromise.