What is the full list of category labels for the default Named Entity classifier

6,636 views
Skip to first unread message

Hao

unread,
Jan 7, 2012, 12:47:13 AM1/7/12
to nltk-users
Hi everyone,

I am applying the default Named Entity classifier (nltk.ne_chunk) to
some documents. How can I get a full list the category labels (like
PERSON, ORGANIZATION, and GPE) used by this classifier? Thanks a lot.

Hao

Steven Bird

unread,
Jan 7, 2012, 1:05:47 AM1/7/12
to nltk-...@googlegroups.com

From a quick look at the pickled model file, they are:
FACILITY, GPE, GSP, LOCATION, ORGANIZATION, PERSON

(There's no support for discovering this using NLTK functionality, sorry.)

By the way, note that the new version of NLTK includes an interface to
the Stanford Named Entity Recognizer.
http://nltk.github.com/api/nltk.tag.html#nltk.tag.stanford.NERTagger

-Steven Bird

Hao

unread,
Jan 7, 2012, 5:57:51 PM1/7/12
to nltk-users
Thanks. This is really helpful.

hao

On Jan 6, 10:05 pm, Steven Bird <stevenbi...@gmail.com> wrote:

Rami Al-Rfou'

unread,
Jan 8, 2012, 8:30:18 PM1/8/12
to nltk-...@googlegroups.com
If you are using the stanford NER classifiers, the labels will change depending on the model you are using, for more information
http://nlp.stanford.edu/software/CRF-NER.shtml#Models

Kiran Khaladkar

unread,
Apr 15, 2014, 2:34:54 PM4/15/14
to nltk-...@googlegroups.com
What does GPE and GSP mean? is there any way to get explanation of abbreviations programatically ?

Dallas Kidd

unread,
Apr 21, 2014, 11:13:10 AM4/21/14
to nltk-...@googlegroups.com
GPE is Geo-Political Entity
GSP is Geo-Socio-Political group

mohit...@iinerds.com

unread,
Jul 24, 2018, 4:48:26 PM7/24/18
to nltk-users
What exactly is the difference between GPE(city, state, country) and GSP ?
Reply all
Reply to author
Forward
0 new messages