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.
429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 429 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.
429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 429 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.
429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 429 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.
429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 429 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`).
429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 429 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.
429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 429 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`.
429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 429 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.
429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 429 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |