phonemize
v0.1.1
Published
English phonemizer
Downloads
192
Readme
phonemize
English phonemizer using CMUdict.
Installation
yard add phonemize
Usage
import { phonemize } from 'phonemize';
const text = 'Hello world!';
console.log(phonemize(text));
// hʌlˈoʊ wˈɝld!
console.log(phonemize(text, false));
// [ [ 'hʌlˈoʊ', 'hɛlˈoʊ' ], [ 'wˈɝld' ], [ '!' ] ]