class SimpleTreebank extends Treebank[String]

A SimpleTreebank can be easily specified by paths to the trees in Penn treebank format

Linear Supertypes
Treebank[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleTreebank
  2. Treebank
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleTreebank(train: IndexedSeq[File], dev: IndexedSeq[File], test: IndexedSeq[File])
  2. new SimpleTreebank(train: File, dev: File, test: File)
  3. new SimpleTreebank(trainUrls: Map[String, URL], devUrls: Map[String, URL], testUrls: Map[String, URL])(implicit enc: Codec)

Type Members

  1. case class Portion(name: String, sections: IndexedSeq[String]) extends Product with Serializable

    Class for a split of a training set.

    Class for a split of a training set.

    Definition Classes
    Treebank

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. lazy val all: Portion

    All sentences

    All sentences

    Definition Classes
    Treebank
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. val dev: Portion

    Dev set

    Dev set

    Definition Classes
    SimpleTreebankTreebank
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. val sections: IndexedSeq[String]

    Every section in the treebank

    Every section in the treebank

    Definition Classes
    SimpleTreebankTreebank
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. val test: Portion

    Test set

    Test set

    Definition Classes
    SimpleTreebankTreebank
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. val train: Portion

    Training set

    Training set

    Definition Classes
    SimpleTreebankTreebank
  21. def trees: Iterator[(Tree[String], IndexedSeq[String])]

    All trees

    All trees

    Definition Classes
    Treebank
  22. def treesFromSection(sec: String): PennTreeReader

    Read the trees from a section

    Read the trees from a section

    Definition Classes
    SimpleTreebankTreebank
  23. def treesFromSections(secs: IndexedSeq[String]): Iterator[(Tree[String], IndexedSeq[String])]
    Definition Classes
    Treebank
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Treebank[String]

Inherited from AnyRef

Inherited from Any

Ungrouped