Tools

Duckling

ID duckling

other

Open-source (BSD) Haskell library from Meta that parses text in many languages into structured values called dimensions. The dimensions are amount of money, credit card number, distance, duration, email, numeral, ordinal, phone number, quantity, temperature, time, URL and volume. It extracts and normalizes values found in free text, such as turning a spoken amount or date into a number or a timestamp. The supported types cover only registry datatypes that match a documented type.

Website
https://github.com/facebook/duckling
Supported types
7

Supported semantic types

IDNameCategoriesCountriesDescription
bankcard Bank card (credit/debit card) PII pii, finances global A bank card is typically a plastic card issued by a bank to its clients that performs one or more of a number of services that relate to...
duration Time duration datetime global The amount of time elapsed between two events
email Email address PII common, internet, pii global Address of an electronic mailbox in the form local-part@domain, defined in section 3.4.1 of RFC 5322. The local part names the mailbox,...
money Money amount draft values, common global Amount of money as numeric value
phone Phone number PII pii, common, telecom global Telephone number in standard format (RFC3966), without 'tel:' prefix
temperature Temperature draft values, science, environment global A measured or set temperature, such as an air, water or body temperature reading. Datasets store it as a number in degrees Celsius,...
url Uniform Resource Locator (URL) common, internet global Address of a resource on a network that also says how to retrieve it: a scheme such as https, a host, an optional port, a path, a query...

Use this record