Class: Aws::TranscribeService::Types::TranscriptFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::TranscribeService::Types::TranscriptFilter
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-transcribeservice/types.rb
Overview
Flag the presence or absence of specific words or phrases detected in your Call Analytics transcription output.
Rules using ‘TranscriptFilter` are designed to match:
-
Custom words or phrases spoken by the agent, the customer, or both
-
Custom words or phrases not spoken by the agent, the customer, or either
-
Custom words or phrases that occur at a specific time frame
See [Rule criteria for post-call categories] and [Rule criteria for streaming categories] for usage examples.
[1]: docs.aws.amazon.com/transcribe/latest/dg/tca-categories-batch.html#tca-rules-batch [2]: docs.aws.amazon.com/transcribe/latest/dg/tca-categories-stream.html#tca-rules-stream
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#absolute_time_range ⇒ Types::AbsoluteTimeRange
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for the specified key words or phrases.
-
#negate ⇒ Boolean
Set to ‘TRUE` to flag the absence of the phrase that you specified in your request.
-
#participant_role ⇒ String
Specify the participant that you want to flag.
-
#relative_time_range ⇒ Types::RelativeTimeRange
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for the specified key words or phrases.
-
#targets ⇒ Array<String>
Specify the phrases that you want to flag.
-
#transcript_filter_type ⇒ String
Flag the presence or absence of an exact match to the phrases that you specify.
Instance Attribute Details
#absolute_time_range ⇒ Types::AbsoluteTimeRange
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for the specified key words or phrases. See for more detail.
5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'lib/aws-sdk-transcribeservice/types.rb', line 5111 class TranscriptFilter < Struct.new( :transcript_filter_type, :absolute_time_range, :relative_time_range, :participant_role, :negate, :targets) SENSITIVE = [] include Aws::Structure end |
#negate ⇒ Boolean
Set to ‘TRUE` to flag the absence of the phrase that you specified in your request. Set to `FALSE` to flag the presence of the phrase that you specified in your request.
5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'lib/aws-sdk-transcribeservice/types.rb', line 5111 class TranscriptFilter < Struct.new( :transcript_filter_type, :absolute_time_range, :relative_time_range, :participant_role, :negate, :targets) SENSITIVE = [] include Aws::Structure end |
#participant_role ⇒ String
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'lib/aws-sdk-transcribeservice/types.rb', line 5111 class TranscriptFilter < Struct.new( :transcript_filter_type, :absolute_time_range, :relative_time_range, :participant_role, :negate, :targets) SENSITIVE = [] include Aws::Structure end |
#relative_time_range ⇒ Types::RelativeTimeRange
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for the specified key words or phrases. See for more detail.
5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'lib/aws-sdk-transcribeservice/types.rb', line 5111 class TranscriptFilter < Struct.new( :transcript_filter_type, :absolute_time_range, :relative_time_range, :participant_role, :negate, :targets) SENSITIVE = [] include Aws::Structure end |
#targets ⇒ Array<String>
Specify the phrases that you want to flag.
5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'lib/aws-sdk-transcribeservice/types.rb', line 5111 class TranscriptFilter < Struct.new( :transcript_filter_type, :absolute_time_range, :relative_time_range, :participant_role, :negate, :targets) SENSITIVE = [] include Aws::Structure end |
#transcript_filter_type ⇒ String
Flag the presence or absence of an exact match to the phrases that you specify. For example, if you specify the phrase “speak to a manager” as your ‘Targets` value, only that exact phrase is flagged.
Note that semantic matching is not supported. For example, if your customer says “speak to the manager”, instead of “speak to a manager”, your content is not flagged.
5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'lib/aws-sdk-transcribeservice/types.rb', line 5111 class TranscriptFilter < Struct.new( :transcript_filter_type, :absolute_time_range, :relative_time_range, :participant_role, :negate, :targets) SENSITIVE = [] include Aws::Structure end |