PhoneticTranscription

data class PhoneticTranscription(val transcriptions: List<String>, val locales: List<Locale>, val tag: String, val alphabet: String)

Represents phonetic transcription.

Important: This is a Public Preview API. It may be changed or removed at any time.

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".

Constructors

Link copied to clipboard
constructor(transcriptions: List<String>, locales: List<Locale>, tag: String, alphabet: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tag: String
Link copied to clipboard