Class: Google::Cloud::VideoIntelligence::V1::SpeechTranscription

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#alternativesArray<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.

Returns:



458
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 458

class SpeechTranscription; end

#language_codeString

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.

Returns:

  • (String)

    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