Add pronunciation dictionary rules

Add rules to the pronunciation dictionary

Path parameters

pronunciation_dictionary_idstringRequired

The id of the pronunciation dictionary

Headers

xi-api-keystringRequired

Request

This endpoint expects an object.
ruleslist of objectsRequired

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

idstring

The ID of the pronunciation dictionary.

version_idstring

The version ID of the pronunciation dictionary.

version_rules_numinteger

The number of rules in the version of the pronunciation dictionary.

Errors