Serializable, Cloneable, PartOfSpeechAttribute, org.apache.lucene.util.Attributepublic class PartOfSpeechAttributeImpl extends org.apache.lucene.util.AttributeImpl implements PartOfSpeechAttribute, Cloneable
Token.getPartOfSpeech().| Constructor | Description |
|---|---|
PartOfSpeechAttributeImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
|
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
|
String |
getPartOfSpeech() |
|
void |
reflectWith(org.apache.lucene.util.AttributeReflector reflector) |
|
void |
setToken(Token token) |
public String getPartOfSpeech()
getPartOfSpeech in interface PartOfSpeechAttributepublic void setToken(Token token)
setToken in interface PartOfSpeechAttributepublic void clear()
clear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo in class org.apache.lucene.util.AttributeImplpublic void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
reflectWith in class org.apache.lucene.util.AttributeImplCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.