Class SpeechTranscription (2.12.0)

SpeechTranscription(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
alternatives MutableSequence[google.cloud.videointelligence_v1p3beta1.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.
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.