A streaming speech recognition result corresponding to a
portion of the audio that is currently being processed.
Attributes
Name
Description
alternatives
MutableSequence[google.cloud.speech_v1p1beta1.types.SpeechRecognitionAlternative]
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.
is_final
bool
If false, this StreamingRecognitionResult represents
an interim result that may change. If true, this is the
final time the speech service will return this particular
StreamingRecognitionResult, the recognizer will not
return any further hypotheses for this portion of the
transcript and corresponding audio.
stability
float
An estimate of the likelihood that the recognizer will not
change its guess about this interim result. Values range
from 0.0 (completely unstable) to 1.0 (completely stable).
This field is only provided for interim results
(is_final=false). The default of 0.0 is a sentinel value
indicating stability was not set.
result_end_time
google.protobuf.duration_pb2.Duration
Time offset of the end of this result
relative to the beginning of the audio.
channel_tag
int
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'.
language_code
str
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class StreamingRecognitionResult (2.33.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.33.0 (latest)](/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.32.0](/python/docs/reference/speech/2.32.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.31.0](/python/docs/reference/speech/2.31.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.30.0](/python/docs/reference/speech/2.30.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.29.0](/python/docs/reference/speech/2.29.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.28.1](/python/docs/reference/speech/2.28.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.27.0](/python/docs/reference/speech/2.27.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.26.1](/python/docs/reference/speech/2.26.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.25.1](/python/docs/reference/speech/2.25.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.24.1](/python/docs/reference/speech/2.24.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.23.0](/python/docs/reference/speech/2.23.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.22.0](/python/docs/reference/speech/2.22.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.21.1](/python/docs/reference/speech/2.21.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.20.1](/python/docs/reference/speech/2.20.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.19.0](/python/docs/reference/speech/2.19.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.18.0](/python/docs/reference/speech/2.18.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.17.3](/python/docs/reference/speech/2.17.3/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.16.2](/python/docs/reference/speech/2.16.2/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.15.1](/python/docs/reference/speech/2.15.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.14.1](/python/docs/reference/speech/2.14.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.13.1](/python/docs/reference/speech/2.13.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.12.0](/python/docs/reference/speech/2.12.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.11.1](/python/docs/reference/speech/2.11.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.10.0](/python/docs/reference/speech/2.10.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.9.3](/python/docs/reference/speech/2.9.3/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.8.0](/python/docs/reference/speech/2.8.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.7.0](/python/docs/reference/speech/2.7.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.6.0](/python/docs/reference/speech/2.6.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.5.1](/python/docs/reference/speech/2.5.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.4.1](/python/docs/reference/speech/2.4.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.3.0](/python/docs/reference/speech/2.3.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.2.1](/python/docs/reference/speech/2.2.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.1.0](/python/docs/reference/speech/2.1.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [2.0.1](/python/docs/reference/speech/2.0.1/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [1.3.4](/python/docs/reference/speech/1.3.4/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [1.2.0](/python/docs/reference/speech/1.2.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)\n- [1.1.0](/python/docs/reference/speech/1.1.0/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult) \n\n StreamingRecognitionResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nA streaming speech recognition result corresponding to a\nportion of the audio that is currently being processed."]]