You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::TranscribeStreamingService::Types::Alternative

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb

Overview

A list of possible transcriptions for the audio.

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Types::Item>

One or more alternative interpretations of the input audio.

Returns:



23
24
25
26
27
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 23

class Alternative < Struct.new(
  :transcript,
  :items)
  include Aws::Structure
end

#transcriptString

The text that was transcribed from the audio.

Returns:

  • (String)


23
24
25
26
27
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 23

class Alternative < Struct.new(
  :transcript,
  :items)
  include Aws::Structure
end