MLKitEntityExtraction Framework Reference

Stay organized with collections Save and categorize content based on your preferences.

MLKEntityAnnotation


@interface MLKEntityAnnotation : NSObject

An object that contains the possible entities associated with a piece of the text.

  • The range of the annotation in the given text.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSRange range;
  • A list of possible entities in the given span of text.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<MLKEntity *> *_Nonnull entities;