Class

org.clulab.discourse.rstparser

DiscourseTree

Related Doc: package rstparser

Permalink

class DiscourseTree extends Serializable

Stores the RST discourse tree for one document User: mihais Date: 4/4/14 Last Modified: Document JSON output methods added for discourse parser visualizer.

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiscourseTree
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DiscourseTree(l: String, d: RelationDirection.Value, c: Array[DiscourseTree])

    Permalink

    Creates a simple non-terminal tree

  2. new DiscourseTree(sent: Int, ft: Int, lt: Int, doc: Document, e: Int)

    Permalink

    Creates a terminal DiscourseTree

  3. new DiscourseTree(relationLabel: String, relationDirection: RelationDirection.Value, children: Array[DiscourseTree], kind: TreeKind.Value, rawText: String, charOffsets: (Int, Int), firstToken: TokenOffset = null, lastToken: TokenOffset = null, firstEDU: Int = 1, lastEDU: Int = 1)

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def buildJSON(argJson: JValue, printChildren: Boolean, printKind: Boolean): JValue

    Permalink

    Build and return a JSON object for this discourse tree.

  6. var charOffsets: (Int, Int)

    Permalink
  7. var children: Array[DiscourseTree]

    Permalink
  8. def clone(): AnyRef

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

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. var firstEDU: Int

    Permalink
  14. def firstSentence: Int

    Permalink
  15. var firstToken: TokenOffset

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isTerminal: Boolean

    Permalink
  20. val kind: TreeKind.Value

    Permalink
  21. var lastEDU: Int

    Permalink
  22. def lastSentence: Int

    Permalink
  23. var lastToken: TokenOffset

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def print(os: StringBuilder, offset: Int, printChildren: Boolean, printKind: Boolean): Unit

    Permalink
  28. val rawText: String

    Permalink
  29. var relationDirection: RelationDirection.Value

    Permalink
  30. var relationLabel: String

    Permalink
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(printChildren: Boolean, printKind: Boolean): String

    Permalink
  33. def toString(): String

    Permalink
    Definition Classes
    DiscourseTree → AnyRef → Any
  34. def tokenCount: Int

    Permalink
  35. def visualizerJSON(printChildren: Boolean, printKind: Boolean, pprint: Boolean): String

    Permalink

    Generate a JSON output string for this discourse tree, specifically including only information currently needed for the discourse parser visualizer.

  36. def visualizerJSON(): String

    Permalink

    Generate JSON output for the discourse parser visualizer using the default arguments.

  37. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped