In general a different set of phonemes can be defined for each language.
In most cases different languages inherit the same basic set of consonants. They can add to these or modify them as needed.
The phoneme mnemonics are based on the scheme by Kirshenbaum which represents International Phonetic Alphabet symbols using ascii characters. See: www.kirshenbaum.net/IPA/ascii-ipa.pdf.
Phoneme mnemonics can be used directly in the text input to
espeak-ng. They are enclosed within double square brackets. Spaces
are used to separate words, and all stressed syllables must be marked
explicitly. eg:\
[[D,Is Iz sVm f@n'EtIk t'Ekst 'InpUt]]
{.western}
[p]
{.western}
[b]
{.western}
[t]
{.western}
[d]
{.western}
[tS]
{.western}
church
[dZ]
{.western}
judge
[k]
{.western}
[g]
{.western}
[f]
{.western}
[v]
{.western}
[T]
{.western}
thin
[D]
{.western}
this
[s]
{.western}
[z]
{.western}
[S]
{.western}
shop
[Z]
{.western}
pleasure
[h]
{.western}
[m]
{.western}
[n]
{.western}
[N]
{.western}
sing
[l]
{.western}
[r]
{.western}
red (Omitted if not immediately followed by a vowel).
[j]
{.western}
yes
[w]
{.western}
Some Additional Consonants
[C]
{.western}
German ich
[x]
{.western}
German buch
[l^]
{.western}
Italian gli
[n^]
{.western}
Spanish ñ
These are the phonemes which are used by the English spelling-to-phoneme translations (en_rules and en_list). In some varieties of English different phonemes may have the same sound, but they are kept separate because they may differ in another variety.
In rhotic accents, such as General American, the phonemes
[3:], [A@], [e@], [i@], [O@], [U@]
{.western}include the “r” sound.
[@]
{.western}
alpha
schwa
[3]
{.western}
better
rhotic schwa. In British English this is the same as [@]
{.western},
but it includes ‘r’ colouring in American and other rhotic accents. In
these cases a separate [r]
{.western} should not be included unless it
is followed immediately by another vowel.
[3:]
{.western}
nurse
[@L]
{.western}
simple
[@2]
{.western}
the
Used only for “the”.
[@5]
{.western}
to
Used only for “to”.
[a]
{.western}
trap
[aa]
{.western}
bath
This is [a]
{.western} in some accents, [A:]
{.western} in others.
[a#]
{.western}
about
This may be [@]
{.western} or may be a more open schwa.
[A:]
{.western}
palm
[A@]
{.western}
start
[E]
{.western}
dress
[e@]
{.western}
square
[I]
{.western}
kit
[I2]
{.western}
intend
As [I]
{.western}, but also indicates an unstressed syllable.
[i]
{.western}
happy
An unstressed “i” sound at the end of a word.
[i:]
{.western}
fleece
[i@]
{.western}
near
[0]
{.western}
lot
[V]
{.western}
strut
[u:]
{.western}
goose
[U]
{.western}
foot
[U@]
{.western}
cure
[O:]
{.western}
thought
[O@]
{.western}
north
[o@]
{.western}
force
[aI]
{.western}
price
[eI]
{.western}
face
[OI]
{.western}
choice
[aU]
{.western}
mouth
[oU]
{.western}
goat
[aI@]
{.western}
science
[aU@]
{.western}
hour
Other languages will have their own vowel definitions, eg:
+--------------------------------------+--------------------------------------+
| [e]
{.western} | German eh, French é |
+--------------------------------------+--------------------------------------+
| [o]
{.western} | German oo, French o |
+--------------------------------------+--------------------------------------+
| [y]
{.western} | German ü, French u |
+--------------------------------------+--------------------------------------+
| [Y]
{.western} | German ö, French oe |
+--------------------------------------+--------------------------------------+
[:]
{.western}can be used to lengthen a vowel, eg [e:]
{.western}