AWSTranscribeSentimentFilter

Objective-C

@interface AWSTranscribeSentimentFilter

Swift

class AWSTranscribeSentimentFilter

An object that enables you to specify a particular customer or agent sentiment. If at least 50 percent of the conversation turns (the back-and-forth between two speakers) in a specified time period match the specified sentiment, Amazon Transcribe will consider the sentiment a match.

Required parameters: [Sentiments]

  • The time range, measured in seconds, of the sentiment.

    Declaration

    Objective-C

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

    Swift

    var absoluteTimeRange: AWSTranscribeAbsoluteTimeRange? { get set }
  • Set to TRUE to look for sentiments that weren’t specified in the request.

    Declaration

    Objective-C

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

    Swift

    var negate: NSNumber? { get set }
  • A value that determines whether the sentiment belongs to the customer or the agent.

    Declaration

    Objective-C

    @property (nonatomic) AWSTranscribeParticipantRole participantRole;

    Swift

    var participantRole: AWSTranscribeParticipantRole { get set }
  • The time range, set in percentages, that correspond to proportion of the call.

    Declaration

    Objective-C

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

    Swift

    var relativeTimeRange: AWSTranscribeRelativeTimeRange? { get set }
  • An array that enables you to specify sentiments for the customer or agent. You can specify one or more values.

    Declaration

    Objective-C

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

    Swift

    var sentiments: [String]? { get set }