edu.arizona.sista.swirl2

Reader

Related Docs: object Reader | package swirl2

class Reader extends AnyRef

Reads a CoNLL formatted file and converts it to our own representation User: mihais Date: 5/5/15

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Reader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Reader()

Type Members

  1. class CoNLLToken extends AnyRef

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. var argConflictCount: Int

  5. var argCount: Int

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def collapseHyphens(origSentence: Array[CoNLLToken], verbose: Boolean): Array[CoNLLToken]

    Merges tokens that were separated around dashes in CoNLL, to bring tokenization closer to the usual Treebank one We need this because most parsers behave horribly if hyphenated words are tokenized around dashes

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findEnd(sent: Array[CoNLLToken], start: Int): Int

  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 load(filePath: String): Document

  17. def mergeFrame(phrase: Array[CoNLLToken], position: Int, verbose: Boolean): String

  18. def mergeFrames(phrase: Array[CoNLLToken], verbose: Boolean): Array[String]

  19. def mergePredicates(phrase: Array[CoNLLToken], verbose: Boolean): Int

  20. def mergeTokens(sent: Array[CoNLLToken], start: Int, end: Int, verbose: Boolean): CoNLLToken

  21. def mkDocument(sentences: Array[Array[CoNLLToken]], proc: Processor): Document

  22. def mkSemanticDependencies(sentence: Array[CoNLLToken]): DirectedGraph[String]

  23. def mkToken(bits: Array[String]): CoNLLToken

  24. var multiPredCount: Int

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

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

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

    Definition Classes
    AnyRef
  28. var predCount: Int

  29. def read(file: File, proc: Processor = null, verbose: Boolean = false): Document

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

    Definition Classes
    AnyRef
  31. def toDirectedGraph(tokens: Array[CoNLLToken]): DirectedGraph[String]

  32. def toLemmas(tokens: Array[CoNLLToken]): Array[String]

  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. def toTags(tokens: Array[CoNLLToken]): Array[String]

  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped