TrackingNumberEntity
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
-
TrackingNumberEntity extracts parcel tracking numbers from text.
-
It provides the associated carrier and a canonical format for the tracking number.
-
Supported carriers are listed, including major services like FedEx, UPS, and DHL.
A parcel tracking number entity extracted from a piece of text. It provides the carrier associated with the parcel and a canonical format for the tracking number.
Nested Class Summary
Constant Summary
Inherited Constant Summary
Public Method Summary
Inherited Method Summary
Constants
public static final int CARRIER_AMAZON
public static final int CARRIER_DHL
public static final int CARRIER_FEDEX
public static final int CARRIER_ISRAEL_POST
public static final int CARRIER_I_PARCEL
public static final int CARRIER_LASERSHIP
public static final int CARRIER_MSC
public static final int CARRIER_ONTRAC
public static final int CARRIER_SWISS_POST
public static final int CARRIER_UNKNOWN
public static final int CARRIER_UPS
public static final int CARRIER_USPS
Public Methods
public int getParcelCarrier ()
Returns the parcel carrier (e.g.
CARRIER_FEDEX ) detected for this entity.
public String getParcelTrackingNumber ()
Returns the parcel tracking number detected for this entity but canonically formatted.