PoSTag enum

Part of speech tags are used in natural language processing as part of Part-of-Speech tagging.

Part-of-Speech (PoS) tagging is the task of labelling every word in a sequence of words with a tag indicating what lexical syntactic category it assumes in the given sequence.

The tags adopted here are those used in the WordNet® lexical database of English as implemented in the NTLK python library .

Inheritance

Constructors

PoSTag()
const

Values

CC → const PoSTag

Coordinating conjunction (conjunction)

CD → const PoSTag

Cardinal numeral (numeral)

DT → const PoSTag

Determiner (determiner)

EX → const PoSTag

Existential there (like: “there is” … think of it like “there exists”) (adverb)

FW → const PoSTag

Foreign word (borrowed)

IN → const PoSTag

Preposition/subordinating conjunction (conjunction)

JJ → const PoSTag

Adjective ‘big’ (adjective)

JJR → const PoSTag

Adjective, comparative ‘bigger’ (adjective)

JJS → const PoSTag

Adjective, superlative ‘biggest’ (adjective)

LS → const PoSTag

List marker 1) (symbol)

MD → const PoSTag

Modal could, will (verb)

NN → const PoSTag

Noun, singular ‘desk’ (noun)

NNS → const PoSTag

Noun plural ‘desks’ (noun)

NNP → const PoSTag

Proper noun, singular ‘Harrison’ (noun)

NNPS → const PoSTag

Proper noun, plural ‘Americans’ (noun)

PDT → const PoSTag

Predeterminer ‘all the kids’ (determiner)

POS → const PoSTag

Possessive ending parent’s (noun)

PRP → const PoSTag

Personal pronoun I, he, she (pronoun)

PRP$ → const PoSTag

Possessive pronoun my, his, hers (pronoun)

RB → const PoSTag

Adverb very, silently, (adverb)

RBR → const PoSTag

Adverb, comparative better (adverb)

RBS → const PoSTag

Adverb, superlative best (adverb)

RP → const PoSTag

Particle give up (particle)

TO → const PoSTag

To go ‘to’ the store. (preposition)

UH → const PoSTag

Interjection, errrrrrrrm (interjection)

VB → const PoSTag

Verb, base form take (verb)

VBD → const PoSTag

Verb, past tense took (verb)

VBG → const PoSTag

Verb, gerund/present participle taking (verb)

VBN → const PoSTag

Verb, past participle taken (verb)

VBP → const PoSTag

Verb, sing. present, non-3d take (verb)

VBZ → const PoSTag

Verb, 3rd person sing. present takes (verb)

WDT → const PoSTag

Wh-determiner which (determiner)

WP → const PoSTag

Wh-pronoun who, what (pronoun)

WP$ → const PoSTag

Possessive wh-pronoun whose (pronoun)

WRB → const PoSTag

Wh-abverb where, when (abverb)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PoSTag>
A constant List of the values in this enum, in order of their declaration.