duckling/Duckling/Ranking
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
..
Classifiers Corrected ordinals for Swedish and updated tests accordingly 2017-08-25 17:04:29 -07:00
Classifiers.hs HU Setup + Numeral 2017-08-09 17:49:56 -07:00
Extraction.hs Initial commit 2017-03-08 10:33:56 -08:00
Rank.hs Move onto dependent-sum instead of custom local data Some 2017-03-15 10:34:17 -07:00
Types.hs Initial commit 2017-03-08 10:33:56 -08:00