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

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

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)


592
593
594
595
596
597
598
599
600
601
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 592

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)


592
593
594
595
596
597
598
599
600
601
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 592

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)


592
593
594
595
596
597
598
599
600
601
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 592

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)


592
593
594
595
596
597
598
599
600
601
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 592

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)


592
593
594
595
596
597
598
599
600
601
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 592

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)


592
593
594
595
596
597
598
599
600
601
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 592

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