Class/Object

org.clulab.swirl2

Reader

Related Docs: object Reader | package swirl2

Permalink

class Reader extends AnyRef

Reads a CoNLL formatted file and converts it to our own representation User: mihais Date: 5/5/15 Last Modified: Update for Scala 2.12: bug #10151 workaround.

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

Instance Constructors

  1. new Reader()

    Permalink

Type Members

  1. class CoNLLToken extends AnyRef

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

    Permalink
  5. var argCount: Int

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Permalink

    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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  24. var multiPredCount: Int

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

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

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

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

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

    Permalink
  33. def toString(): String

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

    Permalink
  35. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped