AWSComprehendPiiEntity

Objective-C

@interface AWSComprehendPiiEntity

Swift

class AWSComprehendPiiEntity

Provides information about a PII entity.

  • The zero-based offset from the beginning of the source text to the first character in the entity.

    Declaration

    Objective-C

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

    Swift

    var beginOffset: NSNumber? { get set }
  • The zero-based offset from the beginning of the source text to the last character in the entity.

    Declaration

    Objective-C

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

    Swift

    var endOffset: NSNumber? { get set }
  • The level of confidence that Amazon Comprehend has in the accuracy of the detection.

    Declaration

    Objective-C

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

    Swift

    var score: NSNumber? { get set }
  • The entity’s type.

    Declaration

    Objective-C

    @property (nonatomic) AWSComprehendPiiEntityType types;

    Swift

    var types: AWSComprehendPiiEntityType { get set }