MLKitEntityExtraction फ़्रेमवर्क का रेफ़रंस
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
class EntityExtractorOptions : NSObject
MLKEntityExtractor
के लिए विकल्प.
-
टेक्स्ट में मौजूद इकाइयों को पार्स करने के लिए इस्तेमाल किया जाने वाला मॉडल.
-
-
दिए गए मॉडल आइडेंटिफ़ायर के साथ, EntityExtractor के विकल्पों का नया इंस्टेंस बनाता है.
पैरामीटर
modelIdentifier
|
इसमें पते और फ़ोन नंबर पार्स करने के लिए इस्तेमाल किया जाने वाला मॉडल
टेक्स्ट.
|
रिटर्न वैल्यू
दिए गए मॉडल आइडेंटिफ़ायर के साथ कॉन्फ़िगर किया गया MLKEntityExtractorOptions
का नया इंस्टेंस.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eMLKEntityExtractorOptions\u003c/code\u003e provides configuration options for the \u003ccode\u003eMLKEntityExtractor\u003c/code\u003e class, primarily focusing on model selection for entity parsing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emodelIdentifier\u003c/code\u003e property specifies the model used for identifying entities within text, such as addresses and phone numbers.\u003c/p\u003e\n"],["\u003cp\u003eAlthough a default initializer is unavailable, you can create an \u003ccode\u003eMLKEntityExtractorOptions\u003c/code\u003e instance using \u003ccode\u003einit(modelIdentifier:)\u003c/code\u003e by providing the desired model identifier.\u003c/p\u003e\n"]]],[],null,["# MLKitEntityExtraction Framework Reference\n\nEntityExtractorOptions\n======================\n\n class EntityExtractorOptions : NSObject\n\nOptions for`MLKEntityExtractor`.\n- `\n ``\n ``\n `\n\n ### [modelIdentifier](#/c:objc(cs)MLKEntityExtractorOptions(py)modelIdentifier)\n\n `\n ` \n The model to use when parsing entities in the text. \n\n #### Declaration\n\n Swift \n\n var modelIdentifier: ../Type-Definitions.html#/c:MLKEntityExtractionModelIdentifier.h@T@MLKEntityExtractionModelIdentifier { get }\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKEntityExtractorOptions(im)init)\n\n `\n ` \n Unavailable.\n- `\n ``\n ``\n `\n\n ### [init(modelIdentifier:)](#/c:objc(cs)MLKEntityExtractorOptions(im)initWithModelIdentifier:)\n\n `\n ` \n Creates a new instance of EntityExtractor options with the given model identifier. \n\n #### Declaration\n\n Swift \n\n init(modelIdentifier: ../Type-Definitions.html#/c:MLKEntityExtractionModelIdentifier.h@T@MLKEntityExtractionModelIdentifier)\n\n #### Parameters\n\n |-------------------------|--------------------------------------------------------------------|\n | ` `*modelIdentifier*` ` | The model to use when parsing addresses and phone numbers in text. |\n\n #### Return Value\n\n A new instance of `MLKEntityExtractorOptions` configured with the given model identifier."]]