0.1.1 • Published 1 year ago

phonemize v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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' ], [ '!' ] ]
0.1.1

1 year ago

0.1.0

1 year ago