duckling/Duckling/Time
Bing Yuan 9c1ab0de69 Tweak the rule for parsing "tomorrow" in ES
Summary:
There are two rules for parsing "manana" (dimension: Time): one is resolved to "morning"; while the other is resolved to "tomorrow". And the first (or "morning") rule resolves to a LATENT result; while the second (or "tomorrow") rule resolves to a NON-LATENT result.

If the duckling is called with "latent" option turned off, the "tomorrow" rule prevails. However, if the duckling is invoked with "latent" option turned on, the "morning" rule is preferred.

The solution (for now) is to steer the classifier towards "tomorrow" rule by adding large number of (same) examples for "tomorrow" rule.

Reviewed By: chinmay87

Differential Revision: D22425277

fbshipit-source-id: 2f139eec0c38b9b5227f27d9f09f6264e7cf86cd
2020-07-15 12:08:20 -07:00
..
AR Reuse helpers 2019-08-01 14:46:24 -07:00
BG Add Time dimension for language BG 2020-01-10 14:34:22 -08:00
DA Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
DE Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
EL Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
EN added support to parse oridinal day-of-week 2020-07-06 15:39:57 -07:00
ES Tweak the rule for parsing "tomorrow" in ES 2020-07-15 12:08:20 -07:00
FR Relicense to BSD3 2019-05-22 10:46:39 -07:00
GA Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
HE Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
HR Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
HU Relicense to BSD3 2019-05-22 10:46:39 -07:00
IT Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
KA Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
KO Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
NB Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
NL Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
PL Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
PT Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
RO Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
SV Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
TimeZone Relicense to BSD3 2019-05-22 10:46:39 -07:00
UK Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
VI Duration/EN: Leverage TimeGrain for number.number hours 2019-12-11 12:38:17 -08:00
ZH Add support for computed holidays in ZH 2019-09-17 15:34:08 -07:00
Computed.hs Time/EN_US: Super Tuesday 2020-03-02 10:48:07 -08:00
Corpus.hs Relicense to BSD3 2019-05-22 10:46:39 -07:00
Helpers.hs Time/EN_US: Super Tuesday 2020-03-02 10:48:07 -08:00
HolidayHelpers.hs Translated all computed holidays from English into German and added HolidayHelpers to reduce code duplication. 2019-09-20 18:32:13 -07:00
Types.hs Remove ANN pragma for duckling 2019-09-26 02:49:33 -07:00