MLKitEntityExtraction Framework Reference

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

EntityAnnotation

class EntityAnnotation : 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

    Swift

    var range: NSRange { get }
  • A list of possible entities in the given span of text.

    Declaration

    Swift

    var entities: [MLKEntity] { get }