- 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 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 -
Field Summary
Fields -
Constructor Summary
Constructors -
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
-
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
-
-
Field Details
-
code
private final int code -
desc
-
-
Constructor Details
-
Tag
Returns a new part of speech tag.- Parameters:
code
- The code for the tag.desc
- The description of the tag.
-
-
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.
-