MLKitEntityExtraction Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
-
MLKEntityAnnotation objects store potential entities identified within a specific portion of text.
-
The range property indicates the location of the annotated text.
-
The entities property provides an array of potential entities found within that range.
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[],[]]