مرجع إطار عمل MLKitEntityاستخراجion
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
هو نموذج لاستخراج الكيانات يتم تخزينه عن بُعد على الخادم وتنزيله على الجهاز.
-
معرّف النموذج لهذا النموذج.
-
للحصول على نسخة افتراضية من EntityExtractorRemoteModel
تم ضبطها باستخدام معرّف النموذج المحدّد.
يمكن استخدام هذا النموذج لبدء عملية التنزيل من خلال طلب واجهة برمجة التطبيقات download(_:)
.
ابتداءً من ModelManager
يستخدم EntityExtractorRemoteModel
تطبيق ModelManager
داخليًا. عند التنزيل
EntityExtractorRemoteModel
، سيتم نشر إشعار بشأن RemoteModel
.
للتحقّق مما إذا كانت هذه الإشعارات تخصّ "EntityExtractorRemoteModel
"، يُرجى التأكّد من أنّ
يحتوي الحقل ModelDownloadUserInfoKeyRemoteModel
في قاموس معلومات المستخدم على كائن
من النوع EntityExtractorRemoteModel
.
القيمة المعروضة
مثال EntityExtractorRemoteModel
-
بيان الإفصاح
Objective-C
- (nonnull instancetype)init;
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eMLKEntityExtractionRemoteModel is an entity extraction model stored remotely and downloaded for on-device use.\u003c/p\u003e\n"],["\u003cp\u003eIt's identified by a unique model identifier and managed using \u003ccode\u003eModelManager\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can get an instance of the model and trigger a download using the provided methods.\u003c/p\u003e\n"],["\u003cp\u003eModel download notifications are posted for \u003ccode\u003eRemoteModel\u003c/code\u003e and can be verified using the \u003ccode\u003eModelDownloadUserInfoKeyRemoteModel\u003c/code\u003e field.\u003c/p\u003e\n"]]],[],null,["# MLKitEntityExtraction Framework Reference\n\nMLKEntityExtractionRemoteModel\n==============================\n\n\n @interface MLKEntityExtractionRemoteModel : ../Classes/MLKRemoteModel.html\n\nAn entity extraction model that is stored remotely on the server and downloaded on the device.\n- `\n ``\n ``\n `\n\n ### [modelIdentifier](#/c:objc(cs)MLKEntityExtractionRemoteModel(py)modelIdentifier)\n\n `\n ` \n The model identifier of this model. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) ../Type-Definitions.html#/c:MLKEntityExtractionModelIdentifier.h@T@MLKEntityExtractionModelIdentifier _Nonnull modelIdentifier;\n\n- `\n ``\n ``\n `\n\n ### [+entityExtractorRemoteModelWithIdentifier:](#/c:objc(cs)MLKEntityExtractionRemoteModel(cm)entityExtractorRemoteModelWithIdentifier:)\n\n `\n ` \n Gets an instance of `EntityExtractorRemoteModel` configured with the given model identifier.\n This model can be used to trigger a download by calling the `download(_:)` API\n from `ModelManager`.\n\n `EntityExtractorRemoteModel` uses `ModelManager` internally. When downloading\n an `EntityExtractorRemoteModel`, there will be a notification posted for a `RemoteModel`.\n To verify if such notifications belong to an `EntityExtractorRemoteModel`, check that the\n `ModelDownloadUserInfoKeyRemoteModel` field in the user info dictionary contains an object\n of type `EntityExtractorRemoteModel` . \n\n #### Declaration\n\n Objective-C \n\n + (nonnull MLKEntityExtractionRemoteModel *)\n entityExtractorRemoteModelWithIdentifier:\n (nonnull ../Type-Definitions.html#/c:MLKEntityExtractionModelIdentifier.h@T@MLKEntityExtractionModelIdentifier)modelIdentifier;\n\n #### Parameters\n\n |-------------------------|------------------------------------|\n | ` `*modelIdentifier*` ` | The model identifier of the model. |\n\n #### Return Value\n\n A `EntityExtractorRemoteModel` instance.\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKEntityExtractionRemoteModel(im)init)\n\n `\n ` \n Unavailable. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;"]]