How it works
After the transcription is generated, Gladia scans the output text for any of the variant strings you listed as dictionary values. When it finds one, it swaps it for the corresponding key. The matching is deterministic: if the text is there, it gets replaced; if it isn’t, nothing happens. Keys (replacement to write) are case sensitive. Values (variants to find) are not. Values can contain multiple words.When to use custom spelling vs. custom vocabulary
Use custom spelling when the transcription already recognizes the word but writes it differently than you want. Common cases:- A person’s name comes through as “Gaurish” or “Gaureish” but you need “Gorish”.
- The model writes “data-science” and you want “Data Science”.
- You want to replace filler words or normalize punctuation (e.g. “period” → ”.”).
| Custom vocabulary | Custom spelling | |
|---|---|---|
| What it does | Listens to how a word sounds and replaces phonetically similar words in the transcript | Finds exact text strings in the transcript and replaces them with your preferred spelling |
| Mechanism | Phoneme-based similarity matching (probabilistic) | Text-based find-and-replace (deterministic) |
| Best for | Words that are consistently mis-transcribed: unusual proper nouns, new product names, niche jargon | Words that are recognizable but misspelled, e.g. “Gaurish” → “Gorish”, “data-science” → “Data Science” |
| Risk | Can produce false positives. Unrelated words that happen to sound similar may get replaced | No false positives, but it won’t help if the word isn’t recognized at all |
| Tuning | Adjust intensity and default_intensity to control aggressiveness | None needed. It either matches the text or it doesn’t |
Example configuration
How to build your spelling dictionary
- Run a transcription without custom spelling and review the output.
- Identify words that are close but not quite right. These are your candidates.
- Add each correct spelling as a key, and list every variant you’ve seen the model produce as values.
- Run again and verify the replacements look correct.