setPronunciations
Replace every pronunciation rule on the agent with the provided array. Use
addPronunciation() to append a single rule without
replacing the list.
Parameters
rules
Ordered list of pronunciation rules. Each rule has replace (the spelled-out
token), with (the phonetic replacement), and an optional
ignoreCase boolean.
Returns
AgentBase — Returns this for method chaining.