A prompt skill to build a pronunciation list for TTS without inventing sounds
Record a spelling you already played on this voice, and leave the row empty when a chat offers phones you have not heard.
What to do first
- Paste one sentence and the voice id. The voice id includes the language.
- Paste only sounds you already played on that voice. An unknown word gets the word NONE.
- In a second chat, write a row only where you have set HEARD yourself.
A chat will return a phonetic string for OAuth and format it like a lexicon entry. You have not played that string. In Speech Synthesis Markup Language (SSML), the ph value on a phoneme element is the pronunciation. The processor does not run text normalization on it, and it does not look that string up in a lexicon. The voice speaks those phones.
This skill keeps a list a player can load, and it blocks the invented string with three pieces: a note pack, a compare prompt, and a second chat that writes only the rows you marked. Paste the prompts into any chat. If your agent reads SKILL.md files, those three parts are the skill.
The note has to come from your ear, or from a string you copied out of a tool you ran and then played. A glossary of “how this name should sound” still has to be heard on this voice. The Vietnamese voiceover guide is where that glossary is kept. This page starts after a note exists, and it refuses to fill the gaps.
Part 1 — Spelling in the script, sound in your note
The pack is short on purpose. A word with no note stays an empty row.
| Piece | It may decide | It may not decide |
|---|---|---|
| Script | The characters to match, including case and tone marks | How those characters sound |
| Your note | An alias you played, or a phone string you pasted from a tool you ran | A guess that “sounds about right” |
| This voice | Whether that note survives in this language | A note you checked on a different voice |
Five to fifteen rows is enough: personal names, place names, product names, acronyms. Copy the spelling from the script yourself. Huế and Hue are different rows. Hello and hello are different rows on Azure: the custom lexicon is case sensitive, so a phoneme for “Hello” does not apply to “hello”.
Say which engine will speak. The written form is a grapheme. The sound is either an alias (other writing the voice will read as ordinary text) or a phoneme string (phones). SSML sub puts the alias in the alias attribute, and the processor should normalize that alias, so the voice can still misread it. You play the alias. A phoneme string skips that path.
One Pronunciation Lexicon Specification (PLS) file has one xml:lang for the whole document. Azure applies the same limit: one custom lexicon, one locale, and a file aimed at another locale does nothing. An English respelling checked on en-US is a different pack from the Vietnamese voice.

Azure’s lexicon is case sensitive, so OAuth and oauth are two graphemes. The figure shows one of them.
Piper does not take a PLS file on its CLI page. That page documents the sentence, and raw espeak-ng phones inside [[ ]]. The documented way to obtain the phones is espeak-ng -v <VOICE> --ipa=3 -q <TEXT>. The example voice is en-us and the example word is batman, which prints bˈætmæn. Copy that command’s output after you have listened to it. A chat-written string inside the brackets is still a chat-written string. For a name, a spelling change you can check by ear is the row. The install and the voice cards are in the Piper note.
ElevenLabs dictionaries are PLS files. Their pronunciation-dictionary guide, read on 20 November 2026, says phoneme tags work on eleven_v4, eleven_v4_turbo, eleven_flash_v2, and eleven_v3. Other models skip those tags and speak the default; the guide tells you to use an alias there. The same page says IPA and CMU for a language other than English require eleven_v4 or eleven_v4_turbo. The sample file uses two lexemes, tomato and Tomato, because PLS is case sensitive, and the phoneme text in that sample is /tə'meɪtoʊ/. The page also suggests asking Claude or ChatGPT to generate IPA or CMU. Skip that step. The string in the note is one you played.
Google Cloud TTS uses the phoneme tag for a single word. The alphabets are ipa and x-sampa, except Japanese (yomigana) and Chinese (pinyin or jyutping). Their stress table places the mark at the start of the stressed syllable: US English “water” is ˈwɑːtɚ. A custom pronunciation in the request is still a phone string you supply. Their example maps the phrase world to wɜːld.
Part 2 — Quote the note, or write NONE
Open a new chat. Paste the pack, then the prompt.
Build a pronunciation list. Do not invent a sound.
PACK:
VOICE: [language and voice id]
SCRIPT: [one sentence]
NOTES: [grapheme → alias or phone string, or the word NONE]
ALPHABET: [only if a note already contains phones: ipa, x-sampa, or the vendor name]
Rules:
1. One block per name, acronym, number, or loanword. Copy the grapheme
character for character, including tone marks and case.
2. If NOTES has no line for that grapheme, write NOTE: NONE and
MARK: EMPTY. Propose no alias, no respelling, and no phones.
3. If NOTES has an alias, copy it into SAY. MARK: ALIAS.
Keep the spelling. Do not "improve" it.
4. If NOTES has a phone string, copy it into PHONES and copy ALPHABET
from the pack. MARK: PHONEME. Add no stress, space, dot, or slash
that was not in the note.
5. SAY and PHONES stay mutually exclusive. A block has one of them.
6. HEARD stays no. You cannot set it.
7. Emit no PLS, no SSML, and no [[ ]] yet.
Output:
GRAPHEME:
NOTE:
SAY:
PHONES:
ALPHABET:
MARK:
HEARD:
EMPTY is a finished mark. The second chat will skip it. A block that arrives with phones you did not paste is discarded before that chat sees it, even if the symbols look like the International Phonetic Alphabet.

The next name starts again at step 1. HEARD is still no until you edit it after playback.
A note you checked on Monday is stale after you change voice id. Play oh auth on the new voice and set HEARD on that pack. The old block stays in the old pack.
Part 3 — Write the row after you listen
The compare chat has a reason to defend a string it wanted to add. Apply the marks somewhere else. You set HEARD to yes only on a row you played on this voice.
Write pronunciation rows. Add no sounds.
For each block:
- If MARK is EMPTY, or HEARD is no, skip it. Write STILL OPEN
and the grapheme.
- If MARK is ALIAS and HEARD is yes, emit one alias row.
The grapheme stays unchanged.
- If MARK is PHONEME and HEARD is yes, emit one phoneme row.
Copy PHONES and ALPHABET exactly.
- One grapheme gets one row.
ENGINE (one, from the pack):
- pls: one lexeme, grapheme plus alias OR phoneme, one xml:lang
- ssml-sub: <sub alias="SAY">GRAPHEME</sub>
- ssml-phoneme: <phoneme alphabet="ALPHABET" ph="PHONES">GRAPHEME</phoneme>
- piper-spell: the sentence with the grapheme replaced by SAY
- piper-phones: [[ PHONES ]] only when PHONES was copied from
espeak-ng for this voice
Put human-readable text inside an SSML phoneme element. The SSML
recommendation is that the element contain the written word, so a
screen reader still has letters.
BLOCKS:
[paste only rows you marked HEARD: yes]
SSML recommends that human-readable text inside phoneme because the element may be shown to someone who is not hearing it. The ph attribute remains the spoken form. Keep the written word in the element. Keep the phones in ph.

Azure’s 100 KB cap and 15-minute cache are later. These three fail while the file is still a few lines.
On Azure, when an alias and a phoneme are both present for the same grapheme, the alias has higher priority. The phones you checked never play. W3C PLS allows both elements in one lexeme and tells a synthesis engine to use the first pronunciation with prefer="true", or the first in document order if none is preferred, unless that engine documents another method. Two entries are how a checked phone gets skipped. One row, one field.
Azure returns HTTP 400 when ph contains a phone that locale does not recognize. In a custom lexicon, IPA cannot contain white space, and the syllable boundary is .. Their stress note: to stress a syllable, mark every syllable; otherwise the syllable before the stress mark is the one that is stressed. Their dotted example for the middle syllable of tomato is tə.ˈmeɪ.toʊ. W3C SSML allows spaces in an IPA ph value and says those spaces do not change the pronunciation. A string that was legal on one page is a different string on the other. Play it on the engine that will render the file. A chat that reformats the string has composed a new note.
Google’s phoneme tag covers one word. A multi-word alias belongs in sub, or in the sentence you send Piper, or in a PLS alias. It does not belong in one ph value.
A ten-minute example
The sentence and the notes are invented. They show the marks. They are not a recording of a particular person, and ngwen is not a claim about every Nguyễn.
Voice pack A, en-US:
SCRIPT: Mai Nguyen ships the OAuth fix to Huế on Thursday.
NOTES:
Nguyen → alias ngwen
OAuth → alias oh auth
Huế → NONE
Mai → NONE
Thursday → NONE
ngwen is the spelling that person handed you for this English voice. oh auth is a spelling you typed yourself. The compare chat copies those two as ALIAS and returns EMPTY for Huế, Mai, and Thursday. HEARD stays no in that output. You play the line, then set HEARD to yes only on a spelling this voice matched. A block that returns PHONES /oʊˈɔːθ/ for OAuth is thrown out: the note was an alias, and rule 5 allows one field.
Voice pack B, vi, same sentence, different notes:
NOTES:
Nguyen → NONE
OAuth → NONE until you play a spelling on this voice
Huế → alias Huế (you played the spelling on this voice and kept it)
ngwen does not move into pack B. The English respelling was heard on en-US. Pack B keeps Nguyễn’s spelling as written until this voice has been played. If the script actually prints Nguyen without the tone mark, the grapheme stays Nguyen. You still listen. You do not let the chat “restore” Nguyễn unless that is the spelling in the script.
After HEARD is yes, the Piper line for pack A is the sentence with two replacements and the other words untouched:
Mai ngwen ships the oh auth fix to Huế on Thursday.
[[ ]] stays unused, because neither note was an espeak-ng phone string. Huế remains Huế. Thursday stays Thursday. Empty rows are why those words are still there.
The PLS shape for the two heard aliases, one language per file, follows the W3C pattern of a grapheme plus an alias. For pack A, xml:lang is en-US and the lexemes are Nguyen → ngwen and OAuth → oh auth. Pack B is a second file. Azure will not apply the en-US file to a Vietnamese voice.
On models that skip phoneme tags, the ElevenLabs guide tells you to send an alias. Pack A is already aliases, so that split stays out of the file. You still play the alias on the model id you will render: an alias is ordinary writing, and the voice can misread it. eleven_flash_v2 and eleven_v3 accept phoneme tags, while the same guide reserves IPA and CMU in a language other than English for eleven_v4 or eleven_v4_turbo. The ElevenLabs voice note is the production seat. This skill is the list that seat is allowed to load.
Watch-outs
A PLS file with two pronunciations for one grapheme makes the engine pick. W3C requires the first prefer="true", then the first in document order. Two preferred pronunciations means the first of those. Put the note you played in that slot, and stop. A second pronunciation “just in case” is the one a listener may hear.
Azure caches a custom lexicon by URI for 15 minutes. A change to the same address can sit unseen until that window ends. The file cap is 100 KB; past that, the synthesis request fails. The lexicon element is not supported by the Long Audio API. Their page points long-form work at batch synthesis instead. A short list of names does not need the large file. It does need a new URI, or a wait, after you edit.
SSML says that if a lexicon fails to fetch or parse, the processor notifies the host and continues as if it had loaded an empty lexicon. The take can sound fluent while every name uses the built-in pronunciation. Play OAuth after the file is attached. Silence on the error log is not a passed name.
Google places the stress mark at the start of the stressed syllable. Azure’s note says an unmarked syllable boundary moves the stress to the syllable before the mark. ˈwɑːtɚ checked on Google is a new string on Azure until you play it there. The free voice board is where the seat was chosen. The list is per voice after that choice.
Private names do not need to sit in a consumer chat inside a full script. Paste the sentence that contains the rows you are marking. The boundary matches meeting notes that stay private: local text first, a short extract when a cloud chat has to see the line.
A caption file is a different check. Caption versus transcript guards words and times. This skill guards the sound of a word you already decided how to spell.
Related
- Piper on your machine — spelling changes and
[[ ]]copied from espeak-ng - ElevenLabs for tutorial voiceover — where a checked alias gets loaded
- Vietnamese voiceover, glossary first — the list of words that fail a take
- Free AI voice tiers, November 2026 — pick the seat, then build the list for that voice
- Captions against a trusted transcript — words and clocks, after the sound is settled
Share