Class: Aws::TranscribeStreamingService::Types::MedicalItem

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)


600
601
602
603
604
605
606
607
608
609
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 600

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

#contentString

The word or punctuation that was transcribed.

Returns:

  • (String)


600
601
602
603
604
605
606
607
608
609
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 600

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

#end_timeFloat

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

Returns:

  • (Float)


600
601
602
603
604
605
606
607
608
609
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 600

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

#speakerString

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

Returns:

  • (String)


600
601
602
603
604
605
606
607
608
609
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 600

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

#start_timeFloat

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

Returns:

  • (Float)


600
601
602
603
604
605
606
607
608
609
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 600

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

#typeString

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

Returns:

  • (String)


600
601
602
603
604
605
606
607
608
609
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 600

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