MLKitEntityExtraction フレームワーク リファレンス

MLKEntityAnnotation


@interface MLKEntityAnnotation : NSObject

テキストに関連する可能性のあるエンティティを含むオブジェクト。

  • 指定されたテキスト内のアノテーションの範囲。

    宣言

    Objective-C

    @property (nonatomic, readonly) NSRange range;
  • 指定されたテキスト範囲に存在するエンティティのリスト。

    宣言

    Objective-C

    @property (nonatomic, readonly) NSArray<MLKEntity *> *_Nonnull entities;