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"]],[["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 2025-03-21 UTC."],[[["This webpage details the `SpeechRecognitionAlternative` class, which represents alternative hypotheses in speech recognition results, essentially providing an n-best list of potential transcriptions."],["The `SpeechRecognitionAlternative` class is available in the `Google.Cloud.Speech.V1` namespace, as part of the `Google.Cloud.Speech.V1.dll` assembly, within various versions from 2.2.0 up to the latest 3.8.0, with 2.7.0 being the currently viewed version."],["The class inherits from `Object` and implements several interfaces including `IMessage\u003cSpeechRecognitionAlternative\u003e`, `IEquatable\u003cSpeechRecognitionAlternative\u003e`, `IDeepCloneable\u003cSpeechRecognitionAlternative\u003e`, `IBufferMessage`, and `IMessage`."],["Key properties of the `SpeechRecognitionAlternative` class include `Confidence`, a float value representing the accuracy of the transcription, `Transcript`, the recognized text, and `Words`, a list containing word-specific information and timing."],["The class can be instantiated using either a default constructor (`SpeechRecognitionAlternative()`) or a copy constructor (`SpeechRecognitionAlternative(SpeechRecognitionAlternative other)`)."]]],[]]