facebook / facebook/duckling

Support intervals for Numeral and Ordinal

Open
#352 0 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
Haskell
Stars
4.3k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

Cf https://github.com/wit-ai/wit/issues/1389.

We have intervals for most dimensions (e.g. `Time`, `AmountOfMoney`, `Quantity`, `Duration`, `Temperature`...).

We could also extend support for `Numeral` and `Ordinal`:
between 5 and 10, below 10, above 7
between first and third

However we need to make sure dependent dimensions behave properly:
between 5 and 10 minutes
over 68 degrees
less than 10 gallons
I'll be here in between 5-10 minutes
let's meet in 5 days - 10 days

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.