Class SpeechAdaptation (2.12.0)

SpeechAdaptation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Speech adaptation configuration.

Attributes

NameDescription
phrase_sets Sequence[google.cloud.speech_v1.types.PhraseSet]
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.
phrase_set_references Sequence[str]
A collection of phrase set resource names to use.
custom_classes Sequence[google.cloud.speech_v1.types.CustomClass]
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.