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

Deal with multiple named entities in a semantic role? #42

Open
PinchOfData opened this issue Jan 31, 2022 · 0 comments
Open

Deal with multiple named entities in a semantic role? #42

PinchOfData opened this issue Jan 31, 2022 · 0 comments
Assignees

Comments

@PinchOfData
Copy link
Collaborator

Currently, the pipeline only allows for one named entity per role. The entity chosen is the first one to be a subsequence of the semantic role. This does lead to problems.

For instance, "Republicans and Democrats" would likely be assigned either as "republican" or as "democrat". Arguably, in this case, both are relevant named entities.

Several options to "fix" this:

  • Label semantic roles by the most frequent named entity in the set of matched named entities (easy fix)
  • Create multiple narrative tuples. For instance, "Republicans and Democrats increase taxes." would become [("republican","increase","tax"), ("democrat","increase","tax")].
@PinchOfData PinchOfData self-assigned this Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant