public enum PennTreebankPOS extends Enum<PennTreebankPOS>
Enum Constant and Description |
---|
$
Punctuation $
|
CC
Coordinating conjunction.
|
CD
Cardinal number.
|
CLOSING_PARENTHESIS
Punctuation ) ] }
|
CLOSING_QUOTATION
Punctuation ' or ''
|
COLON
Punctuation ; : ...
|
COMMA
Punctuation ,
|
DASH
Punctuation -
|
DT
Determiner.
|
EX
Existential there.
|
FW
Foreign word.
|
IN
Preposition or subordinating conjunction.
|
JJ
Adjective.
|
JJR
Adjective, comparative.
|
JJS
Adjective, superlative.
|
LS
List item marker.
|
MD
Modal verb.
|
NN
Noun, singular or mass.
|
NNP
Proper noun, singular.
|
NNPS
Proper noun, plural.
|
NNS
Noun, plural.
|
OPENING_PARENTHESIS
Punctuation ( [ {
|
OPENING_QUOTATION
Punctuation ` or ``
|
PDT
Predeterminer.
|
POS
Possessive ending.
|
POUND
Punctuation #
|
PRP
Personal pronoun.
|
PRP$
Possessive pronoun.
|
RB
Adverb.
|
RBR
Adverb, comparative.
|
RBS
Adverb, superlative.
|
RP
Particle.
|
SENT
Sentence-break punctuation .
|
SYM
Symbol.
|
TO
to.
|
UH
Interjection.
|
VB
Verb, base form.
|
VBD
Verb, past tense.
|
VBG
Verb, gerund or present participle.
|
VBN
Verb, past participle.
|
VBP
Verb, non-3rd person singular present.
|
VBZ
Verb, 3rd person singular present.
|
WDT
Wh-determiner.
|
WP
Wh-pronoun.
|
WP$
Possessive wh-pronoun.
|
WRB
Wh-adverb.
|
Modifier and Type | Field and Description |
---|---|
boolean |
open
True if the POS is a open class.
|
Modifier and Type | Method and Description |
---|---|
static PennTreebankPOS |
getValue(String value)
Returns an enum value from a string.
|
static PennTreebankPOS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PennTreebankPOS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PennTreebankPOS CC
He asked to be transferred, for/CC he was unhappy.
SO in the sense of "so that," on the other hand, is a subordinating conjunction (IN).
public static final PennTreebankPOS CD
public static final PennTreebankPOS DT
public static final PennTreebankPOS EX
There/EX was a party in progress.
There/EX ensued a melee.
public static final PennTreebankPOS FW
public static final PennTreebankPOS IN
public static final PennTreebankPOS JJ
public static final PennTreebankPOS JJR
public static final PennTreebankPOS JJS
public static final PennTreebankPOS LS
public static final PennTreebankPOS MD
public static final PennTreebankPOS NN
public static final PennTreebankPOS NNS
public static final PennTreebankPOS NNP
public static final PennTreebankPOS NNPS
public static final PennTreebankPOS PDT
all/PDT his marbles
nary/PDT a soul
both/PDT the girls
quite/PDT a mess
half/PDT his time
rather/PDT a nuisance
many/PDT a moon
such/PDT a good time
public static final PennTreebankPOS POS
JohnINP 's/POS idea
the parents/NNS '/POS distress
public static final PennTreebankPOS PRP
public static final PennTreebankPOS PRP$
public static final PennTreebankPOS RB
public static final PennTreebankPOS RBR
public static final PennTreebankPOS RBS
public static final PennTreebankPOS RP
public static final PennTreebankPOS SYM
public static final PennTreebankPOS TO
public static final PennTreebankPOS UH
public static final PennTreebankPOS VB
public static final PennTreebankPOS VBD
If I were/VBD rich, ...
If I were/VBD to win the lottery, ...
public static final PennTreebankPOS VBG
public static final PennTreebankPOS VBN
public static final PennTreebankPOS VBP
public static final PennTreebankPOS VBZ
public static final PennTreebankPOS WDT
public static final PennTreebankPOS WP
public static final PennTreebankPOS WP$
public static final PennTreebankPOS WRB
When/WRB he finally arrived, I was on my way out.
I like it when/IN you make dinner for me.
public static final PennTreebankPOS $
public static final PennTreebankPOS SENT
public static final PennTreebankPOS POUND
public static final PennTreebankPOS DASH
public static final PennTreebankPOS COMMA
public static final PennTreebankPOS COLON
public static final PennTreebankPOS OPENING_PARENTHESIS
public static final PennTreebankPOS CLOSING_PARENTHESIS
public static final PennTreebankPOS OPENING_QUOTATION
public static final PennTreebankPOS CLOSING_QUOTATION
public static PennTreebankPOS[] values()
for (PennTreebankPOS c : PennTreebankPOS.values()) System.out.println(c);
public static PennTreebankPOS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PennTreebankPOS getValue(String value)
Copyright © 2015. All rights reserved.