mirror of
https://github.com/facebook/duckling.git
synced 2024-12-02 22:46:17 +03:00
eb9ddcbd95
Summary: There are two types of ES phrases for timestamp to support: 1. "para las seis cero dos pm" 2. "para las 6 0 2 pm" The solution is to: 1. added a new rule to parse two-digit number between 1 and 9 (inclusive); 2. modified the regex pattern to support additional optional phrase "para" in front of "las". Reviewed By: chinmay87 Differential Revision: D22218800 fbshipit-source-id: 58f692beb6f10834c0ab639b31bf239bf4a1970e |
||
---|---|---|
.. | ||
AR | ||
CL | ||
CO | ||
ES | ||
MX | ||
PE | ||
VE | ||
Corpus.hs | ||
Rules.hs |