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 static class ADSentenceStream.SentenceParser.Leaf
extends ADSentenceStream.SentenceParser.TreeElement
Represents the AD leaf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLemma()
boolean
isLeaf()
void
setFunctionalTag
(String funcTag) void
void
void
setSecondaryTag
(String secondaryTag) toString()
Methods inherited from class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
getLevel, getMorphologicalTag, getSyntacticTag, setLevel, setMorphologicalTag, setSyntacticTag
-
Constructor Details
-
Leaf
public Leaf()
-
-
Method Details
-
isLeaf
public boolean isLeaf()- Overrides:
isLeaf
in classADSentenceStream.SentenceParser.TreeElement
-
setFunctionalTag
-
getFunctionalTag
-
setSecondaryTag
-
getSecondaryTag
-
setLexeme
-
getLexeme
-
toString
-
setLemma
-
getLemma
-