facebook / duckling

Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

smallest possible range/body

devsnek opened this issue · comments

commented

if you provide an input like say hi at 5pm, the matching range and body will be at 5pm. I'm trying to figure out if there is a reliable way to just get the range of the 5pm, ignoring the at. This does seem to have some nuance as well, for example say hi in 5 minutes should still be in 5 minutes and not 5 minutes. Is this currently possible with the data being parsed/returned?