pronunciation_dict_id.
With the dictionary above, the string I ate some jambalaya on tchoupitoulas street becomes I ate some <<ˈ|dʒ|ə|m|ˈ|b|ə|ˈ|l|aɪ|ˈ|ə>> on chop-uh-TOO-liss street before being handed off to the model.
Case sensitivity
Each entry has acase_sensitive flag. The default is false.
When case_sensitive is false, new york matches New York, NEW YORK, and any other capitalization. Case-insensitive matching requires Sonic 3.6+.
When case_sensitive is true, a lowercase key also matches sentence-start capitalization (cat / Cat, not CAT). Mixed-case keys match only that spelling (LaTeX does not match latex).
The API rejects two entries that would collide under these rules, for example latex and LaTeX when either is case-insensitive.
Use false for common words when you want every capitalization. Use true when case distinguishes words, such as LaTeX (typesetting) vs latex (rubber).
Sharing a dictionary
New dictionaries are private by default, so only your organization can use them. To use this pronunciation dictionary for Text-to-Speech generation in an external account, set its access to public.- In the dashboard: open the Pronunciation tab, use the three-dots menu next to a dictionary, and select Share.
- Via the API: call the Update Pronunciation Dictionary API and set
access.typetopublic. Set it back toprivateto stop sharing.
access.type set to public.