Package opennlp.tools.formats.ad
Class ADSentenceStream.SentenceParser.Leaf
- java.lang.Object
-
- opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
-
- opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
-
- Enclosing class:
- ADSentenceStream.SentenceParser
public class ADSentenceStream.SentenceParser.Leaf extends ADSentenceStream.SentenceParser.TreeElement
Represents the AD leaf
-
-
Constructor Summary
Constructors Constructor Description Leaf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFunctionalTag()StringgetLemma()StringgetLexeme()StringgetSecondaryTag()booleanisLeaf()voidsetFunctionalTag(String funcTag)voidsetLemma(String lemma)voidsetLexeme(String lexeme)voidsetSecondaryTag(String secondaryTag)StringtoString()-
Methods inherited from class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
getLevel, getMorphologicalTag, getSyntacticTag, setLevel, setMorphologicalTag, setSyntacticTag
-
-
-
-
Method Detail
-
isLeaf
public boolean isLeaf()
- Overrides:
isLeafin classADSentenceStream.SentenceParser.TreeElement
-
setFunctionalTag
public void setFunctionalTag(String funcTag)
-
getFunctionalTag
public String getFunctionalTag()
-
setSecondaryTag
public void setSecondaryTag(String secondaryTag)
-
getSecondaryTag
public String getSecondaryTag()
-
setLexeme
public void setLexeme(String lexeme)
-
getLexeme
public String getLexeme()
-
setLemma
public void setLemma(String lemma)
-
getLemma
public String getLemma()
-
-