Package org.apache.lucene.analysis.ko
Enum POS.Tag
- All Implemented Interfaces:
Serializable
,Comparable<POS.Tag>
- Enclosing class:
- POS
Part of speech tag for Korean based on Sejong corpus classification.
-
Enum Constant Summary
Enum ConstantDescriptionVerbal endingsInterjectionEnding 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 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 Details
-
E
Verbal endings -
IC
Interjection -
J
Ending 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Returns the description associated with the tag.
-