AWSComprehendToxicContent

Objective-C

@interface AWSComprehendToxicContent

Swift

class AWSComprehendToxicContent

Toxic content analysis result for one string. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide

  • The name of the toxic content type.

    Declaration

    Objective-C

    @property (nonatomic) AWSComprehendToxicContentType name;

    Swift

    var name: AWSComprehendToxicContentType { get set }
  • Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.

    Declaration

    Objective-C

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

    Swift

    var score: NSNumber? { get set }