public sealed class SpeechRecognitionAlternative : IMessage<SpeechRecognitionAlternative>, IEquatable<SpeechRecognitionAlternative>, IDeepCloneable<SpeechRecognitionAlternative>, IBufferMessage, IMessage
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 of a non-streaming
result or, of a streaming result where is_final=true.
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.
A list of word-specific information for each recognized word.
Note: When enable_speaker_diarization is true, you will see all the words
from the beginning of the audio.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSpeechRecognitionAlternative\u003c/code\u003e class, which represents alternative hypotheses in speech recognition results, essentially providing an n-best list of potential transcriptions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeechRecognitionAlternative\u003c/code\u003e class is available in the \u003ccode\u003eGoogle.Cloud.Speech.V1\u003c/code\u003e namespace, as part of the \u003ccode\u003eGoogle.Cloud.Speech.V1.dll\u003c/code\u003e assembly, within various versions from 2.2.0 up to the latest 3.8.0, with 2.7.0 being the currently viewed version.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage<SpeechRecognitionAlternative>\u003c/code\u003e, \u003ccode\u003eIEquatable<SpeechRecognitionAlternative>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<SpeechRecognitionAlternative>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSpeechRecognitionAlternative\u003c/code\u003e class include \u003ccode\u003eConfidence\u003c/code\u003e, a float value representing the accuracy of the transcription, \u003ccode\u003eTranscript\u003c/code\u003e, the recognized text, and \u003ccode\u003eWords\u003c/code\u003e, a list containing word-specific information and timing.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be instantiated using either a default constructor (\u003ccode\u003eSpeechRecognitionAlternative()\u003c/code\u003e) or a copy constructor (\u003ccode\u003eSpeechRecognitionAlternative(SpeechRecognitionAlternative other)\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,[]]