facebook / facebook/duckling

Does duckling has support for sentence containing entities with negation

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

Description

I wanted to know does duckling support negation in sentences. For e.g. "not today, day after tomorrow" or "not 20, 28th December" and so on. Basically "not/no , but ...... ? Or it could be reverse as well, "tomorrow, not today".

If the support is not there, are there any plans in the near future to integrate it?

Note: Not sure following is relevant to the maintenance of this repo but I mentioned it as reference and clarification
Here on [wit.ai](https://duckling.wit.ai/ ) website "not today, day after tomorrow" gives correct output but running duckling locally gives incorrect output.

Contributor guide

Open the contributing guide

Research direction

Reproduce the two negation examples locally and compare the results with the linked wit.ai behavior. Read the relevant Duckling dimension and rule definitions to determine whether negated entity values are represented; the issue needs a confirmed support decision and a scoped implementation path before work can begin.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
ai
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.