Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define a constraint between two datetime entities #179

Closed
zigzago opened this issue Apr 27, 2015 · 1 comment
Closed

Define a constraint between two datetime entities #179

zigzago opened this issue Apr 27, 2015 · 1 comment
Assignees

Comments

@zigzago
Copy link

zigzago commented Apr 27, 2015

My use case :

en : "I leave on July 10, I go back two days later"
fr : "Je pars le 10 juillet, je reviens deux jours après"

outwardDate : July 10
inwardDate : (July 12) or (today + 2 days) ? -> wit.ai returns today + 2 days

If we can define a relation like "inwardDate depends on outwardDate", then inwardDate would be parsed with outwardDate parsing result as context date, and all would be fine :)

@l5t
Copy link

l5t commented Apr 21, 2016

So sorry for the late reply... this is indeed a great enhancement for Duckling. I moved it here to keep track of it:facebookarchive/duckling_old#90

@l5t l5t closed this as completed Apr 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants