Best Answer · By JanBask Data Science Expert
Answered on Nov 13, 2019
Here is the code.

Here, ‘Alphabet’ and ‘China’ should be defined as entities
To extract the entities from a text, we need to do the following.

Here, Spacy returned China as an entity. The reason is that Spacy always looks up the surrounding words to understand the nature of the entity. So to add Alphabet as the entity, we need to add ‘The’ before it to demonstrate it as a noun.

Now Spacy recognized Alphabet as an organization.