Class

org.clulab.struct

NonTerminal

Related Doc: package struct

Permalink

case class NonTerminal(label: String, _children: Array[Tree]) extends Tree with Serializable with Product

Linear Supertypes
Product, Equals, Serializable, Serializable, Tree, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonTerminal
  2. Product
  3. Equals
  4. Serializable
  5. Serializable
  6. Tree
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NonTerminal(label: String, _children: Array[Tree])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val _children: Array[Tree]

    Permalink
  5. var _parent: Option[NonTerminal]

    Permalink
    Attributes
    protected
    Definition Classes
    Tree
  6. def ancestors: List[NonTerminal]

    Permalink

    returns ancestors sorted from near to far

    returns ancestors sorted from near to far

    Definition Classes
    Tree
  7. def apply(address: List[Int]): Tree

    Permalink
    Definition Classes
    Tree
  8. def apply(address: Int*): Tree

    Permalink
    Definition Classes
    Tree
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def children: Option[Array[Tree]]

    Permalink

    Array of children of this node

    Array of children of this node

    Definition Classes
    NonTerminalTree
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def endOffset: Int

    Permalink

    Offset of token immediately after this constituent; starts at 0

    Offset of token immediately after this constituent; starts at 0

    Definition Classes
    NonTerminalTree
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def findHeadPosition: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Tree
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hasLabel(label: String): Boolean

    Permalink
    Definition Classes
    Tree
  18. def head: Int

    Permalink

    Offset of *immediate* child that is head for this constituent; starts at 0

    Offset of *immediate* child that is head for this constituent; starts at 0

    Definition Classes
    NonTerminalTree
  19. def headOffset: Int

    Permalink

    Offset of head token; starts at 0

    Offset of head token; starts at 0

    Definition Classes
    NonTerminalTree
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isLeaf: Boolean

    Permalink
    Definition Classes
    NonTerminalTree
  22. def isPreTerminal: Boolean

    Permalink
    Definition Classes
    Tree
  23. def isUnary: Boolean

    Permalink
    Definition Classes
    Tree
  24. val label: String

    Permalink
  25. def leftSibling: Option[Tree]

    Permalink
    Definition Classes
    Tree
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def parent: Option[NonTerminal]

    Permalink
    Definition Classes
    Tree
  30. def posTags: List[(String, String)]

    Permalink
    Definition Classes
    Tree
  31. def preterminals: List[NonTerminal]

    Permalink
    Definition Classes
    Tree
  32. def rightSibling: Option[Tree]

    Permalink
    Definition Classes
    Tree
  33. def root: Tree

    Permalink
    Definition Classes
    Tree
  34. def setHead(h: Int): Unit

    Permalink
  35. def setParent(p: Option[NonTerminal]): Unit

    Permalink
    Definition Classes
    Tree
  36. def setStartEndIndices(s: Int, e: Int): Unit

    Permalink
  37. def startOffset: Int

    Permalink

    Start token offset in the sentence for this constituent; starts at 0

    Start token offset in the sentence for this constituent; starts at 0

    Definition Classes
    NonTerminalTree
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def terminals: List[Terminal]

    Permalink
    Definition Classes
    Tree
  40. def toString(): String

    Permalink
    Definition Classes
    Tree → AnyRef → Any
  41. def toStringDepth(showHead: Boolean, depth: Int = 0): String

    Permalink

    Pretty print, including position of head child

    Pretty print, including position of head child

    Definition Classes
    Tree
  42. def tokens: List[String]

    Permalink
    Definition Classes
    Tree
  43. def treePosition: List[Int]

    Permalink
    Definition Classes
    Tree
  44. def value: String

    Permalink

    A syntactic label, POS tag, or word for terminal nodes

    A syntactic label, POS tag, or word for terminal nodes

    Definition Classes
    NonTerminalTree
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from Tree

Inherited from AnyRef

Inherited from Any

Ungrouped