object NlpProse
Stanford dependency trees and associated methods
- Alphabetic
- By Inheritance
- NlpProse
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class DepRel(gov: Token, dep: Token, deptype: String) extends Product with Serializable
Stanford dependency relation
- trait ParseData extends AnyRef
The trait for all data to be parsed to mathematics
- class ProseExtractor[A] extends AnyRef
Generic Extractor from ProseTree
- case class ProseTree(root: Token, tree: List[DepRel]) extends ParseData with Product with Serializable
Stanford Dependency tree
- case class SplitTree(edge: DepRel, subtree: ProseTree, pruned: ProseTree) extends Product with Serializable
- case class Token(word: String, idx: Int) extends Product with Serializable
Tokens
- class TypeListMatch extends AnyRef
- class TypeMatch extends AnyRef
Extractor matching Dependency type
- class TypeWordMatch extends AnyRef
Extractor matching Dependency type and Word of Dependent Token
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findroot(t: List[DepRel]): Token
Returns root of dependency tree
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mweFold(t: ProseTree): ProseTree
returns new tree folding together multi-word expressions
- def mweMerge(t: ProseTree, d: DepRel): DepRel
returns Dependency Relation obtained by merging in multi-word expressions
- def mweTail(t: ProseTree, node: Token): Token
Find the string of multi-word expressions starting at a token
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- object Advcl extends TypeMatch
- object Argument extends TypeListMatch
Fallback for all arguments
- object Ccomp extends TypeMatch
Extractor for Clausal complement
- object Conj
- object Cop extends ProseExtractor[(ProseTree, ProseTree)]
Extractor for "cop" identifying the subject
- object CopRel extends TypeMatch
Extractor for "cop" relation
- object Gt extends TypeWordMatch
Extractor for >
- object IfMark extends TypeWordMatch
- object Lt extends TypeWordMatch
Extractor for <
- object Modifier extends TypeListMatch
Fallback for all modifiers
- object Nsubj extends TypeMatch
Extractor for nsubj
- object Parataxis extends TypeMatch
- object Prep
- object ProseTree extends Serializable
- object QuantMod extends TypeMatch
Extractor for quantmod
- object Rcmod extends TypeMatch
Extractor for relative clause modifier
- object Which extends TypeWordMatch
Extractor for "which"
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated