AWSComprehendEntity Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSComprehendModel.h
AWSComprehendModel.m

Overview

Provides information about an entity.

  beginOffset

A character offset in the input text that shows where the entity 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.

@property (nonatomic, strong) NSNumber *beginOffset

Declared In

AWSComprehendModel.h

  endOffset

A character offset in the input text that shows where the entity 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.

@property (nonatomic, strong) NSNumber *endOffset

Declared In

AWSComprehendModel.h

  score

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

@property (nonatomic, strong) NSNumber *score

Declared In

AWSComprehendModel.h

  text

The text of the entity.

@property (nonatomic, strong) NSString *text

Declared In

AWSComprehendModel.h

  types

The entity's type.

@property (nonatomic, assign) AWSComprehendEntityType types

Declared In

AWSComprehendModel.h