AI-generated Key Takeaways
-
MLKEntityExtractorOptions
provides configuration options for theMLKEntityExtractor
class, primarily focusing on model selection for entity parsing. -
The
modelIdentifier
property specifies the model used for identifying entities within text, such as addresses and phone numbers. -
Although a default initializer is unavailable, you can create an
MLKEntityExtractorOptions
instance usinginit(modelIdentifier:)
by providing the desired model identifier.
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.