case class ProseTree(root: Token, tree: List[DepRel]) extends ParseData with Product with Serializable
Stanford Dependency tree
- Alphabetic
- By Inheritance
- ProseTree
- Serializable
- Product
- Equals
- ParseData
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def -(s: ProseTree): ProseTree
Remove all edges contained in ProseTree s and with dependent in s
- def -(node: Token): ProseTree
Remove dependency relations with dependent a given token
- def --(ss: List[ProseTree]): ProseTree
Deletes in the sense of method {{-}} a list of trees
- def -<(node: Token): ProseTree
The tree of all descendants of a node
- def ->[B](y: B): (ProseTree, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def depView(depRel: DepRel, parents: List[Token]): Elem
- def desc(init: List[DepRel]): List[DepRel]
List of dependency relations descending from an initial list
- def descTree(node: Token): ProseTree
The tree of all descendants of a node
- def ensuring(cond: (ProseTree) => Boolean, msg: => Any): ProseTree
- def ensuring(cond: (ProseTree) => Boolean): ProseTree
- def ensuring(cond: Boolean, msg: => Any): ProseTree
- def ensuring(cond: Boolean): ProseTree
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def find(typ: String, word: String): Option[DepRel]
Find Dependency Relations in heirs specifying both type and dependent word
- def find(typ: String): Option[DepRel]
Find Dependency Relations in heirs of (more generally starting with) a given dependency type
- def findAll(typ: String): List[DepRel]
Find all heirs with dependency the given type
- def findAll(typs: List[String]): List[DepRel]
Find all heirs with dependency one of the given types
- def findSplit(typ: String, word: String): Option[(DepRel, ProseTree, ProseTree)]
Find Dependency Relations in heirs for type and word and split tree accordingly if found
- def findSplit(typ: String): Option[(DepRel, ProseTree, ProseTree)]
Find Dependency Relations in heirs for type and split tree accordingly if found
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def heirs: List[DepRel]
Dependence relations with governor the root
- val heirsView: List[Elem]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val labelMap: Map[Token, List[String]]
Mainly for convenient visualization
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def offspring(node: Token): List[DepRel]
Dependence relations with governor a given token
- val pp: PrettyPrinter
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val root: Token
- def split(r: DepRel): (DepRel, ProseTree, ProseTree)
Splits into the tree of descendants and the rest
- lazy val subTrees: Set[ProseTree]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ProseTree → AnyRef → Any
- val tree: List[DepRel]
- def treeAt(head: String): Option[ProseTree]
- def treesAt(head: String): Set[ProseTree]
- val vertices: Set[Token]
- val view: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (ProseTree, B)
- Implicit
- This member is added by an implicit conversion from ProseTree toArrowAssoc[ProseTree] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.