MLKitEntityExtraction フレームワーク リファレンス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
class EntityExtractorOptions : NSObject
MLKEntityExtractor
のオプション。
-
-
-
指定されたモデル ID で EntityExtractor オプションの新しいインスタンスを作成します。
パラメータ
modelIdentifier
|
住所と電話番号の解析に使用するモデルです。
あります。
|
戻り値
指定されたモデル ID で構成された MLKEntityExtractorOptions
の新しいインスタンス。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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."]]