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.
Tip:
Choose nuance_CARDINAL_NUMBER, instead of nuance_NUMBER or nuance_DOUBLE, for numerical entities that must have no fraction or decimal point.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
}
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.