MLKitEntityExtraction Framework Reference

MLKEntityExtractorOptions


@interface MLKEntityExtractorOptions : NSObject

Options forMLKEntityExtractor.

  • The model to use when parsing entities in the text.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MLKEntityExtractionModelIdentifier _Nonnull modelIdentifier;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Creates a new instance of EntityExtractor options with the given model identifier.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithModelIdentifier:
        (nonnull MLKEntityExtractionModelIdentifier)modelIdentifier;

    Parameters

    modelIdentifier

    The model to use when parsing addresses and phone numbers in text.

    Return Value

    A new instance of MLKEntityExtractorOptions configured with the given model identifier.