Send feedback
Class SpeechRecognitionAlternative (2.8.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.8.2 keyboard_arrow_down
SpeechRecognitionAlternative(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
Alternative hypotheses (a.k.a. n-best list).
Attributes
Name Description transcript
str
Output only. Transcript text representing the
words that the user spoke.
confidence
float
Output only. The confidence estimate between 0.0 and 1.0. A
higher number indicates an estimated greater likelihood that
the recognized words are correct. This field is set only for
the top alternative. This field is not guaranteed to be
accurate and users should not rely on it to be always
provided. The default of 0.0 is a sentinel value indicating
``confidence`` was not set.
words
Sequence[google.cloud.videointelligence_v1p1beta1.types.WordInfo ]
Output only. A list of word-specific
information for each recognized word.
Inheritance
builtins.object
>
proto.message.Message
>
SpeechRecognitionAlternative
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 2023-03-30 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?