Class: Aws::TranscribeStreamingService::Types::Item
- Inherits:
-
Struct
- Object
- Struct
- Aws::TranscribeStreamingService::Types::Item
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-transcribestreamingservice/types.rb
Overview
A word, phrase, or punctuation mark in your transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#confidence ⇒ Float
The confidence score associated with a word or phrase in your transcript.
-
#content ⇒ String
The word or punctuation that was transcribed.
-
#end_time ⇒ Float
The end time, in milliseconds, of the transcribed item.
-
#speaker ⇒ String
If speaker partitioning is enabled, ‘Speaker` labels the speaker of the specified item.
-
#stable ⇒ Boolean
If partial result stabilization is enabled, ‘Stable` indicates whether the specified item is stable (`true`) or if it may change when the segment is complete (`false`).
-
#start_time ⇒ Float
The start time, in milliseconds, of the transcribed item.
-
#type ⇒ String
The type of item identified.
-
#vocabulary_filter_match ⇒ Boolean
Indicates whether the specified item matches a word in the vocabulary filter included in your request.
Instance Attribute Details
#confidence ⇒ Float
The confidence score associated with a word or phrase in your transcript.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.
437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 437 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |
#content ⇒ String
The word or punctuation that was transcribed.
437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 437 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |
#end_time ⇒ Float
The end time, in milliseconds, of the transcribed item.
437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 437 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |
#speaker ⇒ String
If speaker partitioning is enabled, ‘Speaker` labels the speaker of the specified item.
437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 437 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |
#stable ⇒ Boolean
If partial result stabilization is enabled, ‘Stable` indicates whether the specified item is stable (`true`) or if it may change when the segment is complete (`false`).
437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 437 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |
#start_time ⇒ Float
The start time, in milliseconds, of the transcribed item.
437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 437 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of item identified. Options are: ‘PRONUNCIATION` (spoken words) and `PUNCTUATION`.
437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 437 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |
#vocabulary_filter_match ⇒ Boolean
Indicates whether the specified item matches a word in the vocabulary filter included in your request. If ‘true`, there is a vocabulary filter match.
437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 437 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |