Class SpeechAdaptation (2.4.1)

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

Speech adaptation configuration. .. attribute:: phrase_sets

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.

:type: Sequence[google.cloud.speech_v1p1beta1.types.PhraseSet]

Attributes

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