TaggedMessage

data class TaggedMessage(val message: String, val phonetics: List<PhoneticTranscription>)

Represents a tagged message, with tags surrounding phrases whose phonetic transcriptions are provided via phonetics.

For example: Turn left onto <roadNumber>A4</roadNumber> and then <roadNumber>A5</roadNumber> towards <signpostText>Scheepvaartmuseum</signpostText>

Parameters

message

Message containing tags to be synthesized as in the example above.

phonetics

Phonetic data of the message to be used for phrases surrounded by tags.

Constructors

Link copied to clipboard
fun TaggedMessage(message: String, phonetics: List<PhoneticTranscription>)

Properties

Link copied to clipboard
val message: String
Link copied to clipboard
val phonetics: List<PhoneticTranscription>