Skip to content

Commit

Permalink
Update prompting.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
J-ElevenLabs authored Oct 6, 2023
1 parent 3371cd8 commit 4b49635
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion speech-synthesis/prompting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ I... yeah, I guess so..."

## Pronunciation

<u>This feature is currently only supported by the 'Eleven English V1' model</u>.
<u>This feature is currently only supported by the "Eleven English V1" model</u>.

In certain instances, you may want the model to pronounce a word, name, or phrase in a specific way. Pronunciation can be specified using standardised pronunciation alphabets. Currently we support the International Phonetic Alphabet (IPA) and the CMU Arpabet. Pronunciations are specified by wrapping words using the Speech Synthesis Markup Language (SSML) phoneme tag.

Expand All @@ -54,6 +54,8 @@ An example for CMU Arpabet:
<phoneme alphabet="cmu-arpabet" ph="AE K CH UW AH L IY">actually</phoneme>
```

It is important to note that this only works per word. Meaning that if you, for example, have a name with a first and last name that you want to be pronounced a certain way, you will have to create the pronunciation for each word individually.

English is a lexical stress language, which means that within multi-syllable words, some syllables are emphasized more than others. The relative salience of each syllable is crucial for proper pronunciation and meaning distinctions. So, it is very important to remember to include the lexical stress when writing both IPA and ARPAbet as otherwise, the outcome might not be optimal.

Take the word "talon", for example.
Expand Down

0 comments on commit 4b49635

Please sign in to comment.