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

Can we use this to entity linking for non ambiguous entities #6

Open
sahnikraj opened this issue Dec 13, 2022 · 3 comments
Open

Can we use this to entity linking for non ambiguous entities #6

sahnikraj opened this issue Dec 13, 2022 · 3 comments

Comments

@sahnikraj
Copy link

Hi,image

How can i use this code to name entities which are non-ambiguous and disambiguate entities which are ambiguous? Currently this code seems to resolve entities which are ambiguous. I want to name entities in the same code which are non-ambiguous too.
Pls suggest.

@edobobo
Copy link
Collaborator

edobobo commented Dec 16, 2022

Hi, I am not sure I've got what you mean. Can you give me an example, please?

@sahnikraj
Copy link
Author

Hi,
I want to extract entities from text. Currently in the attached screengrab entities extracted are for few text but not for other i.e Virat Kohli, Suryakumar Yadav, Mohammad Rizwan etc. How do we do it?
entity

@edobobo
Copy link
Collaborator

edobobo commented Dec 18, 2022

Whether or not an text span is disambiguated depends on two things:

  1. It is recognised as a named entity by the SpaCy plugin.
  2. The text span is in the inventory.

However, using the SpaCy plugin, you should still be able to retrieve even the entities that were not disambiguated but recognised as such by SpaCy's NER model.

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

2 participants