Class: Aws::TranscribeService::Types::NonTalkTimeFilter

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

Overview

Note:

When making an API call, you may pass NonTalkTimeFilter data as a hash:

{
  threshold: 1,
  absolute_time_range: {
    start_time: 1,
    end_time: 1,
    first: 1,
    last: 1,
  },
  relative_time_range: {
    start_percentage: 1,
    end_percentage: 1,
    first: 1,
    last: 1,
  },
  negate: false,
}

Flag the presence or absence of periods of silence in your Call Analytics transcription output.

Rules using NonTalkTimeFilter are designed to match:

  • The presence of silence at specified periods throughout the call

  • The presence of speech at specified periods throughout the call

See Rule criteria for usage examples.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#absolute_time_rangeTypes::AbsoluteTimeRange

Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence. See for more detail.



3470
3471
3472
3473
3474
3475
3476
3477
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 3470

class NonTalkTimeFilter < Struct.new(
  :threshold,
  :absolute_time_range,
  :relative_time_range,
  :negate)
  SENSITIVE = []
  include Aws::Structure
end

#negateBoolean

Set to TRUE to flag periods of speech. Set to FALSE to flag periods of silence

Returns:

  • (Boolean)


3470
3471
3472
3473
3474
3475
3476
3477
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 3470

class NonTalkTimeFilter < Struct.new(
  :threshold,
  :absolute_time_range,
  :relative_time_range,
  :negate)
  SENSITIVE = []
  include Aws::Structure
end

#relative_time_rangeTypes::RelativeTimeRange

Allows you to specify a time range (in percentage) in your media file, during which you want to search for a period of silence. See for more detail.



3470
3471
3472
3473
3474
3475
3476
3477
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 3470

class NonTalkTimeFilter < Struct.new(
  :threshold,
  :absolute_time_range,
  :relative_time_range,
  :negate)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdInteger

Specify the duration, in milliseconds, of the period of silence you want to flag. For example, you can flag a silent period that lasts 30000 milliseconds.

Returns:

  • (Integer)


3470
3471
3472
3473
3474
3475
3476
3477
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 3470

class NonTalkTimeFilter < Struct.new(
  :threshold,
  :absolute_time_range,
  :relative_time_range,
  :negate)
  SENSITIVE = []
  include Aws::Structure
end