Class: Aws::TranscribeStreamingService::Types::Result
- Inherits:
-
Struct
- Object
- Struct
- Aws::TranscribeStreamingService::Types::Result
- Includes:
- Structure
- Defined in:
- 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
-
#alternatives ⇒ Array<Types::Alternative>
A list of possible alternative transcriptions for the input audio.
-
#channel_id ⇒ String
Indicates which audio channel is associated with the ‘Result`.
-
#end_time ⇒ Float
The end time, in milliseconds, of the ‘Result`.
-
#is_partial ⇒ Boolean
Indicates if the segment is complete.
-
#language_code ⇒ String
The language code that represents the language spoken in your audio stream.
-
#language_identification ⇒ Array<Types::LanguageWithScore>
The language code of the dominant language identified in your stream.
-
#result_id ⇒ String
Provides a unique identifier for the ‘Result`.
-
#start_time ⇒ Float
The start time, in milliseconds, of the ‘Result`.
Instance Attribute Details
#alternatives ⇒ Array<Types::Alternative>
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of ‘Items`, `Entities`, or `Transcript`.
1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 1532 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_id ⇒ String
Indicates which audio channel is associated with the ‘Result`.
1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 1532 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_time ⇒ Float
The end time, in milliseconds, of the ‘Result`.
1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 1532 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_partial ⇒ Boolean
Indicates if the segment is complete.
If ‘IsPartial` is `true`, the segment is not complete. If `IsPartial` is `false`, the segment is complete.
1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 1532 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_code ⇒ String
The language code that represents the language spoken in your audio stream.
1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 1532 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_identification ⇒ Array<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.
1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 1532 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_id ⇒ String
Provides a unique identifier for the ‘Result`.
1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 1532 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_time ⇒ Float
The start time, in milliseconds, of the ‘Result`.
1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 1532 class Result < Struct.new( :result_id, :start_time, :end_time, :is_partial, :alternatives, :channel_id, :language_code, :language_identification) SENSITIVE = [] include Aws::Structure end |