Class: Aws::TranscribeStreamingService::Types::Item
- Inherits:
-
Struct
- Object
- Struct
- Aws::TranscribeStreamingService::Types::Item
- Defined in:
- gems/aws-sdk-transcribestreamingservice/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 of the transcribed item in seconds, with millisecond precision (e.g., 1.056).
-
#speaker ⇒ String
If speaker partitioning is enabled,
Speakerlabels the speaker of the specified item. -
#stable ⇒ Boolean
If partial result stabilization is enabled,
Stableindicates whether the specified item is stable (true) or if it may change when the segment is complete (false). -
#start_time ⇒ Float
The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056).
-
#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.
616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 616 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.
616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 616 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 of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 616 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.
616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 616 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).
616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 616 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 of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 616 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.
616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 616 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.
616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 616 class Item < Struct.new( :start_time, :end_time, :type, :content, :vocabulary_filter_match, :speaker, :confidence, :stable) SENSITIVE = [] include Aws::Structure end |