nuance_TEMPERATURE

Temperature as expressed in degrees Celsius or Fahrenheit. Temperature can be expressed as a whole number or a floating point value.

Sample language

  • 23 degrees Celsius
  • eighteen point five degrees Fahrenheit
  • 28°C
  • 115°F

Example

The input “twenty two degrees celsius” returns this response:

{
     "nuance_NUMBER": 22,
     "nuance_UNIT": "C"
}

Numeric value range

  • Up to 4 digits (<= 9,999) for whole numbers
  • For the whole part and decimal part in decimal-point numbers: <= 99,999,999
  • For fractions: Denominators up to tenth

Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
     "nuance_TEMPERATURE": {
       "type": "object",
       "properties": {
         "nuance_UNIT": {
           "type": "string",
           "pattern": "[C|F|K]"
         },
         "nuance_NUMBER": {
           "type": "number"
         }
       },
       "required": [
         "nuance_NUMBER"
       ]
     }
  },
  "additionalProperties": false
}