duckling/Duckling/Ordinal
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 Add Ordinal dimension to CA (Catalan) locale 2021-04-09 13:05:19 -07:00
DA Add support for larger spelled-out Danish ordinals (#346) 2019-05-23 16:02:56 -07:00
DE Relicense to BSD3 2019-05-22 10:46:39 -07:00
EL Relicense to BSD3 2019-05-22 10:46:39 -07:00
EN Relicense to BSD3 2019-05-22 10:46:39 -07:00
ES ES/Ordinal: Fixes "tercero" pattern regex (#477) 2020-11-19 13:48:43 -08:00
ET 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
ID Relicense to BSD3 2019-05-22 10:46:39 -07:00
IT Relicense to BSD3 2019-05-22 10:46:39 -07:00
JA Relicense to BSD3 2019-05-22 10:46:39 -07:00
KA Relicense to BSD3 2019-05-22 10:46:39 -07:00
KM Relicense to BSD3 2019-05-22 10:46:39 -07:00
KO Relicense to BSD3 2019-05-22 10:46:39 -07:00
ML 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 NL: Fix spelling of ‘achttien’ (18) (#602) 2021-04-19 18:01:33 -07:00
PL Relicense to BSD3 2019-05-22 10:46:39 -07:00
PT Adds new rules of accentuation of the Portuguese (#531) 2020-11-02 12:17:57 -08: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
TA Relicense to BSD3 2019-05-22 10:46:39 -07:00
TR Relicense to BSD3 2019-05-22 10:46:39 -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 Relicense to BSD3 2019-05-22 10:46:39 -07:00
Helpers.hs Relicense to BSD3 2019-05-22 10:46:39 -07:00
Types.hs Relicense to BSD3 2019-05-22 10:46:39 -07:00