Package opennlp.tools.formats.ad
Class ADSentenceStream.SentenceParser.Node
- java.lang.Object
-
- opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
-
- opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
-
- Enclosing class:
- ADSentenceStream.SentenceParser
public static class ADSentenceStream.SentenceParser.Node extends ADSentenceStream.SentenceParser.TreeElement
Represents the AD node
-
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addElement(ADSentenceStream.SentenceParser.TreeElement element)
ADSentenceStream.SentenceParser.TreeElement[]
getElements()
String
toString()
-
Methods inherited from class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
getLevel, getMorphologicalTag, getSyntacticTag, isLeaf, setLevel, setMorphologicalTag, setSyntacticTag
-
-
-
-
Method Detail
-
addElement
public void addElement(ADSentenceStream.SentenceParser.TreeElement element)
-
getElements
public ADSentenceStream.SentenceParser.TreeElement[] getElements()
-
-