Interface PartOfSpeechAttribute
- All Superinterfaces:
Attribute
- All Known Implementing Classes:
PartOfSpeechAttributeImpl
Part of Speech attributes for Korean.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Method Summary
Modifier and TypeMethodDescriptionGet the left part of speech of the token.Get theKoMorphData.Morphemedecomposition of the token.Get thePOS.Typeof the token.Get the right part of speech of the token.voidSet the current token.
-
Method Details
-
getPOSType
POS.Type getPOSType()Get thePOS.Typeof the token. -
getLeftPOS
POS.Tag getLeftPOS()Get the left part of speech of the token. -
getRightPOS
POS.Tag getRightPOS()Get the right part of speech of the token. -
getMorphemes
KoMorphData.Morpheme[] getMorphemes()Get theKoMorphData.Morphemedecomposition of the token. -
setToken
Set the current token.
-