public sealed class SpeechRecognitionAlternative : IMessage<SpeechRecognitionAlternative>, IEquatable<SpeechRecognitionAlternative>, IDeepCloneable<SpeechRecognitionAlternative>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class SpeechRecognitionAlternative.
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.
Output only. A list of word-specific information for each recognized word.
Note: When enable_speaker_diarization is set to 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\u003eThe \u003ccode\u003eSpeechRecognitionAlternative\u003c/code\u003e class in the Google Cloud Video Intelligence v1 API provides alternative hypotheses for speech recognition, also known as an n-best list.\u003c/p\u003e\n"],["\u003cp\u003eThis class has properties for \u003ccode\u003eConfidence\u003c/code\u003e, a float indicating the likelihood of the recognized words being correct, and \u003ccode\u003eTranscript\u003c/code\u003e, which holds the recognized text.\u003c/p\u003e\n"],["\u003cp\u003eIt also contains the \u003ccode\u003eWords\u003c/code\u003e property, a \u003ccode\u003eRepeatedField\u003c/code\u003e list of \u003ccode\u003eWordInfo\u003c/code\u003e objects providing word-specific information.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers versions from 2.2.0 to 3.4.0, with 3.4.0 being the latest version of the \u003ccode\u003eSpeechRecognitionAlternative\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Video Intelligence v1 API - Class SpeechRecognitionAlternative (3.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.3.0/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.2.0/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.1.0/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.0.0/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.3.0/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.2.0/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative) \n\n public sealed class SpeechRecognitionAlternative : IMessage\u003cSpeechRecognitionAlternative\u003e, IEquatable\u003cSpeechRecognitionAlternative\u003e, IDeepCloneable\u003cSpeechRecognitionAlternative\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Video Intelligence v1 API class SpeechRecognitionAlternative.\n\nAlternative hypotheses (a.k.a. n-best list). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SpeechRecognitionAlternative \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SpeechRecognitionAlternative](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SpeechRecognitionAlternative](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SpeechRecognitionAlternative](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.SpeechRecognitionAlternative), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.VideoIntelligence.V1](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VideoIntelligence.V1.dll\n\nConstructors\n------------\n\n### SpeechRecognitionAlternative()\n\n public SpeechRecognitionAlternative()\n\n### SpeechRecognitionAlternative(SpeechRecognitionAlternative)\n\n public SpeechRecognitionAlternative(SpeechRecognitionAlternative other)\n\nProperties\n----------\n\n### Confidence\n\n public float Confidence { get; set; }\n\nOutput only. The confidence estimate between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. This field is set only for the top alternative.\nThis field is not guaranteed to be accurate and users should not rely on it\nto be always provided.\nThe default of 0.0 is a sentinel value indicating `confidence` was not set.\n\n### Transcript\n\n public string Transcript { get; set; }\n\nTranscript text representing the words that the user spoke.\n\n### Words\n\n public RepeatedField\u003cWordInfo\u003e Words { get; }\n\nOutput only. A list of word-specific information for each recognized word.\nNote: When `enable_speaker_diarization` is set to true, you will see all\nthe words from the beginning of the audio."]]