Quantity Label

Measurements, such as weight or distance.

It's quite hard to run a QUANTITY ten kilometer run when you have extra QUANTITY ten kilograms on you.

Example Input

It's quite hard to run a ten kilometer run when you have extra ten kilograms on you.

Example Output

[
   {
      "type":"number",
      "skill":"numbers",
      "name":"QUANTITY",
      "value":"10",
      "data":{
         "numeric_value":10
      },
      "span_text":"ten kilometer",
      "span":[
         25,
         38
      ],
      "output_spans":[
         {
            "section":0,
            "start":25,
            "end":38
         }
      ]
   },
   {
      "type":"number",
      "skill":"numbers",
      "name":"QUANTITY",
      "value":"10",
      "data":{
         "numeric_value":10
      },
      "span_text":"ten kilograms",
      "span":[
         63,
         76
      ],
      "output_spans":[
         {
            "section":0,
            "start":63,
            "end":76
         }
      ]
   }
]

Additional Data

Name

Description

Example

numeric_value

The numeric value of the number

1000


Did this page help you?