Properties
Protected stack
stack: string[]
Protected textToSpeak
textToSpeak: string[]
Methods
AddAlias
- AddAlias(text: string, alias: string): this
-
Parameters
-
text: string
-
alias: string
Returns this
AddBreakMs
- AddBreakMs(milliseconds: number): this
AddParagraph
- AddParagraph(text: string): this
AddSentence
- AddSentence(text: string | string[]): this
AddSpell
- AddSpell(text: string): this
AddSsml
- AddSsml(ssml: string): this
AddText
- AddText(text: string): this
GetAlias
- GetAlias(text: string, alias: string): string
-
Parameters
-
text: string
-
alias: string
Returns string
GetBreak
-
Parameters
Returns string
GetBreakMs
- GetBreakMs(milliseconds: number): string
-
Parameters
Returns string
GetEmphasis
-
Parameters
Returns string
GetInterpretAs
-
Parameters
Returns string
GetParagraph
- GetParagraph(text: string): string
-
Parameters
Returns string
GetProsody
- GetProsody(key: string, value: string, text: string): string
-
Parameters
-
key: string
-
value: string
-
text: string
Returns string
GetProsodyStart
- GetProsodyStart(key: string, value: string): string
-
Parameters
-
key: string
-
value: string
Returns string
GetSentence
- GetSentence(text: string): string
-
Parameters
Returns string
GetSpell
- GetSpell(text: string): string
-
Parameters
Returns string
escape
- escape(text: string): string
-
Parameters
Returns string