public final class RelationDependentsFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
RelationDependentsFactory() |
Modifier and Type | Method and Description |
---|---|
private static void |
build(java.util.Collection<edu.stanford.nlp.trees.TypedDependency> typedDependencies,
ARelationDependents artifact)
Build relation dependents
|
static ARelationDependents |
make(edu.stanford.nlp.trees.GrammaticalStructure grammaticalStructure)
Make relation dependents from grammatical structure
|
private static RelationDependent |
makeRelationDependent(BasicRelation relation,
edu.stanford.nlp.ling.IndexedWord dependent)
Make relation dependent
|
public static ARelationDependents make(edu.stanford.nlp.trees.GrammaticalStructure grammaticalStructure)
grammaticalStructure
- grammatical structureprivate static void build(java.util.Collection<edu.stanford.nlp.trees.TypedDependency> typedDependencies, ARelationDependents artifact)
typedDependencies
- typed dependenciesartifact
- artifactprivate static RelationDependent makeRelationDependent(BasicRelation relation, edu.stanford.nlp.ling.IndexedWord dependent)
relation
- relationdependent
- tree graph node