public sealed class SpeechTranscription : IMessage<SpeechTranscription>, IEquatable<SpeechTranscription>, IDeepCloneable<SpeechTranscription>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class SpeechTranscription.
A speech recognition result corresponding to a portion of the audio.
Implements
IMessageSpeechTranscription, IEquatableSpeechTranscription, IDeepCloneableSpeechTranscription, IBufferMessage, IMessageNamespace
Google.Cloud.VideoIntelligence.V1Assembly
Google.Cloud.VideoIntelligence.V1.dll
Constructors
SpeechTranscription()
public SpeechTranscription()
SpeechTranscription(SpeechTranscription)
public SpeechTranscription(SpeechTranscription other)
Parameter | |
---|---|
Name | Description |
other |
SpeechTranscription |
Properties
Alternatives
public RepeatedField<SpeechRecognitionAlternative> Alternatives { get; }
May contain one or more recognition hypotheses (up to the maximum specified
in max_alternatives
). These alternatives are ordered in terms of
accuracy, with the top (first) alternative being the most probable, as
ranked by the recognizer.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSpeechRecognitionAlternative |
LanguageCode
public string LanguageCode { get; set; }
Output only. The BCP-47 language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.
Property Value | |
---|---|
Type | Description |
string |