Show / Hide Table of Contents

Class SpeechRecognitionResult

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

Inheritance
System.Object
SpeechRecognitionResult
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Speech.v2beta1.Data
Assembly: Google.Apis.Speech.v2beta1.dll
Syntax
public class SpeechRecognitionResult : IDirectResponseSchema

Properties

Alternatives

Output only. 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.

Declaration
[JsonProperty("alternatives")]
public virtual IList<SpeechRecognitionAlternative> Alternatives { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<SpeechRecognitionAlternative>

ChannelTag

Output only. For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel. For audio_channel_count = N, its output values can range from 1 to N.

Declaration
[JsonProperty("channelTag")]
public virtual int? ChannelTag { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

LanguageCode

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.

Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top