目录

EntityType

Entity type enumeration class.

Since: 5.0.0(12)

Modules to Import

import { EntityType } from '@kit.NaturalLanguageKit';

EntityType

System capability: SystemCapability.AI.NaturalLanguage.TextProcessing

Model restriction: This API can be used only in the stage model.

Since: 5.0.0(12)

Name Value Description
DATETIME 'datetime' Date and time.
EMAIL 'email' Email address.
EXPRESS_NO 'expressNo' Tracking number.
FLIGHT_NO 'flightNo' Flight number.
LOCATION 'location' Location.
NAME 'name' Name.
PHONE_NO 'phoneNo' Phone number.
URL 'url' URL.
VERIFICATION_CODE 'verificationCode' Verification code.
ID_NO 'idNo' ID number.