AWSTranscribeTranscriptFilter

Objective-C

@interface AWSTranscribeTranscriptFilter

Swift

class AWSTranscribeTranscriptFilter

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 examples.

Required parameters: [TranscriptFilterType, Targets]

  • Allows you 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSTranscribeAbsoluteTimeRange *_Nullable absoluteTimeRange;

    Swift

    var absoluteTimeRange: AWSTranscribeAbsoluteTimeRange? { get set }
  • Set to TRUE to flag the absence of the phrase you specified in your request. Set to FALSE to flag the presence of the phrase you specified in your request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable negate;

    Swift

    var negate: NSNumber? { get set }
  • Specify the participant you want to flag. Omitting this parameter is equivalent to specifying both participants.

    Declaration

    Objective-C

    @property (nonatomic) AWSTranscribeParticipantRole participantRole;

    Swift

    var participantRole: AWSTranscribeParticipantRole { get set }
  • Allows you 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSTranscribeRelativeTimeRange *_Nullable relativeTimeRange;

    Swift

    var relativeTimeRange: AWSTranscribeRelativeTimeRange? { get set }
  • Specify the phrases you want to flag.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable targets;

    Swift

    var targets: [String]? { get set }
  • Flag the presence or absence of an exact match to the phrases 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSTranscribeTranscriptFilterType transcriptFilterType;

    Swift

    var transcriptFilterType: AWSTranscribeTranscriptFilterType { get set }