|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.util.AttributeImpl
org.apache.lucene.analysis.morfologik.MorphosyntacticTagsAttributeImpl
public class MorphosyntacticTagsAttributeImpl
Morphosyntactic annotations for surface forms.
MorphosyntacticTagsAttribute| Constructor Summary | |
|---|---|
MorphosyntacticTagsAttributeImpl()
Initializes this attribute with no tags |
|
| Method Summary | |
|---|---|
void |
clear()
Clear to default value. |
MorphosyntacticTagsAttributeImpl |
clone()
|
void |
copyTo(AttributeImpl target)
|
boolean |
equals(Object other)
|
List<StringBuilder> |
getTags()
Returns the POS tag of the term. |
int |
hashCode()
|
void |
setTags(List<StringBuilder> tags)
Sets the internal tags reference to the given list. |
String |
toString()
|
| Methods inherited from class org.apache.lucene.util.AttributeImpl |
|---|
reflectAsString, reflectWith |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MorphosyntacticTagsAttributeImpl()
| Method Detail |
|---|
public List<StringBuilder> getTags()
StringBuilders) because it changes with
each new term to avoid unnecessary memory allocations.
getTags in interface MorphosyntacticTagsAttributepublic void clear()
MorphosyntacticTagsAttribute
clear in interface MorphosyntacticTagsAttributeclear in class AttributeImplpublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void setTags(List<StringBuilder> tags)
setTags in interface MorphosyntacticTagsAttributetags - A list of POS tags corresponding to current lemma.public void copyTo(AttributeImpl target)
copyTo in class AttributeImplpublic MorphosyntacticTagsAttributeImpl clone()
clone in class AttributeImplpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||