Guide + generator · 7 min read

Fixing brand names in AI voice: the dictionary workflow

Retaking a generation because the model said “open ay-eye” instead of “OpenAI” is the most expensive way to fix pronunciation. A dictionary fixes it once, for every future video. Here is the whole workflow, including the file format.

Aliases first — plain respellings the model already knows how to say. Phonemes second — only for the words aliases cannot save. Case-sensitive, first match wins — the two rules that cause “my dictionary isn't working”.

Build the word list from your script

Paste a script and get every acronym and brand name the model has to guess.

WordWhy it is a riskAlias to try

What the dictionary actually does

A pronunciation dictionary is a list of rules attached to a project or a request. Each rule has a grapheme — the text as written — and a replacement, which is either an alias (plain words that sound right) or phonemes (a phonetic transcription). When the model meets the grapheme, it uses the replacement instead of guessing.

ElevenLabs accepts the list as a TXT file or a PLS lexicon, and you can attach it in a Studio project or send it with an API request. Two behaviours matter more than the format: matching is case-sensitive, and the dictionary is checked from start to end using the first rule that matches.

Step 1 — Collect the words

You are looking for words where the spelling does not tell the model how to say it: acronyms, camel-case product names, imported brand names, surnames, technical terms. The generator above scans a script and lists them in seconds; the script doctor does the same and also flags the ones that will break a sentence.

Step 2 — Decide the reading

Write the answer to “how does this sound?” in ordinary words, because that is all an alias is. Keep it short and unambiguous.

WordAliasWhy
APIA P ISpaced letters force letter-by-letter reading
OpenAIOpen A ISplits the camel case and spells the last two letters
ElevenLabsEleven LabsTwo ordinary English words
SaaSsassThe spoken form, not the letters
2026 (as a year)twenty twenty-sixA year, not a cardinal number

Do not use all-caps to force emphasis. Some models read all-caps as an acronym and spell it out; you have then traded one problem for a worse one.

Step 3 — Build the file

The PLS lexicon is XML. One lexeme per word, grapheme plus alias:

<?xml version="1.0" encoding="UTF-8"?> <lexicon version="1.0" xmlns="http://www.w3.org/2005/01/pronunciation-lexicon" alphabet="cmu-arpabet" xml:lang="en-US"> <lexeme> <grapheme>OpenAI</grapheme> <alias>Open A I</alias> </lexeme> <lexeme> <grapheme>API</grapheme> <alias>A P I</alias> </lexeme> </lexicon>

When aliases are not enough, replace the alias with phonemes. ElevenLabs supports CMU Arpabet and IPA in phoneme tags for the Flash v2 and Turbo v2 models — English only. For example, “Madison” in CMU Arpabet is M AE1 D IH0 S AH0 N. Eleven v4 takes another route: it reads IPA directly in the text when it is wrapped in forward slashes, like /ˌbaɪoʊˈkemɪstri/.

Step 4 — Attach and verify

  1. Add the file to the project or API call you are generating from. A dictionary that is uploaded but not attached does nothing.
  2. Generate one sentence containing the hardest word.
  3. Listen. If it is still wrong, check casing first: OpenAI and openai are different rules.
  4. If it is right, keep the file with the project — it is now part of the channel's production system, not a one-off fix.

The limits worth knowing

The cheap alternative: if the word appears twice in one script, just spell it the way you want inside the text — “Open A I” — and skip the dictionary. Use a dictionary when the word appears in every video, which is most brand names on an established channel.

Frequently asked

What format does the dictionary use?

TXT or PLS. A PLS lexicon is XML with one lexeme per word: grapheme plus alias or phonemes.

Why is my entry ignored?

Case sensitivity, first-match-wins, and whether the dictionary is attached to the request. Check all three.

Do all models support phoneme tags?

No — Flash v2 and Turbo v2, English only. Eleven v4 reads inline IPA instead.

Alias or phonemes?

Alias first: fast, readable, good enough for most brand names. Phonemes for the stubborn ones.