duckling/Duckling/Time
Chinmay Deshmukh 9962e25845 Time/EN: "<day> in <duration>" should only operate on grain > Hour
Summary:
`today in one hour` was returning a time interval starting at 1 hr from now and ending at 2 hr from now.

The expected value is a single value one hour from now. This is accomplished by restricting `"<day> in <duration>"` to operaton only on durations with a grain > Hour

Reviewed By: patapizza

Differential Revision: D15055912

fbshipit-source-id: c3141eba358036577d2e14f0d588a99af83f62be
2019-04-24 11:46:35 -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 Time/EN: "<day> in <duration>" should only operate on grain > Hour 2019-04-24 11:46:35 -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