Package opennlp.tools.formats.ad
Class ADSentenceStream.SentenceParser.TreeElement
- java.lang.Object
-
- opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
-
- Direct Known Subclasses:
ADSentenceStream.SentenceParser.Leaf
,ADSentenceStream.SentenceParser.Node
- Enclosing class:
- ADSentenceStream.SentenceParser
public abstract static class ADSentenceStream.SentenceParser.TreeElement extends Object
Represents a tree element, Node or Leaf
-
-
Constructor Summary
Constructors Constructor Description TreeElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLevel()
String
getMorphologicalTag()
String
getSyntacticTag()
boolean
isLeaf()
void
setLevel(int level)
void
setMorphologicalTag(String morphologicalTag)
void
setSyntacticTag(String syntacticTag)
-
-
-
Method Detail
-
isLeaf
public boolean isLeaf()
-
setSyntacticTag
public void setSyntacticTag(String syntacticTag)
-
getSyntacticTag
public String getSyntacticTag()
-
setLevel
public void setLevel(int level)
-
getLevel
public int getLevel()
-
setMorphologicalTag
public void setMorphologicalTag(String morphologicalTag)
-
getMorphologicalTag
public String getMorphologicalTag()
-
-