How to handle the numbers coming as text ex: (five, six)

This post is old but for anyone looking for the solution, do this by: I needed to extract 13 as well as thirteen, so

  1. i added duckling in the pipeline:-

name: “DucklingHTTPExtractor”

url: “http://localhost:8000”

dimensions: [ “number”, “ordinal”]

  1. ran duckling on docker

and you are done.

similarly you can add date etc to the array if you want to extract those entities too.