Send feedback
Class SpeechAdaptation (2.24.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.24.1 keyboard_arrow_down
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 )
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]