Class: Google::Cloud::VideoIntelligence::V1p3beta1::SpeechTranscription
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1p3beta1::SpeechTranscription
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb
Overview
A speech recognition result corresponding to a portion of the audio.
Instance Attribute Summary collapse
-
#alternatives ⇒ ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::SpeechRecognitionAlternative>
May contain one or more recognition hypotheses (up to the maximum specified in
max_alternatives
). -
#language_code ⇒ ::String
readonly
Output only.
Instance Attribute Details
#alternatives ⇒ ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::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.
709 710 711 712 |
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 709 class SpeechTranscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_code ⇒ ::String (readonly)
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.
709 710 711 712 |
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 709 class SpeechTranscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |