Package org.apache.lucene.analysis.ko
Enum POS.Tag
- java.lang.Object
-
- java.lang.Enum<POS.Tag>
-
- org.apache.lucene.analysis.ko.POS.Tag
-
- All Implemented Interfaces:
Serializable
,Comparable<POS.Tag>
- Enclosing class:
- POS
public static enum POS.Tag extends Enum<POS.Tag>
Part of speech tag for Korean based on Sejong corpus classification.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description E
Verbal endingsIC
InterjectionJ
Ending ParticleMAG
General AdverbMAJ
Conjunctive adverbMM
DeterminerNA
UnknownNNB
Dependent noun (following nouns)NNBC
Dependent nounNNG
General NounNNP
Proper NounNP
PronounNR
NumeralSC
Separator (· / :)SE
EllipsisSF
Terminal punctuation (? ! .)SH
Chinese characterSL
Foreign languageSN
NumberSP
SpaceSSC
Closing bracketsSSO
Opening bracketsSY
Other symbolUNA
UnknownUNKNOWN
UnknownVA
AdjectiveVCN
Negative designatorVCP
Positive designatorVSV
UnknownVV
VerbVX
Auxiliary Verb or AdjectiveXPN
PrefixXR
RootXSA
Adjective SuffixXSN
Noun SuffixXSV
Verb Suffix
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
E
public static final POS.Tag E
Verbal endings
-
IC
public static final POS.Tag IC
Interjection
-
J
public static final POS.Tag J
Ending Particle
-
MAG
public static final POS.Tag MAG
General Adverb
-
MAJ
public static final POS.Tag MAJ
Conjunctive adverb
-
MM
public static final POS.Tag MM
Determiner
-
NNG
public static final POS.Tag NNG
General Noun
-
NNP
public static final POS.Tag NNP
Proper Noun
-
NNB
public static final POS.Tag NNB
Dependent noun (following nouns)
-
NNBC
public static final POS.Tag NNBC
Dependent noun
-
NP
public static final POS.Tag NP
Pronoun
-
NR
public static final POS.Tag NR
Numeral
-
SF
public static final POS.Tag SF
Terminal punctuation (? ! .)
-
SH
public static final POS.Tag SH
Chinese character
-
SL
public static final POS.Tag SL
Foreign language
-
SN
public static final POS.Tag SN
Number
-
SP
public static final POS.Tag SP
Space
-
SSC
public static final POS.Tag SSC
Closing brackets
-
SSO
public static final POS.Tag SSO
Opening brackets
-
SC
public static final POS.Tag SC
Separator (· / :)
-
SY
public static final POS.Tag SY
Other symbol
-
SE
public static final POS.Tag SE
Ellipsis
-
VA
public static final POS.Tag VA
Adjective
-
VCN
public static final POS.Tag VCN
Negative designator
-
VCP
public static final POS.Tag VCP
Positive designator
-
VV
public static final POS.Tag VV
Verb
-
VX
public static final POS.Tag VX
Auxiliary Verb or Adjective
-
XPN
public static final POS.Tag XPN
Prefix
-
XR
public static final POS.Tag XR
Root
-
XSA
public static final POS.Tag XSA
Adjective Suffix
-
XSN
public static final POS.Tag XSN
Noun Suffix
-
XSV
public static final POS.Tag XSV
Verb Suffix
-
UNKNOWN
public static final POS.Tag UNKNOWN
Unknown
-
UNA
public static final POS.Tag UNA
Unknown
-
NA
public static final POS.Tag NA
Unknown
-
VSV
public static final POS.Tag VSV
Unknown
-
-
Method Detail
-
values
public static POS.Tag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (POS.Tag c : POS.Tag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static POS.Tag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
code
public int code()
Returns the code associated with the tag (as defined in pos-id.def).
-
description
public String description()
Returns the description associated with the tag.
-
-