Class

org.clulab.processors.visualizer

DiscourseParserRunner

Related Doc: package visualizer

Permalink

class DiscourseParserRunner extends AnyRef

External API for running different discourse parsers for visualization. Written By: Tom Hicks. 1/15/2015. Last Modified: Revert to returning arrays of arrays of words.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiscourseParserRunner
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DiscourseParserRunner(useProcessor: String = "core")

    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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def dependEdges(doc: Document): Array[String]

    Permalink

    Return a sequence of lists of dependency edges: one list for each sentence.

  7. def discTrees(doc: Document): Array[String]

    Permalink

    Return an array of JSON representations of the document's discourse trees.

  8. def edgeToJson(edge: (Int, Int, String)): JArray

    Permalink
  9. def edgesToJson(edgeList: List[(Int, Int, String)], pprint: Boolean = false): String

    Permalink

    Return a JSON string from the given (possibly empty) list of edges.

  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. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  16. def myAnnotate(doc: Document): (Document, List[List[Any]])

    Permalink

    This alternate annotate method is called from above to customize processing.

    This alternate annotate method is called from above to customize processing. Currently, it is used to measure and return timings for the various processors.

  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def parseText(text: String): DiscourseParserResults

    Permalink

    Create and annotate a document using the selected processor, return a results object containing timings, discourse trees, and syntax trees.

  21. val processor: Processor

    Permalink
  22. def sentWords(doc: Document): Array[Array[String]]

    Permalink

    Return a sequence of the document's arrays of words, one for each sentence.

  23. def synTrees(doc: Document): Array[String]

    Permalink

    Return an array of JSON representations of the document's syntax trees.

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

    Permalink
    Definition Classes
    AnyRef
  25. def tListToJson(lst: List[Any]): JArray

    Permalink
  26. def timeIt(it: ⇒ Unit): List[Long]

    Permalink

    Return a list of start time, stop time, and elapsed time for the given code block.

  27. def timingsToJson(timings: List[List[Any]], pprint: Boolean = false): String

    Permalink

    Return a JSON string from the given list of lists of timings.

  28. def toString(): String

    Permalink

    Override and customize the string representation of this class.

    Override and customize the string representation of this class.

    Definition Classes
    DiscourseParserRunner → AnyRef → Any
  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped