org.apache.lucene.analysis.morfologik
Interface MorphosyntacticTagAttribute

All Superinterfaces:
Attribute
All Known Implementing Classes:
MorphosyntacticTagAttributeImpl

public interface MorphosyntacticTagAttribute
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.
 CharSequence getTag()
          Returns the POS tag of the term.
 void setTag(CharSequence pos)
          Set the POS tag.
 

Method Detail

setTag

void setTag(CharSequence pos)
Set the POS tag. The default value (no-value) is null.

Parameters:
pos - POS tag corresponding to current lemma

getTag

CharSequence getTag()
Returns the POS tag of the term.


clear

void clear()
Clear to default value.



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