MLKitEntityExtraction 프레임워크 참조
-
텍스트의 항목을 파싱할 때 사용할 모델입니다.
-
선언
Objective-C
- (nonnull instancetype)init;
-
지정된 모델 식별자를 사용하여 EntityExtractor 옵션의 새 인스턴스를 만듭니다.
매개변수
modelIdentifier
|
주소와 전화번호를 파싱할 때 사용할 모델입니다.
있습니다.
|
반환 값
지정된 모델 식별자로 구성된 MLKEntityExtractorOptions
의 새 인스턴스입니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 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"]]