ssmlify
Stentor API Reference / stentor-utils/src / ssmlify
Function: ssmlify()
ssmlify(
str,clean):string
Defined in: packages/stentor-utils/src/ssml.ts:111
Ensures the speech is properly wrapped by <speak> tags.
The method is innocuous if they already exist
Parameters​
str​
string
String to surround with <speak> tags
clean​
boolean = true
Returns​
string
String surrounded by <speak> tags