package
trees
Type Members
-
case class
AnnotatedLabel(label: String, headTag: Option[String] = scala.None, parents: IndexedSeq[String] = ..., siblings: IndexedSeq[Either[String, String]] = ..., features: Set[Annotation] = ...) extends Feature with CachedHashCode with Product with Serializable
-
trait
Annotation extends Serializable
-
-
final
case class
BinaryRule[+L](parent: L, left: L, right: L) extends Rule[L] with Product with Serializable
-
case class
BinaryTree[+L](label: L, leftChild: BinarizedTree[L], rightChild: BinarizedTree[L], span: Span) extends BinarizedTree[L] with Product with Serializable
-
-
case class
DependencyTree[+L, +W](dependencies: IndexedSeq[(L, Int)], words: IndexedSeq[W]) extends Product with Serializable
-
case class
FunctionalTag(tag: String) extends Annotation with Product with Serializable
-
case class
HeadDB[B](symbolArityHeadChildCounts: Counter2[(B, Int), Int, Int], ruleHeadChildCounts: Counter2[(B, Seq[B]), Int, Int], defaultToLeft: Boolean = true) extends Product with Serializable
-
trait
HeadFinder[L] extends AnyRef
-
case class
HeadRule[L](dir: Dir, dis: Boolean, heads: Seq[L]) extends Product with Serializable
-
trait
HeadRules[L] extends Serializable
-
final
case class
LexicalProduction[+L, +W](parent: L, word: W) extends Production[L, W] with Product with Serializable
-
case class
NaryTree[L](label: L, children: IndexedSeq[Tree[L]], span: Span) extends Tree[L] with Product with Serializable
-
case class
NullRule[+L](parent: L) extends Production[L, Nothing] with Product with Serializable
-
case class
NullaryTree[+L](label: L, span: Span) extends BinarizedTree[L] with Product with Serializable
-
case class
PartialTreeProcessor() extends Product with Serializable
-
class
PennTreeReader extends Iterator[(Tree[String], IndexedSeq[String])]
-
case class
ProcessedTreebank(path: File, maxLength: Int = 10000, includeDevInTrain: Boolean = false, binarization: String = "head", treebankType: String = "penn", numSentences: Int = scala.Int.MaxValue, keepUnaryChainsFromTrain: Boolean = true, debuckwalterize: Boolean = false, supervisedHeadFinderPtbPath: String = "", supervisedHeadFinderConllPath: String = "") extends Product with Serializable
-
-
sealed
trait
Rule[+L] extends Production[L, Nothing]
-
-
-
final
class
Span extends AnyVal
-
-
-
-
-
trait
Tree[+L] extends Serializable
-
case class
TreeInstance[L, +W](id: String, tree: BinarizedTree[L], words: IndexedSeq[W]) extends Example[BinarizedTree[L], IndexedSeq[W]] with Product with Serializable
-
trait
Treebank[L] extends AnyRef
-
final
case class
UnaryRule[+L](parent: L, child: L, chain: IndexedSeq[String]) extends Rule[L] with Product with Serializable
-
case class
UnaryTree[+L](label: L, child: BinarizedTree[L], chain: IndexedSeq[String], span: Span) extends BinarizedTree[L] with Product with Serializable