| Modifier and Type | Method and Description |
|---|---|
static SRelation<SNode,SNode> |
SaltFactory.createSRelation()
|
SRelation<SNode,SNode> |
ISaltFactory.createSRelation()
Creates a new
SRelation object of type SRelationImpl. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SCorpusDocumentRelation
|
interface |
SCorpusRelation
This type represents a hierarchical relation between two corpora (two objects
of type
SCorpus). |
interface |
SDominanceRelation
The meaning of the type
SDominanceRelation is a part-of relation. |
interface |
SMedialRelation |
interface |
SOrderRelation
This class provides SOrderRelation, to determine the order of SNodes.
|
interface |
SPointingRelation
Sometimes in linguistics you want to set nodes into a relationship without
adding a set semantic or a hierarchical relation.
|
interface |
SSequentialRelation<S extends SNode,T extends SNode,P extends Number> |
interface |
SSpanningRelation
A span is used to group a couple of tokens together to give them exactly the
same annotation or to connect them as a bunch with a 3rd node at once.
|
interface |
STextOverlappingRelation<S extends SNode,T extends SNode> |
interface |
STextualRelation
A
STextualRelation links a primary text (as source) with a token (as
target). |
interface |
STimelineRelation |
interface |
STimeOverlappingRelation<S extends SNode,T extends SNode> |
| Modifier and Type | Method and Description |
|---|---|
SRelation |
SDocumentGraph.addNode(SNode source,
SNode target,
SALT_TYPE relationType)
Creates and returns a 'SRelation' of the type given by
sRelationType between source and target.
|
SRelation |
SDocumentGraph.createRelation(SNode source,
SNode target,
SALT_TYPE relationType,
String annotations)
Creates a
SRelation object, and sets its sSource and sTarget to
the passed ones. |
| Modifier and Type | Method and Description |
|---|---|
List<SRelation> |
SDocumentGraph.getRelations(Class<?> clazz)
Returns all relations of the passed class.
|
List<SRelation> |
SDocumentGraph.getRelations(SALT_TYPE type)
Returns all relations of the passed type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SCorpusDocumentRelationImpl |
class |
SCorpusRelationImpl |
class |
SDominanceRelationImpl |
class |
SMedialRelationImpl |
class |
SOrderRelationImpl
This class provides
SOrderRelation, to determine the order of
SNodes. |
class |
SPointingRelationImpl |
class |
SSequentialRelationImpl<S extends SNode,T extends SNode,P extends Number> |
class |
SSpanningRelationImpl |
class |
STextualRelationImpl |
class |
STimelineRelationImpl |
| Modifier and Type | Method and Description |
|---|---|
SRelation |
SDocumentGraphImpl.addNode(SNode source,
SNode target,
SALT_TYPE sRelationType)
Creates and returns a 'SRelation' of the type given by
sRelationType between source and target.
|
SRelation |
SDocumentGraphImpl.createRelation(SNode sSource,
SNode sTarget,
SALT_TYPE sRelationType,
String sAnnotations)
Creates a
SRelation object, and sets its sSource and sTarget to
the passed ones. |
| Modifier and Type | Method and Description |
|---|---|
List<SRelation> |
SDocumentGraphImpl.getRelations(Class<?> clazz)
Returns all relations of the passed class.
|
List<SRelation> |
SDocumentGraphImpl.getRelations(SALT_TYPE type)
Returns all relations of the passed type.
|
| Modifier and Type | Method and Description |
|---|---|
List<SRelation> |
SNode.getInRelations()
When this node belongs to a
SGraph, a list of incoming relations
of this node are returned. |
List<SRelation> |
SNode.getOutRelations()
When this node belongs to a
SGraph, a list of outgoing relations
of this node are returned. |
List<SRelation> |
SGraph.getRelationsByName(String relationName)
Searches for a relation or a set of relations having the given relation
name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GraphTraverseHandler.checkConstraint(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SRelation<SNode,SNode> relation,
SNode currNode,
long order)
This method is called during a traversal to check if the current node and
eventually its sub-graph shall be traversed or not.
|
void |
GraphTraverseHandler.nodeLeft(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SNode currNode,
SRelation<SNode,SNode> relation,
SNode fromNode,
long order)
This method will be invoked, when a node is left, after the method
#checkConstraint(GRAPH_TRAVERSE_TYPE, String, SRelation, SNode, long)
has returned true and the method
#nodeReached(GRAPH_TRAVERSE_TYPE, String, SNode, SRelation, SNode, long)
has been invoked. |
void |
GraphTraverseHandler.nodeReached(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SNode currNode,
SRelation<SNode,SNode> relation,
SNode fromNode,
long order)
This method will be invoked, when a node is reached, after the method
#checkConstraint(GRAPH_TRAVERSE_TYPE, String, SRelation, SNode, long)
has returned true and before the method
#nodeLeft(GRAPH_TRAVERSE_TYPE, String, SNode, SRelation, SNode, long)
is invoked. |
| Modifier and Type | Class and Description |
|---|---|
class |
SRelationImpl<S extends SNode,T extends SNode> |
| Modifier and Type | Method and Description |
|---|---|
List<SRelation> |
SNodeImpl.getInRelations()
When this node belongs to a
SGraph, a list of incoming relations
of this node are returned. |
List<SRelation> |
SNodeImpl.getOutRelations()
When this node belongs to a
SGraph, a list of outgoing relations
of this node are returned. |
List<SRelation> |
SGraphImpl.getRelationsByName(String relationName)
Searches for a relation or a set of relations having the given relation
name.
|
| Modifier and Type | Method and Description |
|---|---|
SRelation<SNode,SNode> |
SaltFactoryImpl.createSRelation()
Creates a new
SRelation object of type SRelationImpl. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Diff.compareRelations(SDocumentGraph template,
List<? extends SRelation> templateRels,
SDocumentGraph other,
List<? extends SRelation> otherRels,
Boolean diff)
Compares all
SPointingRelation of other and template graph. |
boolean |
Diff.compareRelations(SDocumentGraph template,
List<? extends SRelation> templateRels,
SDocumentGraph other,
List<? extends SRelation> otherRels,
Boolean diff)
Compares all
SPointingRelation of other and template graph. |
static com.google.common.collect.Multimap<String,SNode> |
DataSourceAccessor.getRootsByRelationType(SDocumentGraph documentGraph,
Class<? extends SRelation> clazz)
for each relation R of type class
for each foregoing relation P (incoming relation of R'source)
check whether P is a parent of R (true, if they have the same class and the same type)
if R has no parents store R corresponding to it's type in returned table
|
| Modifier and Type | Method and Description |
|---|---|
void |
SaltXML10Writer.writeLayer(XMLStreamWriter xml,
Layer layer,
Map<SNode,Integer> nodePositions,
Map<SRelation<SNode,SNode>,Integer> relPositions)
Writes the passed relation object to the passed
XMLStreamWriter. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SDocumentGraphDOTWriter.checkConstraint(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SRelation<SNode,SNode> relation,
SNode currNode,
long order) |
boolean |
SCorpusGraphDOTWriter.checkConstraint(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SRelation edge,
SNode currNode,
long order) |
void |
SDocumentGraphDOTWriter.nodeLeft(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SNode currNode,
SRelation<SNode,SNode> relation,
SNode fromNode,
long order) |
void |
SCorpusGraphDOTWriter.nodeLeft(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SNode currNode,
SRelation edge,
SNode fromNode,
long order) |
void |
SCorpusGraphDOTWriter.nodeReached(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SNode currSNode,
SRelation relation,
SNode fromSNode,
long order) |
void |
SDocumentGraphDOTWriter.nodeReached(SGraph.GRAPH_TRAVERSE_TYPE traversalType,
String traversalId,
SNode currNode,
SRelation relation,
SNode fromNode,
long order) |
Copyright © 2009–2015 Humboldt-Universität zu Berlin, INRIA. All rights reserved.