View Source GoogleApi.Speech.V1.Model.SpeechAdaptation (google_api_speech v0.28.0)

Speech adaptation configuration.

Attributes

  • abnfGrammar (type: GoogleApi.Speech.V1.Model.ABNFGrammar.t, default: nil) - Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
  • customClasses (type: list(GoogleApi.Speech.V1.Model.CustomClass.t), default: nil) - A collection of custom classes. To specify the classes inline, leave the class' name blank and fill in the rest of its fields, giving it a unique custom_class_id. Refer to the inline defined class in phrase hints by its custom_class_id.
  • phraseSetReferences (type: list(String.t), default: nil) - A collection of phrase set resource names to use.
  • phraseSets (type: list(GoogleApi.Speech.V1.Model.PhraseSet.t), default: nil) - A collection of phrase sets. To specify the hints inline, leave the phrase set's name blank and fill in the rest of its fields. Any phrase set can use any custom class.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Speech.V1.Model.SpeechAdaptation{
  abnfGrammar: GoogleApi.Speech.V1.Model.ABNFGrammar.t() | nil,
  customClasses: [GoogleApi.Speech.V1.Model.CustomClass.t()] | nil,
  phraseSetReferences: [String.t()] | nil,
  phraseSets: [GoogleApi.Speech.V1.Model.PhraseSet.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.