Class/Object

org.clulab.utils

CoNLLSRLReader

Related Docs: object CoNLLSRLReader | package utils

Permalink

class CoNLLSRLReader extends AnyRef

Reads a CoNLL-2008 formatted file (containing semantic roles) 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. CoNLLSRLReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CoNLLSRLReader()

    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. val AX_LABELS: Set[String]

    Permalink
  5. val KEEP_LABELS: Set[String]

    Permalink
  6. var argConflictCount: Int

    Permalink
  7. var argCount: Int

    Permalink
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. 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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  18. def load(filePath: String): Document

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

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

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

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

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

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

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

    Permalink
  26. var multiPredCount: Int

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. var predCount: Int

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

    Permalink
  32. def simplifyLabel(label: String): Option[String]

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

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

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

    Permalink
  36. def toString(): String

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

    Permalink
  38. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped