Class: Aws::TranscribeStreamingService::Types::Item

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

Overview

A word or phrase transcribed from the input audio.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The word or punctuation that was recognized in the input audio.

Returns:

  • (String)


137
138
139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 137

class Item < Struct.new(
  :start_time,
  :end_time,
  :type,
  :content,
  :vocabulary_filter_match,
  :speaker)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeFloat

The offset from the beginning of the audio stream to the end of the audio that resulted in the item.

Returns:

  • (Float)


137
138
139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 137

class Item < Struct.new(
  :start_time,
  :end_time,
  :type,
  :content,
  :vocabulary_filter_match,
  :speaker)
  SENSITIVE = []
  include Aws::Structure
end

#speakerString

If speaker identification is enabled, shows the speakers identified in the real-time stream.

Returns:

  • (String)


137
138
139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 137

class Item < Struct.new(
  :start_time,
  :end_time,
  :type,
  :content,
  :vocabulary_filter_match,
  :speaker)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeFloat

The offset from the beginning of the audio stream to the beginning of the audio that resulted in the item.

Returns:

  • (Float)


137
138
139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 137

class Item < Struct.new(
  :start_time,
  :end_time,
  :type,
  :content,
  :vocabulary_filter_match,
  :speaker)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the item. PRONUNCIATION indicates that the item is a word that was recognized in the input audio. PUNCTUATION indicates that the item was interpreted as a pause in the input audio.

Returns:

  • (String)


137
138
139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 137

class Item < Struct.new(
  :start_time,
  :end_time,
  :type,
  :content,
  :vocabulary_filter_match,
  :speaker)
  SENSITIVE = []
  include Aws::Structure
end

#vocabulary_filter_matchBoolean

Indicates whether a word in the item matches a word in the vocabulary filter you've chosen for your real-time stream. If true then a word in the item matches your vocabulary filter.

Returns:

  • (Boolean)


137
138
139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 137

class Item < Struct.new(
  :start_time,
  :end_time,
  :type,
  :content,
  :vocabulary_filter_match,
  :speaker)
  SENSITIVE = []
  include Aws::Structure
end