nuance_CARDINAL_NUMBER

A non-fractional whole number denoting quantity (1, 2, 3) as opposed to an ordinal number (denoting order like first, second, third). Cardinal numbers can be described in natural speech up to and including a million (for some languages, such as en-US, up to billions), but any number larger than that must be dictated as a string of digits.

Sample language

  • 27
  • forty three
  • oh one two three

Examples

Responses for the above samples are shown below.

Example: 27

{
  "nuance_CARDINAL_NUMBER": 27
}

Example: forty three

{
  "nuance_CARDINAL_NUMBER": 43
}

Example: oh one two three

{
  "nuance_CARDINAL_NUMBER": 0123
}

New for v9.x and v10.x

Example: minus ten thousand

{
  "nuance_CARDINAL_NUMBER": -10000
}

Numeric value range

<= 99,999,999

Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
     "nuance_CARDINAL_NUMBER": {
       "anyOf": [
         {
           "type": "number"
         },
         {
           "type": "string"
         }
       ]
     }
  },
  "additionalProperties": false
}