MLKitEntityExtraction Framework Reference

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;