edu.arizona.sista.processors.visualizer

DiscourseParserRunner

Related Doc: package visualizer

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

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

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

    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

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

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

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

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

  21. val processor: Processor

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

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

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

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

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

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

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

    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

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

  28. def toString(): String

    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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped