See: Description
Interface | Description |
---|---|
ISemanticGraphEdgeEql |
Interface allowing for different routines to compare for equality over SemanticGraphEdges (typed
lambdas in Java?)
|
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.
|
SemanticGraphPrinter |
This class contains only a main method, which prints out various
views of SemanticGraphs.
|
SemanticGraphUtils |
Generic utilities for dealing with Dependency graphs and other structures, useful for
text simplification and rewriting.
|
SemanticGraphUtils.EdgeDiffResult | |
SemanticGraphUtils.PositionedTree |
This is used to uniquely index trees within a
Tree, maintaining the position of this subtree
within the context of the root.
|
SemanticGraphUtils.PrintVerticeParams |
Enum | Description |
---|---|
SemanticGraph.OutputFormat | |
SemanticGraphCoreAnnotations.DependenciesType |
An enum to represent the three types of dependencies generally supported
|
SemanticGraphFactory.Mode |
Exception | Description |
---|---|
UnknownVertexException |
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);