Package | Description |
---|---|
grammarscope.artifacts | |
grammarscope.browser.dialog | |
grammarscope.common.utils | |
grammarscope.document | |
grammarscope.glue | |
grammarscope.graph | |
grammarscope.grapher.widget | |
grammarscope.spo |
Modifier and Type | Class and Description |
---|---|
class |
ASemanticGraph
Artifact representing semantic graph
|
Modifier and Type | Method and Description |
---|---|
private javax.swing.JComponent |
AnalysisDialog.makeGraphWidget(Graph<GraphNode,GraphEdge> graph,
Settings settings,
boolean lemmatize)
Make graph widget
|
void |
GraphDialog.setGraph(Graph<GraphNode,GraphEdge> graph,
GraphDecorator<GNode,GEdge> decorator,
boolean lemmatize)
Set graph
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<GraphEdge> |
EdgeSort.sort(Graph<GraphNode,GraphEdge> graph,
RelationFilter relationFilter)
Sort edges per span
|
static java.util.List<GraphEdge> |
EdgeSort.sortPerNode(Graph<GraphNode,GraphEdge> graph,
RelationFilter relationFilter)
Order edges per node
|
static java.util.List<GraphEdge> |
EdgeSort.sortPerRelation(Graph<GraphNode,GraphEdge> graph,
RelationFilter relationFilter) |
Modifier and Type | Method and Description |
---|---|
Graph<GraphNode,GraphEdge> |
Document.getGraph(int sentenceIdx,
TypedDependencyProvider provider,
TypedDependencyMode mode)
Get graph to be displayed (default is semantic graph)
|
Modifier and Type | Class and Description |
---|---|
class |
MutableASemanticGraph
Mutable semantic graph artifact
|
(package private) class |
MutableGraph<N extends Graph.IGraphNode<E>,E extends Graph.IGraphEdge<N>>
Mutable graph
|
Modifier and Type | Method and Description |
---|---|
static Graph<GraphNode,GraphEdge> |
GraphFactoryFromTypedDependencies.makeGraph(java.util.Collection<edu.stanford.nlp.trees.TypedDependency> typedDependencies)
Make graph from parse tree and dependencies
|
Graph<GraphNode,GraphEdge> |
GraphFactoryFromSemanticGraph.makeGraph(edu.stanford.nlp.semgraph.SemanticGraph semanticGraph,
TypedDependencyProvider provider,
TypedDependencyMode mode)
Make graph from Stanford semantic graph
|
static Graph<GraphNode,GraphEdge> |
GraphFactoryFromTypedDependencies.makeGraph2(java.util.Collection<edu.stanford.nlp.trees.TypedDependency> typedDependencies)
Make graph from parse tree and dependencies (unused alternative)
|
Modifier and Type | Method and Description |
---|---|
static Graph<GraphNode,GraphEdge> |
GraphFactory.makeGraph(ATypedDependencies artifact) |
Modifier and Type | Method and Description |
---|---|
private static edu.uci.ics.jung.graph.SparseMultigraph<GNode,GEdge> |
Model.makeGraph(Graph<GraphNode,GraphEdge> graph,
boolean lemmatize)
Make jung graph
|
void |
GraphWidget.set(Graph<GraphNode,GraphEdge> graph,
GraphDecorator<GNode,GEdge> decorator,
boolean lemmatize) |
void |
View.set(Graph<GraphNode,GraphEdge> graph,
GraphDecorator<GNode,GEdge> graphDecorator,
boolean lemmatize)
Set data model
|
Constructor and Description |
---|
Model(Graph<GraphNode,GraphEdge> graph,
boolean lemmatize)
Make model
|
Modifier and Type | Method and Description |
---|---|
Graph<GraphNode,GraphEdge> |
ISPOAnalyzer.analyze(Document document,
TypedDependencyProvider provider,
TypedDependencyMode mode) |
Graph<GraphNode,GraphEdge> |
SPOAnalyzer.analyze(Document document,
TypedDependencyProvider provider,
TypedDependencyMode mode) |
Graph<GraphNode,GraphEdge> |
SPOGraphFactory.makeGraph(java.util.List<Link> links,
java.util.Map<Instance,Coreferences.Mention> mentions) |