duckling/Duckling/Time
Andrew Eun Kyu Kang 0b551597ce EN/Time: Add "<integer> <day-of-time> from <time>" rule
Summary:
"What is the date three Fridays from now?" resolves incorrectly:

- On Friday, it detects "three fridays", "fridays from now"
- On other days, it detects "three fridays", "from now"

Thus, added a new rule, "<integer> <day-of-week> from <time>" to give the expected result of three Fridays after the current day and added test examples. If there are too many test examples, please let me know!

Reviewed By: chinmay87

Differential Revision: D15110770

fbshipit-source-id: a77b86de8b6d8f7c947df9e14edb17f61bcc8419
2019-04-29 18:16:58 -07:00
..
AR Time/AR: Periodic and Time 2019-03-29 09:48:20 -07:00
DA Recognize time from abbreviation 'kl' (#267) 2018-10-22 13:46:56 -07:00
DE Add 'the day before yesterday' rule for German, and a test for it. Al… (#324) 2019-02-13 13:31:26 -08:00
EL Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
EN EN/Time: Add "<integer> <day-of-time> from <time>" rule 2019-04-29 18:16:58 -07:00
ES Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
FR Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
GA Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
HE Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
HR Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
HU Return latent entities 2018-03-19 14:45:27 -07:00
IT Time/IT: wrong results for the ruleDurationAgo rule for the Italian language (#279) 2018-11-13 14:01:26 -08:00
KA KA - Improvements in Time, Numeral, Duration (#299) 2019-02-22 18:16:32 -08:00
KO Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
NB Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
NL Time/NL Small bug fix (#314) 2019-02-14 12:16:27 -08:00
PL Time/PL add today evening corpus example (#294) 2019-01-02 14:01:54 -08:00
PT Time/PT: Last and quarter expressions + ordinals 13..99 (#291) 2019-01-02 14:01:53 -08:00
RO Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
SV Time: Add "today" helper + reuse "tt" helper 2018-08-15 12:45:48 -07:00
TimeZone Time: Fix BST and IST offsets 2018-07-25 13:15:50 -07:00
UK Time/UK: added dimensions 2018-11-19 04:31:03 -08:00
VI Time/VI: don't parse ngày 2018-11-07 09:45:53 -08:00
ZH Value before month in zh can be an integers or a chinese char (#301) 2019-01-14 09:45:56 -08:00
Computed.hs Time/EN: Krishna Janmashtami 2019-04-08 16:03:35 -07:00
Corpus.hs Change value in Entity to typed value instead of JSON 2018-04-20 14:18:47 -07:00
Helpers.hs KA - Improvements in Time, Numeral, Duration (#299) 2019-02-22 18:16:32 -08:00
Types.hs Time/EN: Adds Support for Parsi New Year 2018-10-16 13:16:52 -07:00