Class SpeechTranscription (2.2.0)

public sealed class SpeechTranscription : IMessage<SpeechTranscription>, IEquatable<SpeechTranscription>, IDeepCloneable<SpeechTranscription>, IBufferMessage, IMessage

A speech recognition result corresponding to a portion of the audio.

Inheritance

Object > SpeechTranscription

Namespace

Google.Cloud.VideoIntelligence.V1

Assembly

Google.Cloud.VideoIntelligence.V1.dll

Constructors

SpeechTranscription()

public SpeechTranscription()

SpeechTranscription(SpeechTranscription)

public SpeechTranscription(SpeechTranscription other)
Parameter
NameDescription
otherSpeechTranscription

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
TypeDescription
RepeatedField<SpeechRecognitionAlternative>

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
TypeDescription
String