PhoneticTranscription

constructor(transcriptions: List<String>, locales: List<Locale>, tag: String, alphabet: String)

Parameters

transcriptions

Phonetic transcriptions of phrases from the TaggedMessage.message surrounded by a tag.

locales

Locales of the transcriptions languages sorted in the same order as transcriptions.

tag

Tag contained in a TaggedMessage.message that surrounds the phrases from TaggedMessage.message that the transcriptions refer to.

For example, for the message Turn left onto <roadNumber>A4</roadNumber> and then <roadNumber>A5</roadNumber> towards <signpostText>Scheepvaartmuseum</signpostText> the tag value would be set to roadNumber and signpostText

alphabet

Phonetic alphabet of the transcriptions, eg. "ipa" or "lhp".