Class SpeechRecognitionResult
A speech recognition result corresponding to a portion of the audio.
Implements
Inherited Members
Namespace: Google.Apis.Speech.v1p1beta1.Data
Assembly: Google.Apis.Speech.v1p1beta1.dll
Syntax
public class SpeechRecognitionResult : IDirectResponseSchema
Properties
Alternatives
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 |
---|---|
IList<SpeechRecognitionAlternative> |
ChannelTag
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 |
---|---|
int? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
string |
ResultEndTime
Time offset of the end of this result relative to the beginning of the audio.
Declaration
[JsonProperty("resultEndTime")]
public virtual object ResultEndTime { get; set; }
Property Value
Type | Description |
---|---|
object |