Analyzes a given text and returns CMU dictionary entries for each word.
import { pronouncingDictionary } from './index.js';
const inputText = `\
The quick brown fox
jumped over
the lazy dog.\
`;
console.log(pronouncingDictionary(inputText));
{
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'
}