Interface PartOfSpeechAttribute
-
- All Superinterfaces:
Attribute
- All Known Implementing Classes:
PartOfSpeechAttributeImpl
public interface PartOfSpeechAttribute extends Attribute
Part of Speech attributes for Korean.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description POS.TaggetLeftPOS()Get the left part of speech of the token.Dictionary.Morpheme[]getMorphemes()Get theDictionary.Morphemedecomposition of the token.POS.TypegetPOSType()Get thePOS.Typeof the token.POS.TaggetRightPOS()Get the right part of speech of the token.voidsetToken(Token token)Set the current token.
-
-
-
Method Detail
-
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
Dictionary.Morpheme[] getMorphemes()
Get theDictionary.Morphemedecomposition of the token.
-
setToken
void setToken(Token token)
Set the current token.
-
-