GrammarScope  4.0.0
Public Member Functions | Static Public Attributes | Static Private Member Functions | List of all members
grammarscope.spo.SPOGraphFactory Class Reference

Public Member Functions

Graph< GraphNode, GraphEdgemakeGraph (final List< Link > links, final Map< Instance, Mention > mentions)
 

Static Public Attributes

static final String[] edgeIds = { "s", "o", "pp", "tp" }
 

Static Private Member Functions

static GraphNode makePNode (final int sentenceIdx, final Token predicate, final Map< Instance, GraphNode > nodes, @SuppressWarnings("unused") final Map< Instance, Mention > mentions, final MutableGraph< GraphNode, GraphEdge > graph)
 
static GraphNode makeTNode (final int sentenceIdx, final Token term, final Map< Instance, GraphNode > nodes, final Map< Instance, Mention > mentions, final MutableGraph< GraphNode, GraphEdge > graph)
 

Member Function Documentation

◆ makeGraph()

Graph<GraphNode, GraphEdge> grammarscope.spo.SPOGraphFactory.makeGraph ( final List< Link links,
final Map< Instance, Mention mentions 
)

◆ makePNode()

static GraphNode grammarscope.spo.SPOGraphFactory.makePNode ( final int  sentenceIdx,
final Token  predicate,
final Map< Instance, GraphNode nodes,
@SuppressWarnings("unused") final Map< Instance, Mention mentions,
final MutableGraph< GraphNode, GraphEdge graph 
)
staticprivate

◆ makeTNode()

static GraphNode grammarscope.spo.SPOGraphFactory.makeTNode ( final int  sentenceIdx,
final Token  term,
final Map< Instance, GraphNode nodes,
final Map< Instance, Mention mentions,
final MutableGraph< GraphNode, GraphEdge graph 
)
staticprivate

Member Data Documentation

◆ edgeIds

final String [] grammarscope.spo.SPOGraphFactory.edgeIds = { "s", "o", "pp", "tp" }
static

The documentation for this class was generated from the following file: