csli.util.nlp
Class Lemma
java.lang.Object
csli.util.nlp.Lemma
public class Lemma
- extends Object
- Author:
- mpurver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lemma
public Lemma(String rootForm,
String posTag)
getRoot
public String getRoot()
- Returns:
- Returns the root form.
getPoS
public String getPoS()
- Returns:
- Returns the part-of-speech tag.
setRoot
public void setRoot(String rootForm)
- Parameters:
the - root form
setPoS
public void setPoS(String posTag)
- Parameters:
the - part-of-speech tag