W3C PLS 1.0 · tag-safe single-pass matcher

Pronunciation Lexicon Builder for Fantasy Names & Jargon

Edit entries and test matches locally without logging in; exporting PLS XML, JSON, or CSV requires zero extra credits for active subscribers and credit-pack owners.

Keep fictional names, lore places, and technical terms consistent across every chapter. Test phonetic respellings live without corrupting [vocal] cues or <ssml> markup, send applied text to Studio, or export W3C PLS XML, JSON, and CSV.

Pronunciation Lexicon BuilderRuns in your browser · no upload
  • Aelindor→ ay-LIN-dor
  • Xylar→ ZYE-lar

Matched Replacements

2

2 lexicon entries active

Build single-pass longest-match pronunciation replacements (protects [vocal] and <ssml> tags) and export PLS XML, JSON, or CSV.

Need full-cast AI narration from a manuscript?

Direct voices line-by-line with [laugh] and [sigh] cues, lock character voices across chapters, and export release-spec M4B.

AI voices to cast
137
70 standard · 67 premium
file types in
5
EPUB · PDF · DOCX · TXT · MD
ways out
3
M4B with chapters · MP3 · ZIP
voice models
4
Gemini · ElevenLabs

Step-by-step guide

How to build and apply a pronunciation lexicon

No card to sign up, nothing to install.

  1. Add or import term pairs

    Type a term and phonetic respelling in the quick-add bar, or import an existing .pls, .xml, .json, .csv, or .tsv glossary file.
  2. Paste a test excerpt

    Enter dialogue or narrative containing your custom names, [vocal] cues, or SSML tags to verify real-time substitution.
  3. Audit matched replacements

    Check the live counter and output box to confirm overlapping names resolve longest-first without cascading double edits.
  4. Send to Studio or export

    Pass the respelled script into FullCastBook Studio, or save a reusable W3C PLS 1.0 XML, JSON, or CSV dictionary.

Pronunciation Lexicon Builder

Engineered for safe, non-destructive respelling

What you get, from manuscript to finished audiobook.

  • Longest-term-first matching

    Sorts dictionary entries by character length descending so compound names like 'New Aelindor' match ahead of 'Aelindor'.
  • Single-pass non-cascading scan

    Applies one left-to-right pass over prose so replacement text is never accidentally re-matched by another rule.
  • Protects [vocal] and <ssml> tags

    Splits text around director tags like [whisper] or [sigh] and XML angle tags so markup stays intact during replacement.
  • Multi-format glossary import

    Loads W3C PLS <lexeme> XML documents alongside JSON arrays, CSV spreadsheets, and TSV term tables.
  • Standards-grade export formats

    Outputs valid W3C PLS 1.0 XML (preserving imported IPA phonemes and aliases), structured JSON, and five-column CSV.
  • Pre-seeded fantasy examples

    Starts with sample entries (Aelindor → ay-LIN-dor, Xylar → ZYE-lar) so you can test boundary matching right away.

Use cases

Ideal projects for a shared pronunciation dictionary

Where authors and storytellers put it to work.

  • Epic fantasy & LitRPG lore

    Lock pronunciations for invented kingdoms, magic spells, and elven titles across multi-book series.
  • Sci-fi & medical non-fiction

    Replace acronyms, alien species names, and pharmaceutical compounds with phonetic syllables voices read reliably.
  • Series bible handoffs

    Maintain one shared PLS XML or CSV lexicon file across co-authors, editors, and production runs.
On this page
  1. 1Why series fiction needs a structured pronunciation dictionary
  2. 2How longest-term-first single-pass matching prevents errors
  3. 3Shielding [vocal] cues and <ssml> markup from edits
  4. 4Quick-add respellings vs. imported W3C PLS XML and IPA
  5. 5Testing excerpts live with matched-replacement metrics
  6. 6Routing respelled scripts to Studio and exporting glossaries

In depth

Why series fiction needs a structured pronunciation dictionary

Even expressive neural voices stumble when an author introduces invented geography like `Aelindor` or `Xylar` alongside ambiguous homographs, foreign honorifics, or unusual compound titles. Fixing one word in paragraph four with manual find-and-replace often mutates substring fragments inside unrelated words or breaks inline performance cues.

A dedicated pronunciation lexicon separates phonetic spelling rules cleanly from your master manuscript. You maintain clean, reader-facing typography in your print and ebook editions while applying deterministic respellings ahead of audio synthesis—or exporting a portable glossary file that keeps human narrators, audio editors, proofers, and co-authors aligned across every sequel, prequel, and spinoff installment.

How longest-term-first single-pass matching prevents errors

Naive loop-based string replacement introduces subtle bugs: substituting `Ael` before `Aelindor`, matching partial stems inside ordinary English words, or matching an inserted respelling inside a second dictionary rule. This engine sorts your entire rule list from longest term to shortest and wraps ASCII words with word-boundary anchors (`\b`) automatically so shorter substrings cannot hijack compound titles.

During evaluation, the scanner executes a single left-to-right pass across the excerpt. Once a span matches an entry and swaps in your phonetic respelling, the cursor advances completely past the inserted text so downstream rules never inspect or rewrite it again—eliminating cascading edits, garbled syllables, and infinite replacement loops.

Shielding [vocal] cues and <ssml> markup from edits

Audio scripts often embed director performance directions such as `[whisper]`, `[sigh]`, or `[clears throat]`, alongside `<break>` or `<phoneme>` SSML tags. If a minor character happens to share a word with a tag attribute—such as a character named Whisper or Break—naive search-and-replace silently corrupts your markup.

Before scanning prose words, the tokenizer splits text around bracketed vocal cues and `<...>` angle-bracket tags, locking those segments as immutable tokens. Pronunciation substitutions run strictly against spoken dialogue and narration, leaving every performance tag, SSML break marker, and XML attribute completely untouched during replacement.

Quick-add respellings vs. imported W3C PLS XML and IPA

The quick-add bar keeps drafting lightweight by accepting two fields: `Term` and `Respelling` (case-insensitive by default), pre-seeded with fantasy examples (`Aelindor → ay-LIN-dor`, `Xylar → ZYE-lar`) so you can verify word-boundary behavior immediately. Notice that the quick-add UI does not show a separate IPA field, keeping fast respelling entry frictionless.

For publishing houses that already maintain formal phonetic lexicons, the importer accepts `.pls`, `.xml` (W3C PLS `<lexeme>` elements with `<grapheme>`, `<phoneme>`, and `<alias>`), `.json`, `.csv`, and `.tsv` files. Any `ipa`, `alias`, and `caseSensitive` properties present on imported entries are retained in memory and written straight back out when you export W3C PLS 1.0 XML (`xmlns="http://www.w3.org/2005/01/pronunciation-lexicon"`, `alphabet="ipa"`), structured JSON, or five-column CSV.

Testing excerpts live with matched-replacement metrics

Paste any chapter sample containing invented names, abbreviations, or director cues into the right-hand test manuscript box. The live readout displays how many lexicon substitutions triggered alongside the full respelled preview, letting you spot capitalization quirks, plural suffixes, possessive apostrophes, or word-boundary edge cases before committing a multi-hour audio render.

Because pre-seeded fantasy rules (`Aelindor` and `Xylar`) load automatically on first visit, you can experiment right away—toggling entries on or deleting sample rows—to see exact word-boundary replacement in action. Notice that imported dictionaries preserving `caseSensitive: true` honor exact casing, while entries added through the quick-add row match flexibly regardless of sentence-initial capitalization.

For broader structural preparation—such as stripping URLs, HTML tags, footnotes, or stray page numerals—run the draft through the manuscript TTS cleaner first, then apply your custom pronunciation lexicon last so structural edits never interfere with carefully tuned phonetic syllables or imported glossary entries.

Routing respelled scripts to Studio and exporting glossaries

Editing entries, importing dictionaries, and testing live substitutions run entirely locally in your browser with no sign-in required. Clicking the primary Studio handoff button routes your respelled preview text straight into `/settings/studio?view=new` under `Lexicon Script`, ready for voice casting without retyping a word.

Need to archive or share the dictionary itself across chapters or multi-book series installments? Exporting W3C PLS 1.0 XML, JSON, or CSV incurs zero extra credits for active FullCastBook subscribers and paid credit-pack holders, letting publishing teams maintain one canonical pronunciation bible across editions and revisions. Pair this step with our audiobook pronunciation guide or check formatted scene dialogue in screenplay to audio script.

FAQ

Pronunciation Lexicon Builder: FAQ

Something not covered here? Email us at support@fullcastbook.com

Can I enter IPA phonemes directly in the quick-add boxes?

The quick-add inputs take a term and a phonetic respelling (such as Aelindor → ay-LIN-dor). However, if you import a .pls, .xml, .json, or .csv file that already contains IPA phoneme or alias fields, those values are preserved when you export.

Will replacing a character's name break [whisper] or <ssml> tags?

No. The scanner isolates [vocal] performance cues and <...> XML/SSML tags before matching words, so stage directions are never modified.

What happens if one dictionary term is inside another?

Entries are sorted longest-term-first and evaluated in a single left-to-right pass with word-boundary checks for ASCII terms, ensuring longer phrases take priority without cascading rewrites.

Which file formats can I import and export?

You can import .pls, .xml (W3C PLS <lexeme>), .json, .csv, and .tsv files, and export standards-compliant W3C PLS 1.0 XML, JSON, or CSV.

Do I pay extra credits to download PLS XML, JSON, or CSV files?

No. Active subscribers and paid credit-pack owners export lexicon files at zero extra credits; free visitors can edit and test respellings locally before choosing a plan.

Are my glossary terms uploaded to a server?

No. All imports, regex boundary matching, and XML/JSON/CSV file generation run directly inside your browser tab.

Pronunciations locked in? Send the script to Studio.

Move your respelled draft straight into FullCastBook Studio to hear every name pronounced consistently across your cast.