MLKitEntityExtraction Framework Reference

EntityExtractorOptions

class EntityExtractorOptions : NSObject

Options forMLKEntityExtractor.

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

    Declaration

    Swift

    var modelIdentifier: EntityExtractionModelIdentifier { get }
  • Unavailable.

  • Creates a new instance of EntityExtractor options with the given model identifier.

    Declaration

    Swift

    init(modelIdentifier: EntityExtractionModelIdentifier)

    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.