EntityExtractorRemoteModel
class EntityExtractorRemoteModel : RemoteModel
An entity extraction model that is stored remotely on the server and downloaded on the device.
-
The model identifier of this model.
Declaration
Swift
var modelIdentifier: EntityExtractionModelIdentifier { get }
-
Gets an instance of
EntityExtractorRemoteModel
configured with the given model identifier. This model can be used to trigger a download by calling thedownload(_:)
API fromModelManager
.EntityExtractorRemoteModel
usesModelManager
internally. When downloading anEntityExtractorRemoteModel
, there will be a notification posted for aRemoteModel
. To verify if such notifications belong to anEntityExtractorRemoteModel
, check that theModelDownloadUserInfoKeyRemoteModel
field in the user info dictionary contains an object of typeEntityExtractorRemoteModel
.Declaration
Swift
class func entityExtractorRemoteModel(identifier modelIdentifier: EntityExtractionModelIdentifier) -> EntityExtractorRemoteModel
Parameters
modelIdentifier
The model identifier of the model.
Return Value
A
EntityExtractorRemoteModel
instance. -
Unavailable.