1.0.0 • Published 9 months ago
@lunarisapp/cmudict v1.0.0
Lunaris CMUdict
A JavaScript interface to the Carnegie Mellon University Pronouncing Dictionary (CMUdict), inspired by cmudict.
!TIP See also:
- @lunarisapp/language for core linguistic breakdown: vowels, consonants, words, and sentences.
- @lunarisapp/stats for text statistics (e.g. word count, sentence count, etc.).
- @lunarisapp/readability for text readability scores (e.g. Flesch Reading Ease).
Features
- Browser & Node.js support
- TypeScript support
- Up-to-date CMUdict data
Installation
npm install @lunarisapp/cmudictUsage
import cmudict from '@lunarisapp/cmudict';
const cmuDict = cmudict.dict();
const cmuPhones = cmudict.phones();
const cmuVP = cmudict.vp();
const cmuSymbols = cmudict.symbols();