ADSentenceStream.SentenceParser.TreeElement (Apache OpenNLP :: Core :: Formats 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.formats.ad, class: ADSentenceStream, class: SentenceParser, class: TreeElement

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

  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)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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