SpeechAdaptation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Speech adaptation configuration.
Attributes
Name | Description |
phrase_sets |
MutableSequence[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 |
MutableSequence[str]
A collection of phrase set resource names to use. |
custom_classes |
MutableSequence[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 .
|
abnf_grammar |
google.cloud.speech_v1.types.SpeechAdaptation.ABNFGrammar
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 |
Classes
ABNFGrammar
ABNFGrammar(mapping=None, *, ignore_unknown_fields=False, **kwargs)