StreamingRecognitionResult

A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.

JSON representation
{
  "alternatives": [
    {
      object(SpeechRecognitionAlternative)
    }
  ],
  "isFinal": boolean,
  "stability": number,
}
Fields
alternatives[]

object(SpeechRecognitionAlternative)

[Output-only] May contain one or more recognition hypotheses (up to the maximum specified in maxAlternatives).

isFinal

boolean

[Output-only] 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

number

[Output-only] An estimate of the probability that the recognizer will not change its guess about this interim result. Values range from 0.0 (completely unstable) to 1.0 (completely stable). Note that this is not the same as confidence, which estimates the probability that a recognition result is correct. This field is only provided for interim results (isFinal=false). The default of 0.0 is a sentinel value indicating stability was not set.

Send feedback about...

Google Cloud Speech API