Part of Speech Tags

· Articles, Natural Language Processing

A frequently asked question is “What do the Part of Speech tags (VB, JJ, etc) mean?” The bottom line is that these tags mean whatever they meant in your original training data. You are free to invent your own tags in your training data, as long as you are consistent in their usage.

Training data generally takes a lot of work to create, so a pre-existing corpus is typically used. These usually use the Penn Treebank or Brown Corpus tags.

The most common part of speech (POS) tag schemes are those developed for the Penn Treebank and Brown Corpus. Penn Treebank is probably the most common, but both corpora are available with NLTK.

Penn Treebank POS Tags

Here are the POS tags used in the Penn Treebank:

POS TagDescriptionExample
CCcoordinating conjunctionand
CDcardinal number1, third
DTdeterminerthe
EXexistential therethere is
FWforeign wordd'hoevre
INpreposition/subordinating conjunctionin, of, like
JJadjectivebig
JJRadjective, comparativebigger
JJSadjective, superlativebiggest
LSlist marker1)
MDmodalcould, will
NNnoun, singular or massdoor
NNSnoun pluraldoors
NNPproper noun, singularJohn
NNPSproper noun, pluralVikings
PDTpredeterminerboth the boys
POSpossessive endingfriend's
PRPpersonal pronounI, he, it
PRP$possessive pronounmy, his
RBadverbhowever, usually, naturally, here, good
RBRadverb, comparativebetter
RBSadverb, superlativebest
RPparticlegive up
TOtoto go, to him
UHinterjectionuhhuhhuhh
VBverb, base formtake
VBDverb, past tensetook
VBGverb, gerund/present participletaking
VBNverb, past participletaken
VBPverb, sing. present, non-3dtake
VBZverb, 3rd person sing. presenttakes
WDTwh-determinerwhich
WPwh-pronounwho, what
WP$possessive wh-pronounwhose
WRBwh-abverbwhere, when

The official annotation guidelines including full descriptions can be found here (GZip-compressed Postscript file). This includes confusing parts of speech, capitalization, and other conventions.

Brown Corpus POS Tags

The Brown Corpus POS tags are very similar, and there is the potential for some confusion. However, there are differences. For example, the Penn Treebank has three types of adjective (JJ, JJR, JJS) but the Brown Corpus divides JJS into JJS and JJT.

The Brown Corpus also has rules for combining tags. For example, the colloquial “wanna” means “want to” and is tagged “VB+TO” (“want/VB to/TO”). Similarly, a suffix asterisk indicates a negative, so that “aren’t” becomes “BER*”.