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 Details

    • TreeElement

      public TreeElement()
  • Method Details

    • 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()