Skip to content

This project analyzes text and returns the CMU dictionary phonetic entries for each word.

License

Notifications You must be signed in to change notification settings

samliebl/pronouncing-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
}

Acknowledgments

CMU Pronouncing Dictionary
[About] [GitHub] [Wikipedia]

About

This project analyzes text and returns the CMU dictionary phonetic entries for each word.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published