Item Types
Each dictionary contains up to 100 items. Two types are supported:Alias (text replacement)
Replaces matched text with alternative text before synthesis:Phoneme (IPA notation)
Specifies exact pronunciation using the International Phonetic Alphabet:Using a Dictionary
Pass the dictionary ID when synthesizing speech: REST API:pronunciation_dict_id as a query parameter on the connection URL:
Managing Dictionaries
Create a dictionary
multipart/form-data instead of providing items as JSON. Plain text format:
List dictionaries
Get a dictionary
Update a dictionary
409 Conflict. Re-fetch and retry.
Delete a dictionary
Limits
| Limit | Value |
|---|---|
| Dictionaries per organization | 50 |
| Items per dictionary | 100 |
| Text field (match) | 200 characters |
| Alias / phoneme value | 500 characters |
| File upload | 1 MB |
File Upload Formats
When creating a dictionary via file upload, two formats are supported: PLS/XML — standard W3C Pronunciation Lexicon Specification format:word=aliasfor alias itemsword:/phoneme/for IPA phonemes