pronouncing-dictionary
v1.0.0
Published
## Overview
Downloads
2
Readme
pronouncing-dictionary
Overview
Analyzes a given text and returns CMU dictionary entries for each word.
Usage
import { pronouncingDictionary } from './index.js';
const inputText = `\
The quick brown fox
jumped over
the lazy dog.\
`;
console.log(pronouncingDictionary(inputText));
Expected Result
{
the: 'DH AH0',
quick: 'K W IH1 K',
brown: 'B R AW1 N',
fox: 'F AA1 K S',
jumped: 'JH AH1 M P T',
over: 'OW1 V ER0',
lazy: 'L EY1 Z IY0',
dog: 'D AO1 G'
}