public static enum POS.Tag extends Enum<POS.Tag>
Enum Constant and Description |
---|
E
Verbal endings
|
IC
Interjection
|
J
Ending Particle
|
MAG
General Adverb
|
MAJ
Conjunctive adverb
|
MM
Determiner
|
NA
Unknown
|
NNB
Dependent noun (following nouns)
|
NNBC
Dependent noun
|
NNG
General Noun
|
NNP
Proper Noun
|
NP
Pronoun
|
NR
Numeral
|
SC
Separator (· / :)
|
SE
Ellipsis
|
SF
Terminal punctuation (? ! .)
|
SH
Chinese character
|
SL
Foreign language
|
SN
Number
|
SP
Space
|
SSC
Closing brackets
|
SSO
Opening brackets
|
SY
Other symbol
|
UNA
Unknown
|
UNKNOWN
Unknown
|
VA
Adjective
|
VCN
Negative designator
|
VCP
Positive designator
|
VSV
Unknown
|
VV
Verb
|
VX
Auxiliary Verb or Adjective
|
XPN
Prefix
|
XR
Root
|
XSA
Adjective Suffix
|
XSN
Noun Suffix
|
XSV
Verb Suffix
|
Modifier and Type | Method and Description |
---|---|
int |
code()
Returns the code associated with the tag (as defined in pos-id.def).
|
String |
description()
Returns the description associated with the tag.
|
static POS.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static POS.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final POS.Tag E
public static final POS.Tag IC
public static final POS.Tag J
public static final POS.Tag MAG
public static final POS.Tag MAJ
public static final POS.Tag MM
public static final POS.Tag NNG
public static final POS.Tag NNP
public static final POS.Tag NNB
public static final POS.Tag NNBC
public static final POS.Tag NP
public static final POS.Tag NR
public static final POS.Tag SF
public static final POS.Tag SH
public static final POS.Tag SL
public static final POS.Tag SN
public static final POS.Tag SP
public static final POS.Tag SSC
public static final POS.Tag SSO
public static final POS.Tag SC
public static final POS.Tag SY
public static final POS.Tag SE
public static final POS.Tag VA
public static final POS.Tag VCN
public static final POS.Tag VCP
public static final POS.Tag VV
public static final POS.Tag VX
public static final POS.Tag XPN
public static final POS.Tag XR
public static final POS.Tag XSA
public static final POS.Tag XSN
public static final POS.Tag XSV
public static final POS.Tag UNKNOWN
public static final POS.Tag UNA
public static final POS.Tag NA
public static final POS.Tag VSV
public static POS.Tag[] values()
for (POS.Tag c : POS.Tag.values()) System.out.println(c);
public static POS.Tag 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 int code()
public String description()
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.