NER in NLTK

Report a typo

To go further, manually open an IDE on your computer and copy the output to the website. We are sorry for the inconvenience; we will fix this as soon as possible.

You have an English sentence in the input. Use NLTK to find all geopolitical named entities (GPE).

The output should be a list of tuples like this: [('entity', 'type'), ('entity', 'type')]

Write code in your IDE to process the text file and display the results below
___

Create a free account to access the full topic