Class: Google::Cloud::VideoIntelligence::V1::SpeechTranscription
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1::SpeechTranscription
- Defined in:
- lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb
Overview
A speech recognition result corresponding to a portion of the audio.
Instance Attribute Summary collapse
-
#alternatives ⇒ Array<Google::Cloud::VideoIntelligence::V1::SpeechRecognitionAlternative>
May contain one or more recognition hypotheses (up to the maximum specified in
max_alternatives
). -
#language_code ⇒ String
Output only.
Instance Attribute Details
#alternatives ⇒ Array<Google::Cloud::VideoIntelligence::V1::SpeechRecognitionAlternative>
Returns 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.
458 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 458 class SpeechTranscription; end |
#language_code ⇒ String
Returns 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.
458 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 458 class SpeechTranscription; end |