set_rules
Add or update alias and phoneme rules on a pronunciation dictionary by ID to control exact word and phrase pronunciation.
Instructions
Set Rules On The Pronunciation Dictionary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | 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' } | |
| pronunciation_dictionary_id | Yes | The id of the pronunciation dictionary |