See: Description
Class | Description |
---|---|
SemanticGraph |
Represents a semantic graph of a sentence or document, with IndexedWord
objects for nodes.
|
SemanticGraphCoreAnnotations |
This class collects CoreAnnotations that are used in working with a
SemanticGraph.
|
SemanticGraphCoreAnnotations.AlternativeDependenciesAnnotation |
The CoreMap key for storing a semantic graph that was converted using a non-default converter.
|
SemanticGraphCoreAnnotations.BasicDependenciesAnnotation |
The CoreMap key for getting the syntactic dependencies of a sentence.
|
SemanticGraphCoreAnnotations.CollapsedCCProcessedDependenciesAnnotation | Deprecated
In the future, we will only provide basic, enhanced, and
enhanced++ dependencies.
|
SemanticGraphCoreAnnotations.CollapsedDependenciesAnnotation | Deprecated
In the future, we will only provide basic, enhanced, and
enhanced++ dependencies.
|
SemanticGraphCoreAnnotations.EnhancedDependenciesAnnotation |
The CoreMap key for getting the syntactic dependencies of a sentence.
|
SemanticGraphCoreAnnotations.EnhancedPlusPlusDependenciesAnnotation |
The CoreMap key for getting the syntactic dependencies of a sentence.
|
SemanticGraphEdge |
Represents an edge in the dependency graph.
|
SemanticGraphFactory |
Refactoring of static makers of SemanticGraphs in order to simplify
the SemanticGraph class.
|
SemanticGraphFormatter |
Defines a class for pretty-printing SemanticGraphs.
|
Enum | Description |
---|---|
SemanticGraph.OutputFormat | |
SemanticGraphCoreAnnotations.DependenciesType |
An enum to represent the three types of dependencies generally supported
|
SemanticGraphFactory.Mode |
This package provides a representation of dependency graphs (normally the collapsed Stanford Dependencies representation) as a graph (backed by the jgrapht graph library.
To create a typed dependency graph, a SemanticGraph
from a parse tree,
import edu.stanford.nlp.trees.semgraph.*; ... Tree treeParse = processSentence(sentence); SemanticGraph depGraph = SemanticGraphFactory.allTypedDependencies(treeParse, true);