edu.stanford.nlp.ling
Interface HasLemma

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CoreLabel, CyclicCoreLabel, IndexedWord

public interface HasLemma
extends java.io.Serializable

Something that implements the HasLemma interface knows about lemmas.

Author:
John Bauer

Method Summary
 java.lang.String lemma()
          Return the lemma value of the label (or null if none).
 void setLemma(java.lang.String lemma)
          Set the lemma value for the label (if one is stored).
 

Method Detail

lemma

java.lang.String lemma()
Return the lemma value of the label (or null if none).

Returns:
String the lemma value for the label

setLemma

void setLemma(java.lang.String lemma)
Set the lemma value for the label (if one is stored).

Parameters:
lemma - The lemma value for the label


Stanford NLP Group