phonemize

0.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i phonemize

Weekly Downloads

195

Version

0.1.1

License

MIT

Unpacked Size

3.63 MB

Total Files

6

Last publish

Collaborators

  • hans00