Alias

data class Alias(val word: String, val readAs: String) : PronunciationRule

Simple text substitution. Generates an SSML <sub alias="..."> tag.

The TTS engine reads readAs instead of word.

Constructors

Link copied to clipboard
constructor(word: String, readAs: String)

Properties

Link copied to clipboard

The replacement text the TTS engine speaks.

Link copied to clipboard
open override val word: String

The word to match (case-insensitive).