Class: Aws::TranscribeStreamingService::Types::Result

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

Overview

The Result associated with a ``.

Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alternativesArray<Types::Alternative>

A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of Items, Entities, or Transcript.

Returns:



1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 1620

class Result < Struct.new(
  :result_id,
  :start_time,
  :end_time,
  :is_partial,
  :alternatives,
  :channel_id,
  :language_code,
  :language_identification)
  SENSITIVE = []
  include Aws::Structure
end

#channel_idString

Indicates which audio channel is associated with the Result.

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 1620

class Result < Struct.new(
  :result_id,
  :start_time,
  :end_time,
  :is_partial,
  :alternatives,
  :channel_id,
  :language_code,
  :language_identification)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeFloat

The end time of the Result in seconds, with millisecond precision (e.g., 1.056).

Returns:

  • (Float)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 1620

class Result < Struct.new(
  :result_id,
  :start_time,
  :end_time,
  :is_partial,
  :alternatives,
  :channel_id,
  :language_code,
  :language_identification)
  SENSITIVE = []
  include Aws::Structure
end

#is_partialBoolean

Indicates if the segment is complete.

If IsPartial is true, the segment is not complete. If IsPartial is false, the segment is complete.

Returns:

  • (Boolean)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 1620

class Result < Struct.new(
  :result_id,
  :start_time,
  :end_time,
  :is_partial,
  :alternatives,
  :channel_id,
  :language_code,
  :language_identification)
  SENSITIVE = []
  include Aws::Structure
end

#language_codeString

The language code that represents the language spoken in your audio stream.

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 1620

class Result < Struct.new(
  :result_id,
  :start_time,
  :end_time,
  :is_partial,
  :alternatives,
  :channel_id,
  :language_code,
  :language_identification)
  SENSITIVE = []
  include Aws::Structure
end

#language_identificationArray<Types::LanguageWithScore>

The language code of the dominant language identified in your stream.

If you enabled channel identification and each channel of your audio contains a different language, you may have more than one result.

Returns:



1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 1620

class Result < Struct.new(
  :result_id,
  :start_time,
  :end_time,
  :is_partial,
  :alternatives,
  :channel_id,
  :language_code,
  :language_identification)
  SENSITIVE = []
  include Aws::Structure
end

#result_idString

Provides a unique identifier for the Result.

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 1620

class Result < Struct.new(
  :result_id,
  :start_time,
  :end_time,
  :is_partial,
  :alternatives,
  :channel_id,
  :language_code,
  :language_identification)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeFloat

The start time of the Result in seconds, with millisecond precision (e.g., 1.056).

Returns:

  • (Float)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 1620

class Result < Struct.new(
  :result_id,
  :start_time,
  :end_time,
  :is_partial,
  :alternatives,
  :channel_id,
  :language_code,
  :language_identification)
  SENSITIVE = []
  include Aws::Structure
end