MLKEntity
@interface MLKEntity : NSObject
เอนทิตีที่ดึงมาจากสตริงย่อยของข้อความ
-
ประเภทของเอนทิตีที่ดึงข้อมูล
คำประกาศ
Objective-C
@property (nonatomic, readonly) MLKEntityExtractionEntityType _Nonnull entityType;
-
เอนทิตีการอ้างอิงเวลาที่มีเวลาที่เจาะจงหรือ
nil
หากไม่ได้ดึงมาจากข้อความคำประกาศ
Objective-C
@property (nonatomic, readonly, nullable) MLKDateTimeEntity *dateTimeEntity;
-
เอนทิตีหมายเลขเที่ยวบินในรูปแบบ IATA หรือ
nil
หากไม่ได้ดึงมาจากข้อความคำประกาศ
Objective-C
@property (nonatomic, readonly, nullable) MLKFlightNumberEntity *flightNumberEntity;
-
นิติบุคคลหมายเลขบัญชีธนาคารระหว่างประเทศ (IBAN) หรือ
nil
หากไม่ได้ดึงมาจากข้อความคำประกาศ
Objective-C
@property (nonatomic, readonly, nullable) MLKIBANEntity *IBANEntity;
-
เลขมาตรฐานสากลประจำหนังสือ (ISBN) หรือ
nil
หากไม่ได้ดึงมาจากข้อความคำประกาศ
Objective-C
@property (nonatomic, readonly, nullable) MLKISBNEntity *ISBNEntity;
-
เอนทิตีที่แสดงจำนวนเงินหรือ
nil
หากไม่ได้ดึงข้อมูลจากข้อความคำประกาศ
Objective-C
@property (nonatomic, readonly, nullable) MLKMoneyEntity *moneyEntity;
-
บุคคลที่มีบัตรสำหรับชำระเงินหรือ
nil
หากไม่ได้ดึงมาจากข้อความคำประกาศ
Objective-C
@property (nonatomic, readonly, nullable) MLKPaymentCardEntity *paymentCardEntity;
-
เอนทิตีหมายเลขติดตามสำหรับการจัดส่ง หรือ
nil
หากไม่ได้ดึงข้อมูลจากข้อความคำประกาศ
Objective-C
@property (nonatomic, readonly, nullable) MLKTrackingNumberEntity *trackingNumberEntity;
-
ไม่พร้อมใช้งาน
คำประกาศ
Objective-C
- (nonnull instancetype)init;