class Aws::TranscribeService::Types::TranscriptFilter
Matches the output of the transcription to either the specific phrases that you specify, or the intent of the phrases that you specify.
@note When making an API call, you may pass TranscriptFilter
data as a hash: { transcript_filter_type: "EXACT", # required, accepts EXACT 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, }, participant_role: "AGENT", # accepts AGENT, CUSTOMER negate: false, targets: ["NonEmptyString"], # required }
@!attribute [rw] transcript_filter_type
Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the transcription. @return [String]
@!attribute [rw] absolute_time_range
A time range, set in seconds, between two points in the call. @return [Types::AbsoluteTimeRange]
@!attribute [rw] relative_time_range
An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls. @return [Types::RelativeTimeRange]
@!attribute [rw] participant_role
Determines whether the customer or the agent is speaking the phrases that you've specified. @return [String]
@!attribute [rw] negate
If `TRUE`, the rule that you specify is applied to everything except for the phrases that you specify. @return [Boolean]
@!attribute [rw] targets
The phrases that you're specifying for the transcript filter to match. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptFilter AWS API Documentation
Constants
- SENSITIVE