duckling/Duckling/Numeral
Steven Troxler 6db071069b Numeral/ES: Style fixes - names, order, etc
Summary:
Whle looking into fixing https://github.com/facebook/duckling/issues/380
I was having a bit of trouble navigating the existing rules and guessing
what is / is not supported.

This diff refactors the Numeral/ES code to be easier to navigate:
- rename all the `ruleNumeral{1,2,3,4,5,6}` rules to be descriptive
- changes the order to be themed from small to large numbers, and
  make sure the order of defines matches the order of rules at the end
  of the module
- use [20 .. 90] instead of manually specifying the same list out-of-order

Reviewed By: chessai

Differential Revision: D27858134

fbshipit-source-id: b13983d75b36bb4e2b387ef06fe61066d81ae19a
2021-04-23 09:48:06 -07:00
..
AF AF Setup + Numeral (#422) 2020-01-10 15:02:50 -08:00
AR Add a new Arabic locale (EG) (#554) 2020-12-15 11:33:40 -08:00
BG Relicense to BSD3 2019-05-22 10:46:39 -07:00
BN Relicense to BSD3 2019-05-22 10:46:39 -07:00
CA Initialise Catalan language with Numeral 2021-04-08 14:47:02 -07:00
CS Relicense to BSD3 2019-05-22 10:46:39 -07:00
DA Add support for larger spelled-out Danish ordinals (#346) 2019-05-23 16:02:56 -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 Support abbreviation of Crore and Lakh 2020-12-15 11:18:05 -08:00
ES Numeral/ES: Style fixes - names, order, etc 2021-04-23 09:48:06 -07:00
ET Relicense to BSD3 2019-05-22 10:46:39 -07:00
FA FA Setup (#520) 2020-11-19 12:20:00 -08: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 Support for more Hindi numbers (#552) 2020-11-18 17:04:29 -08: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
IS 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 ghc88x compat (#550) 2020-11-12 13:47:46 -08:00
KM Relicense to BSD3 2019-05-22 10:46:39 -07:00
KN Relicense to BSD3 2019-05-22 10:46:39 -07:00
KO Relicense to BSD3 2019-05-22 10:46:39 -07:00
LO 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
MY Relicense to BSD3 2019-05-22 10:46:39 -07:00
NB Relicense to BSD3 2019-05-22 10:46:39 -07:00
NE 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 Polish(PL) - Support for seventy, eighty, ninety (#417) 2021-01-29 11:47:36 -08: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 Be more permissive with numerals [20, 90] 2021-02-05 15:31:18 -08:00
SK Added Slovak (sk) language with numeral dimension and tests. 2020-01-10 14:49:08 -08:00
SV Relicense to BSD3 2019-05-22 10:46:39 -07:00
SW Relicense to BSD3 2019-05-22 10:46:39 -07:00
TA Relicense to BSD3 2019-05-22 10:46:39 -07:00
TE Adding Numerical Dimention support for Telugu language (#470) 2020-12-15 17:48:03 -08:00
TH Add Numeral dimension for new language TH (#399) 2019-11-27 15:48:38 -08: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 Extend numeral rules 2021-02-03 11:19:33 -08:00
Helpers.hs Numeral: Silence point-free lint errors in Numeral/Helpers.hs 2021-04-19 16:47:10 -07:00
Rules.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