duckling/Duckling/Ordinal
Fredrik Wallén 9b5b7bc6ce Corrected ordinals for Swedish and updated tests accordingly
Summary:
There are problems in the ordinal recognition for Swedish. The most severe one is that all the numbers above 15 are actually Danish, not Swedish. Apart from that digits and digits followed by a dot are considered ordinals.

This pull request fixes this and also adds support for ordinals up to 100. The structure of the code is similar to in the ordinal recognition in English. Tests are also updated, both the ordinal tests and the time tests where incorrect ordinals were used.
Closes https://github.com/facebookincubator/duckling/pull/86

Reviewed By: JonCoens

Differential Revision: D5698145

Pulled By: patapizza

fbshipit-source-id: c31d7bc
2017-08-25 17:04:29 -07:00
..
AR Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
DA Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
DE Fix DE numerical ordinal matching 2017-05-16 09:49:21 -07:00
EN Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
ES Initial commit 2017-03-08 10:33:56 -08:00
ET Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
FR using hashmap lookups 2017-04-05 12:20:10 -07:00
GA also match old-style -adh ending 2017-06-26 09:19:20 -07:00
HE Ordinal 2017-04-24 06:49:40 -07:00
HR Ordinal 2017-04-26 09:19:27 -07:00
HU Added HU Ordinals 2017-08-16 11:19:24 -07:00
ID Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
IT Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
JA Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
KO Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
NB Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
NL Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
PL Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
PT Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
RO Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
RU Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
SV Corrected ordinals for Swedish and updated tests accordingly 2017-08-25 17:04:29 -07:00
TR Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
UK Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
VI VI: Ordinal 2017-04-28 08:04:21 -07:00
ZH Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Helpers.hs Initial commit 2017-03-08 10:33:56 -08:00
Types.hs Initial commit 2017-03-08 10:33:56 -08:00