duckling/Duckling/Time/ES
Julien Odent b3fb913a23 Time: don't parse subsequent numbers
Summary:
- Fixes #89. "<number> <number>" would parse as Time if in the right range.
- Applied same rule for all languages. Note that for Italian and Polish, I updated "<hour> <minute>" tests to be in the form "at <hour> <minute>".
- Replaced `liftM2` with more generic `and|or . sequence [f1, f2, ...]`.

Reviewed By: blandinw

Differential Revision: D5992879

fbshipit-source-id: 5409ffb
2017-10-06 12:19:29 -07:00
..
Corpus.hs Initial commit 2017-03-08 10:33:56 -08:00
Rules.hs Time: don't parse subsequent numbers 2017-10-06 12:19:29 -07:00