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 String
getFunctionalTag()
String
getLemma()
String
getLexeme()
String
getSecondaryTag()
boolean
isLeaf()
void
setFunctionalTag(String funcTag)
void
setLemma(String lemma)
void
setLexeme(String lexeme)
void
setSecondaryTag(String secondaryTag)
String
toString()
-
Methods inherited from class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
getLevel, getMorphologicalTag, getSyntacticTag, setLevel, setMorphologicalTag, setSyntacticTag
-
-
-
-
Method Detail
-
isLeaf
public boolean isLeaf()
- Overrides:
isLeaf
in 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()
-
-