duckling/Duckling/Ranking
Chinmay Deshmukh e7f285cd1d Time: Return Holiday Name in response (Beta)
Summary:
Return the canonical holiday name if the input had a holiday in it and the date resolves to the date of the holiday.

Add `holiday` to `TimeData`.
Set it in the holiday rule.
Make sure it propogates appropriately in `predNth` and `intersect`.
Make sure it doesn't propogate in other rules.
Add `holiday` to `TimeValue` and set it during `resolve`

Reviewed By: patapizza

Differential Revision: D7441387

fbshipit-source-id: d57602fd294dc6149ab044c05065c1b9250cb331
2018-04-02 10:45:32 -07:00
..
Classifiers Time: Return Holiday Name in response (Beta) 2018-04-02 10:45:32 -07:00
Classifiers.hs Support Tamil numerals 2018-03-19 16:45:36 -07:00
Extraction.hs Remove redundant brackets and language pragmas 2018-01-29 16:45:28 -08:00
Rank.hs Move onto dependent-sum instead of custom local data Some 2017-03-15 10:34:17 -07:00
Types.hs Remove redundant brackets and language pragmas 2018-01-29 16:45:28 -08:00