public class ATypedDependenciesFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<WordSegment> |
segmentation
Segmentation to use if absent on index word
|
Constructor and Description |
---|
ATypedDependenciesFactory(java.util.List<WordSegment> segmentation)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ATypedDependencies |
make(java.util.Collection<edu.stanford.nlp.trees.TypedDependency> typedDependencies,
TypedDependencyProvider provider,
TypedDependencyMode mode)
Make typed dependencies artifact from Stanford typed dependencies
|
private final java.util.List<WordSegment> segmentation
public ATypedDependenciesFactory(java.util.List<WordSegment> segmentation)
segmentation
- segmentationpublic ATypedDependencies make(java.util.Collection<edu.stanford.nlp.trees.TypedDependency> typedDependencies, TypedDependencyProvider provider, TypedDependencyMode mode)
typedDependencies
- Stanford typed dependenciesprovider
- typed dependency providermode
- typed dependency mode