Add pronunciation dictionary rules
Add rules to the pronunciation dictionary
Path parameters
pronunciation_dictionary_id
The id of the pronunciation dictionary
Headers
xi-api-key
Request
This endpoint expects an object.
rules
List of pronunciation rules. Rule can be either: an alias rule: {‘string_to_replace’: ‘a’, ‘type’: ‘alias’, ‘alias’: ‘b’, } or a phoneme rule: {‘string_to_replace’: ‘a’, ‘type’: ‘phoneme’, ‘phoneme’: ‘b’, ‘alphabet’: ‘ipa’ }
Response
Successful Response
id
The ID of the pronunciation dictionary.
version_id
The version ID of the pronunciation dictionary.
version_rules_num
The number of rules in the version of the pronunciation dictionary.
Errors
422
Pronunciation Dictionary Add Rules Request Unprocessable Entity Error