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

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#confidenceFloat

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.

Returns:

  • (Float)


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

#contentString

The word or punctuation that was transcribed.

Returns:

  • (String)


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_timeFloat

The end time, in milliseconds, of the transcribed item.

Returns:

  • (Float)


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

#speakerString

If speaker partitioning is enabled, ‘Speaker` labels the speaker of the specified item.

Returns:

  • (String)


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

#stableBoolean

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`).

Returns:

  • (Boolean)


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_timeFloat

The start time, in milliseconds, of the transcribed item.

Returns:

  • (Float)


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

#typeString

The type of item identified. Options are: ‘PRONUNCIATION` (spoken words) and `PUNCTUATION`.

Returns:

  • (String)


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_matchBoolean

Indicates whether the specified item matches a word in the vocabulary filter included in your request. If ‘true`, there is a vocabulary filter match.

Returns:

  • (Boolean)


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