MLKitEntityExtraction फ़्रेमवर्क का रेफ़रंस
-
टेक्स्ट में मौजूद इकाइयों को पार्स करने के लिए इस्तेमाल किया जाने वाला मॉडल.
-
एलान
Objective-C
- (nonnull instancetype)init;
-
दिए गए मॉडल आइडेंटिफ़ायर के साथ, EntityExtractor के विकल्पों का नया इंस्टेंस बनाता है.
पैरामीटर
modelIdentifier
|
इसमें पते और फ़ोन नंबर पार्स करने के लिए इस्तेमाल किया जाने वाला मॉडल
टेक्स्ट.
|
रिटर्न वैल्यू
दिए गए मॉडल आइडेंटिफ़ायर के साथ कॉन्फ़िगर किया गया MLKEntityExtractorOptions
का नया इंस्टेंस.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया."],[[["`MLKEntityExtractorOptions` provides configuration options for the `MLKEntityExtractor` used for parsing entities in text."],["It primarily focuses on specifying the model used for entity extraction through the `modelIdentifier` property."],["The `initWithModelIdentifier:` method allows creating an instance with a specific model identifier for parsing addresses and phone numbers."],["Default initialization using `init` is unavailable; you must use `initWithModelIdentifier:` for creating instances."]]],["`MLKEntityExtractorOptions` configures entity extraction. Key actions include setting the `modelIdentifier`, which determines the model used for parsing entities in text. The class offers a constructor, `-initWithModelIdentifier:`, to initialize a new instance with a specific model. The `modelIdentifier` property retrieves the chosen model. The default initializer, `-init`, is unavailable. The model is utilized to identify and extract entities like addresses and phone numbers.\n"]]