duckling/Duckling/TimeGrain
Alex Kapranoff 30b3d29e86 (Time/TimeGrain/Ordinal)/RU_XX: several extra Time forms for Russian
Summary:
Some changes were originally suggested by me during the review of
https://github.com/facebook/duckling/pull/474.
Others are new.

1. "Day after tomorrow/before yesterday"
2. Ordinals in the form of number+suffix like "8th of March"
3. Tuesdays require a special preposition.
4. Support "Yo" (U+0451) in "fourth" and "during daylight".
5. Support special perposition for "next week".
6. Support "one before last" adjective for time grains.
7. Proper suffixes for "quarter" grain.
8. Support "at midnight".
9. Support alternative flag for "afternoon".

Changes in Ordinal and TimeGrain are all driven by the new examples in the
corpus for Time.

There are also a couple of bugfixes:
1. A hidden latin "e" was present in an otherwise Cyrillic regex.
2. Wrong order of options in a regex separated with "|" prevented some matches.

Reviewed By: haoxuany

Differential Revision: D32311714

fbshipit-source-id: 084f6c3893eb5bfd767c267f558b910c6854eb59
2021-11-30 09:49:43 -08:00
..
AR Relicense to BSD3 2019-05-22 10:46:39 -07:00
BG Relicense to BSD3 2019-05-22 10:46:39 -07:00
CA Init 2021-05-12 16:33:51 -07:00
DA Relicense to BSD3 2019-05-22 10:46:39 -07:00
DE adds frequent durations in German (#509) 2020-11-09 11:18:35 -08:00
EL Relicense to BSD3 2019-05-22 10:46:39 -07:00
EN Duration/EN: parse Xm as X minutes and X.Y hrs as X.Y hours 2019-12-06 08:47:51 -08:00
ES Relicense to BSD3 2019-05-22 10:46:39 -07:00
FI Relicense to BSD3 2019-05-22 10:46:39 -07:00
FR Relicense to BSD3 2019-05-22 10:46:39 -07:00
GA Relicense to BSD3 2019-05-22 10:46:39 -07:00
HE Relicense to BSD3 2019-05-22 10:46:39 -07:00
HI Relicense to BSD3 2019-05-22 10:46:39 -07:00
HR Relicense to BSD3 2019-05-22 10:46:39 -07:00
HU Relicense to BSD3 2019-05-22 10:46:39 -07:00
IT Relicense to BSD3 2019-05-22 10:46:39 -07:00
JA Add Japanese time dimension (#646) 2021-09-21 12:28:06 -07:00
KA Relicense to BSD3 2019-05-22 10:46:39 -07:00
KO Relicense to BSD3 2019-05-22 10:46:39 -07:00
MN Relicense to BSD3 2019-05-22 10:46:39 -07:00
NB Relicense to BSD3 2019-05-22 10:46:39 -07:00
NL Relicense to BSD3 2019-05-22 10:46:39 -07:00
PL Relicense to BSD3 2019-05-22 10:46:39 -07:00
PT Relicense to BSD3 2019-05-22 10:46:39 -07:00
RO Relicense to BSD3 2019-05-22 10:46:39 -07:00
RU (Time/TimeGrain/Ordinal)/RU_XX: several extra Time forms for Russian 2021-11-30 09:49:43 -08:00
SV Relicense to BSD3 2019-05-22 10:46:39 -07:00
TR Time Dimension for TR locale (#584) 2021-04-06 10:32:18 -07:00
UK Relicense to BSD3 2019-05-22 10:46:39 -07:00
VI Relicense to BSD3 2019-05-22 10:46:39 -07:00
ZH Time&Duration/ZH: support Cantonese and more common expressions (#516-2) (#523) 2021-01-26 15:17:45 -08:00
Types.hs Duration/EN: fix lint errors 2021-04-21 13:32:37 -07:00