public interface PartOfSpeechAttribute extends Attribute
Modifier and Type | Method and Description |
---|---|
POS.Tag |
getLeftPOS()
Get the left part of speech of the token.
|
Dictionary.Morpheme[] |
getMorphemes()
Get the
Dictionary.Morpheme decomposition of the token. |
POS.Type |
getPOSType()
Get the
POS.Type of the token. |
POS.Tag |
getRightPOS()
Get the right part of speech of the token.
|
void |
setToken(Token token)
Set the current token.
|
POS.Tag getLeftPOS()
POS.Tag getRightPOS()
Dictionary.Morpheme[] getMorphemes()
Dictionary.Morpheme
decomposition of the token.void setToken(Token token)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.