mirror of
https://github.com/facebook/duckling.git
synced 2024-12-23 04:02:35 +03:00
74936df848
Summary: This change refactors the Engine to use a different code path for when we're calling `lookupItem` to find a first token `Node` matching the rule and a different one for subsequent ones. This division lets us get better invariants and more importantly do full text regexp matches only when necessary. This should be particularly useful for longer texts. Reviewed By: patapizza Differential Revision: D4953918 fbshipit-source-id: e3a69ad |
||
---|---|---|
.. | ||
Regex.hs |