mirror of
https://github.com/facebook/duckling.git
synced 2024-11-30 23:33:33 +03:00
30b3d29e86
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 |
||
---|---|---|
.. | ||
AR | ||
BG | ||
CA | ||
DA | ||
DE | ||
EL | ||
EN | ||
ES | ||
FI | ||
FR | ||
GA | ||
HE | ||
HI | ||
HR | ||
HU | ||
IT | ||
JA | ||
KA | ||
KO | ||
MN | ||
NB | ||
NL | ||
PL | ||
PT | ||
RO | ||
RU | ||
SV | ||
TR | ||
UK | ||
VI | ||
ZH | ||
Types.hs |