mirror of
https://github.com/facebook/duckling.git
synced 2024-12-01 08:19:36 +03:00
9b5b7bc6ce
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 |
||
---|---|---|
.. | ||
AR | ||
DA | ||
DE | ||
EN | ||
ES | ||
ET | ||
FR | ||
GA | ||
HE | ||
HR | ||
HU | ||
ID | ||
IT | ||
JA | ||
KO | ||
NB | ||
NL | ||
PL | ||
PT | ||
RO | ||
RU | ||
SV | ||
TR | ||
UK | ||
VI | ||
ZH | ||
Helpers.hs | ||
Types.hs |