AWSComprehendKeyPhrase
Objective-C
@interface AWSComprehendKeyPhrase
Swift
class AWSComprehendKeyPhrase
Describes a key noun phrase.
-
A character offset in the input text that shows where the key phrase begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable beginOffset;
Swift
var beginOffset: NSNumber? { get set }
-
A character offset in the input text where the key phrase ends. The offset returns the position of each UTF-8 code point in the string. A
code point
is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.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 }