CMU Pronouncing Dictionary
This annotator tags words with their pronunciations according to the
CMU Pronouncing dictionary,
a machine-readable pronunciation dictionary for North American English that contains
over 125,000 words and their transcriptions.
Configuration parameters are encoded as a URL query string, e.g.
tokenLayerId=orthography&pronunciationLayerId=phonemes&encoding=DISC
Parameters are:
- tokenLayerId
- Input layer from which words come.
- transcriptLanguageLayerId
- Transcript attribute for overall language, so the
annotator can avoid tagging non-English transcripts.
- phraseLanguageLayerId
- Layer for annotating phrases in a different
language, so the annotator can avoid tagging non-English phrases.
- pronunciationLayerId
- Output layer to which pronunciations are added.
- encoding
- Which encoding system should be used for the resulting annotation
labels. Possible values are:
- "CMU" - CMU ARPAbet encoding, e.g. "T R AE2 N S K R IH1 P SH AH0 N"
- "DISC" - CELEX DISC encoding, e.g. "tr{nskrIpS@n"
- firstVariantOnly
- If there are multiple entries for the token, use
only the first one. Value should be "on" for true, and the parameter
should be absent to indicate false.