AWSComprehendKeyPhrase

Objective-C

@interface AWSComprehendKeyPhrase

Swift

class AWSComprehendKeyPhrase

Describes a key noun phrase.

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

    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 key phrase.

    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 text of a key noun phrase.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable text;

    Swift

    var text: String? { get set }