Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composite entity support #558

Open
luddilo opened this issue Aug 21, 2020 · 1 comment
Open

Composite entity support #558

luddilo opened this issue Aug 21, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@luddilo
Copy link

luddilo commented Aug 21, 2020

Is your feature request related to a problem? Please describe.
It would be a fantastic feature (that few frameworks does well) to have composite entity support, in order to catch entities that belongs together - for example catching:

[{ "fruit": "banana", "quantity": 2}, { "fruit": "apple", "quantity": 1}]

from the utterance I want two bananas and one apple.

Describe the solution you'd like
That the NER manager supports composite entities, which are composed of sub-entities and has a pattern of how the sub-entities belong together in an utterance - for example "@entity1 @Entity2". The composite entities should in turn be able to include composite entities, and list entities should be able to support compositie entities.

Describe alternatives you've considered
I considered if RegEx entities could be used to hack a solution to this, but it probably is a bad idea.

Additional context
N/A

@luddilo
Copy link
Author

luddilo commented Oct 28, 2020

@jesus-seijas-sp I would love to hear your thoughts here!

@aigloss aigloss added the enhancement New feature or request label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants