nuance_NUMBER
Represents a number (integer, fraction, or decimal point). Numbers can be described in natural speech up to and including a million.
Tip:
Choose nuance_NUMBER, instead of nuance_CARDINAL_NUMBER or nuance_DOUBLE, for numerical entities that can be whole numbers, a fraction, or include a decimal point.Sample language
- twenty seven
- four and a half
- 49
Examples
Responses for the above samples are shown below.
Example: twenty seven
{
"nuance_NUMBER": {
"nuance_CARDINAL_NUMBER": 27
}
}
Example: four and a half
{
"nuance_NUMBER": {
"nuance_DOUBLE": 4.5
}
}
Example: 49
{
"nuance_NUMBER": {
"nuance_CARDINAL_NUMBER": 49
}
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"nuance_NUMBER": {
"type": "object",
"properties": {
"oneOf": [{
"nuance_CARDINAL_NUMBER": {
"anyOf": [{
"type": "number"
}, {
"type": "string"
}
]
}
}, {
"nuance_DOUBLE": {
"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.