edu.stanford.nlp.ling.HasLemma Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stanford-parser Show documentation
Show all versions of stanford-parser Show documentation
Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.
The newest version!
package edu.stanford.nlp.ling;
import java.io.Serializable;
/**
* Something that implements the HasLemma
interface
* knows about lemmas.
*
* @author John Bauer
*/
public interface HasLemma extends Serializable {
/**
* Return the lemma value of the label (or null if none).
*
* @return String the lemma value for the label
*/
public String lemma();
/**
* Set the lemma value for the label (if one is stored).
*
* @param lemma The lemma value for the label
*/
public void setLemma(String lemma);
}