mirror of
https://github.com/facebook/duckling.git
synced 2024-12-11 06:46:26 +03:00
5af4d617ba
Summary: Current: "seis cero cinco pm" [dimension Time] -> "cero cinco pm" or "5 pm" here the term "seis" was dropped because it was treated as "6" in "Numeral" dimension. Expected: "seis cero cinco pm" -> "6:05 pm" The root cause was that the rule "<hour-of-day> <integer> (as relative minutes)" dropped the first term "hour-of-day" if it was parsed as a latent token. Reviewed By: chinmay87 Differential Revision: D22553028 fbshipit-source-id: abc92bb369c23d2b3084641eab2a2dabb87dbc66 |
||
---|---|---|
.. | ||
Corpus.hs | ||
Rules.hs |