Is there any way we can extract all the wikipedia entities from the text using Wikipedia2Vec? Or is there any other way to do the same.
Example:
Text : "Scarlett Johansson is an American actress."
Entities : [ 'Scarlett Johansson' , 'American' ]
I want to do it in Python
Thanks
You can use spacy:
And you get:
Find more in spacy documentation.