duckling/Duckling/Numeral
Julien Odent aed5b8f779 Numeral: don't compose negative numbers, fix double negatives
Summary:
* added `isMultipliable` helper and used that in patterns along with `isPositive`
* fixed double negatives in most languages

Reviewed By: niteria

Differential Revision: D7034982

fbshipit-source-id: a0bb67056d3107167830ece0c34d761c5563c5a7
2018-02-21 12:02:45 -08:00
..
AR Remove redundant brackets and language pragmas 2018-01-29 16:45:28 -08:00
BG Remove redundant brackets and language pragmas 2018-01-29 16:45:28 -08:00
CS Numeral: common rule + supporting hindu-arabic numerals for Burmese 2017-12-06 16:00:28 -08:00
DA Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
DE Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
EL Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
EN Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
ES Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
ET Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
FR Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
GA Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
HE Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
HI Hindi Language Numeral Dimension(minimalistic model). Tests passed. 2017-12-19 13:15:30 -08:00
HR Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
HU Numeral: common rule + supporting hindu-arabic numerals for Burmese 2017-12-06 16:00:28 -08:00
ID Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
IT Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
JA Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
KA Numeral: common rule + supporting hindu-arabic numerals for Burmese 2017-12-06 16:00:28 -08:00
KO Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
MY Remove redundant brackets and language pragmas 2018-01-29 16:45:28 -08:00
NB Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
NE Setup Nepali (NE) and add Numeral dimension 2018-02-13 07:45:31 -08:00
NL Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
PL Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
PT Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
RO Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
RU Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
SV Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
TR Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
UK Remove redundant brackets and language pragmas 2018-01-29 16:45:28 -08:00
VI Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
ZH Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
Helpers.hs Numeral: don't compose negative numbers, fix double negatives 2018-02-21 12:02:45 -08:00
Rules.hs Numeral: move ruleFractions to common + cleanup numeral flag for Time 2017-12-15 10:15:31 -08:00
Types.hs Added TimeGrain and Duration Dimensions to Russian language 2017-11-15 10:45:24 -08:00