BotCustomVocabularyItem

data class BotCustomVocabularyItem(val displayAs: String? = null, val phrase: String, val weight: Int? = null)

A custom vocabulary item that contains the phrase to recognize and a weight to give the boost.

Constructors

Link copied to clipboard
constructor(displayAs: String? = null, phrase: String, weight: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val displayAs: String? = null

Defines how you want your phrase to look in your transcription output.

Link copied to clipboard

Phrase that should be recognized.

Link copied to clipboard
val weight: Int? = null

The degree to which the phrase recognition is boosted. The weight 0 means that no boosting will be applied and the entry will only be used for performing replacements using the displayAs field.