org.apache.lucene.analysis.morfologik
Interface MorphosyntacticTagsAttribute

All Superinterfaces:
Attribute
All Known Implementing Classes:
MorphosyntacticTagsAttributeImpl

public interface MorphosyntacticTagsAttribute
extends Attribute

Morfologik dictionaries provide morphosyntactic annotations for surface forms. For the exact format and description of these, see the project's documentation (annotations vary by dictionary!).


Method Summary
 void clear()
          Clear to default value.
 List<StringBuilder> getTags()
          Returns the POS tag of the term.
 void setTags(List<StringBuilder> tags)
          Set the POS tag.
 

Method Detail

setTags

void setTags(List<StringBuilder> tags)
Set the POS tag. The default value (no-value) is null.

Parameters:
tags - A list of POS tags corresponding to current lemma.

getTags

List<StringBuilder> getTags()
Returns the POS tag of the term.


clear

void clear()
Clear to default value.



Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.