duckling/Duckling
Aaron Yue 4ef255e577 Generalize and expand digit specifier usage for hanzi
Summary:
generalize chinese digit specifier (十百千万亿) parsing, and add hanzi tests
These digits specifiers can be parsed as (<num><speci>)<num>,
by using the multiplicater value <num><speci>, and a connect function that adds them together
(two cases, skipping digits [which requires a 零 in between], and digits in consecutive locations).
Note that 个 is technically a digit specifier,
but in Chinese it is never used directly as a numeral specifier, and always as a counter.

Reviewed By: zliu41

Differential Revision: D7424249

fbshipit-source-id: 20a85a7df1f908ee9879e92b904178fa26a9a5e5
2018-04-12 10:00:33 -07:00
..
AmountOfMoney AmountOfMoney NL Support 2018-04-11 17:15:30 -07:00
Dimensions Add distance to SV 2018-04-05 16:00:33 -07:00
Distance Generalize and expand digit specifier usage for hanzi 2018-04-12 10:00:33 -07:00
Duration Add composite durations 2018-04-02 19:30:26 -07:00
Email Return latent entities 2018-03-19 14:45:27 -07:00
Engine Make matching anywhere vs at pos obvious 2017-04-28 09:19:20 -07:00
Numeral Generalize and expand digit specifier usage for hanzi 2018-04-12 10:00:33 -07:00
Ordinal Refactor pattern match to hashmap lookup 2018-03-23 12:01:02 -07:00
PhoneNumber Return latent entities 2018-03-19 14:45:27 -07:00
Quantity Return latent entities 2018-03-19 14:45:27 -07:00
Ranking Generalize and expand digit specifier usage for hanzi 2018-04-12 10:00:33 -07:00
Regex Return latent entities 2018-03-19 14:45:27 -07:00
Rules AmountOfMoney NL Support 2018-04-11 17:15:30 -07:00
Temperature Return latent entities 2018-03-19 14:45:27 -07:00
Testing Generalize and expand digit specifier usage for hanzi 2018-04-12 10:00:33 -07:00
Time Generalize and expand digit specifier usage for hanzi 2018-04-12 10:00:33 -07:00
TimeGrain Added TimeGrain, Duration, and Ordinal 2018-03-19 18:00:29 -07:00
Types Remove redundant brackets and language pragmas 2018-01-29 16:45:28 -08:00
Url Return latent entities 2018-03-19 14:45:27 -07:00
Volume Return latent entities 2018-03-19 14:45:27 -07:00
Api.hs Return latent entities 2018-03-19 14:45:27 -07:00
Core.hs Return latent entities 2018-03-19 14:45:27 -07:00
Debug.hs Time/EN: Fix "in" + year 2018-04-11 11:00:30 -07:00
Dimensions.hs Support Tamil numerals 2018-03-19 16:45:36 -07:00
Engine.hs fix build 2018-03-20 10:30:35 -07:00
Locale.hs Support Tamil numerals 2018-03-19 16:45:36 -07:00
Resolve.hs Added TimeGrain, Duration, and Ordinal 2018-03-19 18:00:29 -07:00
Rules.hs Support Tamil numerals 2018-03-19 16:45:36 -07:00
Types.hs Return latent entities 2018-03-19 14:45:27 -07:00