Package org.apache.lucene.analysis.ko
Enum Class POS.Tag
- All Implemented Interfaces:
Serializable
,Comparable<POS.Tag>
,Constable
- Enclosing class:
POS
Part of speech tag for Korean based on Sejong corpus classification.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConnective endingSentence-closing endingPre-final endingAdnominal form transformative endingNominal transformative endingInterjectionConjunctive postpositional particleAdverbial case markerComplement case markerAdnominal case markerObject case markerQuotative case markerSubject case markerVocative case markerAuxiliary postpositional particleGeneral AdverbConjunctive adverbDeterminerUnknownDependent noun (following nouns)Dependent nounGeneral NounProper NounPronounNumeralSeparator (· / :)EllipsisTerminal punctuation (? ! .)Chinese characterForeign languageNumberSpaceClosing bracketsOpening bracketsOther symbolUnknownUnknownAdjectiveNegative designatorPositive designatorUnknownVerbAuxiliary Verb or AdjectivePrefixRootAdjective SuffixNoun SuffixVerb Suffix -
Method Summary
Modifier and TypeMethodDescriptionint
code()
Returns the code associated with the tag (as defined in pos-id.def).Returns the description associated with the tag.static POS.Tag
Returns the enum constant of this class with the specified name.static POS.Tag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EP
Pre-final ending -
EF
Sentence-closing ending -
EC
Connective ending -
ETN
Nominal transformative ending -
ETM
Adnominal form transformative ending -
IC
Interjection -
JKS
Subject case marker -
JKC
Complement case marker -
JKG
Adnominal case marker -
JKO
Object case marker -
JKB
Adverbial case marker -
JKV
Vocative case marker -
JKQ
Quotative case marker -
JX
Auxiliary postpositional particle -
JC
Conjunctive postpositional particle -
MAG
General Adverb -
MAJ
Conjunctive adverb -
MM
Determiner -
NNG
General Noun -
NNP
Proper Noun -
NNB
Dependent noun (following nouns) -
NNBC
Dependent noun -
NP
Pronoun -
NR
Numeral -
SF
Terminal punctuation (? ! .) -
SH
Chinese character -
SL
Foreign language -
SN
Number -
SP
Space -
SSC
Closing brackets -
SSO
Opening brackets -
SC
Separator (· / :) -
SY
Other symbol -
SE
Ellipsis -
VA
Adjective -
VCN
Negative designator -
VCP
Positive designator -
VV
Verb -
VX
Auxiliary Verb or Adjective -
XPN
Prefix -
XR
Root -
XSA
Adjective Suffix -
XSN
Noun Suffix -
XSV
Verb Suffix -
UNKNOWN
Unknown -
UNA
Unknown -
NA
Unknown -
VSV
Unknown
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
Returns the description associated with the tag.
-