Class

org.clulab.struct

Terminal

Related Doc: package struct

Permalink

case class Terminal(token: String) extends Tree with Serializable with Product

Linear Supertypes
Product, Equals, Serializable, Serializable, Tree, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Terminal
  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 Terminal(token: String)

    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. var _parent: Option[NonTerminal]

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

    Permalink

    returns ancestors sorted from near to far

    returns ancestors sorted from near to far

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

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

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

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

    Permalink

    Array of children of this node

    Array of children of this node

    Definition Classes
    TerminalTree
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. 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
    TerminalTree
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Tree
  17. 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
    TerminalTree
  18. def headOffset: Int

    Permalink

    Offset of head token; starts at 0

    Offset of head token; starts at 0

    Definition Classes
    TerminalTree
  19. def index: Int

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isLeaf: Boolean

    Permalink
    Definition Classes
    TerminalTree
  22. def isPreTerminal: Boolean

    Permalink
    Definition Classes
    Tree
  23. def isUnary: Boolean

    Permalink
    Definition Classes
    Tree
  24. def leftSibling: Option[Tree]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Tree
  32. def root: Tree

    Permalink
    Definition Classes
    Tree
  33. def setIndex(i: Int): Unit

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

    Permalink
    Definition Classes
    Tree
  35. 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
    TerminalTree
  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    Tree → AnyRef → Any
  39. 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
  40. val token: String

    Permalink
  41. def tokens: List[String]

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

    Permalink
    Definition Classes
    Tree
  43. 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
    TerminalTree
  44. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. 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