facebook / duckling

Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.
Other
4.05k stars 719 forks source link

feat: add dimension kelvin #692

Open ofhope opened 2 years ago

ofhope commented 2 years ago

Adding the dimension kelvin to temperature rules. Its a SI (International System of Units) base unit, so eventually it could be included in all languages.

Typically it's expressed without the degree key word. Also its lowercase except when expressed as a single character K. You wouldn't say 44 degrees Kelvin rather 44 kelvins

It's 283 kelvins outside