Skip to content

Latest commit

 

History

History
78 lines (66 loc) · 4.21 KB

LEXICON-README.md

File metadata and controls

78 lines (66 loc) · 4.21 KB

Lexicon

The lexicon is a tool that tells Festival TTS how to say certain words using an easy-to-use script that makes use of the CMU Pronouncing Dictionary.
This script is then translated to a LISP script for each voice during generation.

Phonemes

Each word in Festival is built from a simple set of syllables, and each syllable is comprised of phonemes, which represent each distinct sound used for speech.

CMU

The following table represents the current CMU Pronouncing Dictionary phonemes.

Available Phonemes
PhonemeExampleTranslation
AAodd"aa d"
AEat"ae t"
AHhut"hh ah t"
AOought"ao t"
AWcow"k aw"
AYhide"hh ay d"
Bbe"b iy"
CHcheese"ch iy z"
Ddee"d iy"
DHthee"dh iy"
EHed"eh d"
EHed"eh d"
ERhurt"hh er t"
EYate"ey t"
Ffee"f iy"
Ggreen"g r iy n"
HHhe"hh iy"
IHit"ih t"
IYeat"iy t"
JHgee"jh iy"
Kkey"k iy"
Llee"l iy"
Mme"m iy"
Nknee"n iy"
NGping"p ih ng"
OWoat"ow t"
OYtoy"t oy"
Ppee"p iy"
Rread"r iy d"
Ssea"s iy"
SHshe"sh iy"
Ttea"t iy"
THtheta"th ey t ah"
UHhood"hh uh d"
UWtwo"t uw"
Vvee"v iy"
Wwe"w iy"
Yyield"y iy l d"
Zzee"z iy"
ZHseizure"S IY" 'ZH ER'

Other Known Phonemes

Some other phonemes that appear to work:

  • pau - A short pause.
  • @ - Alias for ae? Not used, as it's non-standard and iffy with some voices.

Emphasis

The lexicon supports emphasis as a number from 0 to 2, leaving us three levels of emphasis.

However, to simplify things, ss13-vox only supports 0 to 1, and uses the enclosing quote marks as the indicator of emphasis.

Quote MarkEmphasis LevelNotes
"1Primary emphasis.
'0Secondary Emphasis.

In general, we try to code one Primary Emphasis into each word, leaving the rest without emphasis.