public class ASemanticGraphFactory
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 |
---|
ASemanticGraphFactory(java.util.List<WordSegment> segmentation)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ASemanticGraph |
make(edu.stanford.nlp.semgraph.SemanticGraph semanticGraph,
TypedDependencyProvider provider,
TypedDependencyMode mode)
Make semantic graph artifact from Stanford semantic graph
|
private final java.util.List<WordSegment> segmentation
public ASemanticGraphFactory(java.util.List<WordSegment> segmentation)
segmentation
- segmentationpublic ASemanticGraph make(edu.stanford.nlp.semgraph.SemanticGraph semanticGraph, TypedDependencyProvider provider, TypedDependencyMode mode)
semanticGraph
- Stanford semantic graphprovider
- typed dependency providermode
- typed dependency mode