Class: Aws::TranscribeService::Types::SyncItem

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

Overview

A word or punctuation mark in your transcript. Labels such as SpeakerLabel and ChannelLabel are present only if you enabled the related feature.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_label ⇒ String

The audio channel this item came from (ch_0 or ch_1). Present if you enabled ChannelIdentification.

Item start and end times are measured from the start of the audio, separately for each channel.

Returns:

  • (String)


5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end

#content ⇒ String

The word or punctuation mark. In RedactedResults, Amazon Transcribe replaces redacted words with [PII].

Returns:

  • (String)


5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end

#end_time ⇒ Float

The time, in seconds from the start of your audio, when this item ends.

Returns:

  • (Float)


5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ Integer

The position of this item in the transcript, starting at 0.

Returns:

  • (Integer)


5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end

#language_code ⇒ String

The language of this item, as a locale (for example, en-US).

Returns:

  • (String)


5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end

#redactions ⇒ Array<Types::SyncRedaction>

The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items in RedactedResults.

Returns:



5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end

#speaker_label ⇒ String

The speaker of this item (for example, spk_0). Present if you enabled ShowSpeakerLabels.

Returns:

  • (String)


5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end

#start_time ⇒ Float

The time, in seconds from the start of your audio, when this item starts.

Returns:

  • (Float)


5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end

#vocabulary_filter_match ⇒ Boolean

Indicates whether this item matched a word in your custom vocabulary filter. Present if you included VocabularyFilterSettings.

Returns:

  • (Boolean)


5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 5217

class SyncItem < Struct.new(
  :id,
  :content,
  :start_time,
  :end_time,
  :language_code,
  :channel_label,
  :speaker_label,
  :vocabulary_filter_match,
  :redactions)
  SENSITIVE = []
  include Aws::Structure
end