Question

which part of huge package nltk I must study and use, if I need mark geonames in text?

Was it helpful?

Solution

You'll want to use their named entity recognizer nltk.ne_chunk.

Once the text is tagged you'll want to look for phrases labeled LOC (location) and GPE (Geo-political Entity).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top