facebook / facebook/duckling

smallest possible range/body

Open
#694 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
4.3k
Forks
739
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the examples in the issue and the Duckling parsing and returned-data behavior they refer to. Determine whether the existing result data can distinguish the smallest meaningful range for “5pm” while preserving the full phrase for “in 5 minutes”; done requires a documented answer or a clearly scoped change proposal.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.