c

epic.trees

ProcessedTreebank

case class ProcessedTreebank(path: File, maxLength: Int = 10000, includeDevInTrain: Boolean = false, binarization: String = "head", treebankType: String = "penn", numSentences: Int = Int.MaxValue, keepUnaryChainsFromTrain: Boolean = true, debuckwalterize: Boolean = false, supervisedHeadFinderPtbPath: String = "", supervisedHeadFinderConllPath: String = "") extends Product with Serializable

Represents a treebank with attendant spans, binarization, etc. Used in all the parser trainers.

Annotations
@Help()
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessedTreebank
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProcessedTreebank(path: File, maxLength: Int = 10000, includeDevInTrain: Boolean = false, binarization: String = "head", treebankType: String = "penn", numSentences: Int = Int.MaxValue, keepUnaryChainsFromTrain: Boolean = true, debuckwalterize: Boolean = false, supervisedHeadFinderPtbPath: String = "", supervisedHeadFinderConllPath: String = "")

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. val binarization: String
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. val debuckwalterize: Boolean
  8. lazy val devTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def headRules: HeadFinder[String]
  12. val includeDevInTrain: Boolean
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val keepUnaryChainsFromTrain: Boolean
  15. def makeTreeInstance(name: String, tree: Tree[String], words: IndexedSeq[String], collapseUnaries: Boolean): TreeInstance[AnnotatedLabel, String]
  16. val maxLength: Int
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val numSentences: Int
  21. val path: File
  22. val process: StandardTreeProcessor
  23. val supervisedHeadFinderConllPath: String
  24. val supervisedHeadFinderPtbPath: String
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. lazy val testTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]]
  27. lazy val trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]]
  28. def transformTrees(portion: Portion, maxL: Int, collapseUnaries: Boolean = false): IndexedSeq[TreeInstance[AnnotatedLabel, String]]
  29. lazy val treebank: Treebank[String]
  30. val treebankType: String
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. 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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped