SapienzaNLP / extend

Entity Disambiguation as text extraction (ACL 2022)
Other
177 stars 13 forks source link

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

Open sahnikraj opened 1 year ago

sahnikraj commented 1 year ago

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 commented 1 year ago

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

sahnikraj commented 1 year ago

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 commented 1 year ago

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.