| Modifier and Type | Method and Description |
|---|---|
static SDocumentGraph |
SaltFactory.createSDocumentGraph()
Creates a new
SDocumentGraph object. |
SDocumentGraph |
ISaltFactory.createSDocumentGraph()
Creates a new
SDocumentGraph object. |
| Modifier and Type | Method and Description |
|---|---|
SDocumentGraph |
SDocument.getDocumentGraph()
Returns the document structure which belongs to this document.
|
SDocumentGraph |
SDocumentGraphObject.getGraph()
Returns the document structure object which contains this element.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Difference> |
SDocumentGraph.findDiffs(SDocumentGraph other)
Compares the passed graph with the current one and returns if they are
isomorph or not.
|
Set<Difference> |
SDocumentGraph.findDiffs(SDocumentGraph other,
DiffOptions options)
Compares the passed graph with the current one and returns if they are
isomorph or not.
|
boolean |
SDocumentGraph.isIsomorph(SDocumentGraph other)
Compares the passed graph with the current one and returns if they are
isomorph or not.
|
boolean |
SDocumentGraph.isIsomorph(SDocumentGraph other,
DiffOptions options)
Compares the passed graph with the current one and returns if they are
isomorph or not.
|
void |
SDocument.setDocumentGraph(SDocumentGraph documentGraph)
Sets the document structure which belongs to this document.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SDocumentGraphImpl |
| Modifier and Type | Method and Description |
|---|---|
SDocumentGraph |
SDocumentImpl.getDocumentGraph()
Returns the document structure which belongs to this document.
|
SDocumentGraph |
SOrderRelationImpl.getGraph()
Returns the container graph of this relation.
|
SDocumentGraph |
SSpanImpl.getGraph()
Returns the container graph of this node.
|
SDocumentGraph |
SDominanceRelationImpl.getGraph()
Returns the container graph of this relation.
|
SDocumentGraph |
STimelineRelationImpl.getGraph()
Returns the container graph of this relation.
|
SDocumentGraph |
SStructureImpl.getGraph()
Returns the container graph of this node.
|
SDocumentGraph |
SSpanningRelationImpl.getGraph()
Returns the container graph of this relation.
|
SDocumentGraph |
STokenImpl.getGraph()
Returns the container graph of this node.
|
SDocumentGraph |
SPointingRelationImpl.getGraph()
Returns the container graph of this relation.
|
SDocumentGraph |
STimelineImpl.getGraph()
Returns the container graph of this node.
|
SDocumentGraph |
SMedialRelationImpl.getGraph()
Returns the container graph of this relation.
|
SDocumentGraph |
SSequentialDSImpl.getGraph()
Returns the container graph of this node.
|
SDocumentGraph |
STextualDSImpl.getGraph()
Returns the container graph of this node.
|
SDocumentGraph |
STextualRelationImpl.getGraph()
Returns the container graph of this relation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SDocumentImpl.basic_setDocumentGraph(SDocumentGraph documentGraph)
This is an internally used method.
|
Set<Difference> |
SDocumentGraphImpl.findDiffs(SDocumentGraph other)
Compares the passed graph with the current one and returns if they are
isomorph or not.
|
Set<Difference> |
SDocumentGraphImpl.findDiffs(SDocumentGraph other,
DiffOptions options)
Compares the passed graph with the current one and returns if they are
isomorph or not.
|
boolean |
SDocumentGraphImpl.isIsomorph(SDocumentGraph other)
Compares the passed graph with the current one and returns if they are
isomorph or not.
|
boolean |
SDocumentGraphImpl.isIsomorph(SDocumentGraph other,
DiffOptions options)
Compares the passed graph with the current one and returns if they are
isomorph or not.
|
void |
SDocumentImpl.setDocumentGraph(SDocumentGraph documentGraph)
Sets the document structure which belongs to this document.
|
| Modifier and Type | Method and Description |
|---|---|
SDocumentGraph |
Tokenizer.getDocumentGraph() |
SDocumentGraph |
SimpleTokenizer.getDocumentGraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleTokenizer.setDocumentGraph(SDocumentGraph documentGraph) |
void |
Tokenizer.setsDocumentGraph(SDocumentGraph sDocumentGraph) |
| Modifier and Type | Method and Description |
|---|---|
SDocumentGraph |
SaltFactoryImpl.createSDocumentGraph()
Creates a new
SDocumentGraph object. |
| Modifier and Type | Method and Description |
|---|---|
SDocumentGraph |
STextualRelationSStartComparator.getDocumentGraph()
Returns the
SDocumentGraph object which contains the tokens to be
compared. |
SDocumentGraph |
TokenStartComparator.getDocumentGraph()
Returns the
SDocumentGraph object which contains the tokens to be
compared. |
static SDocumentGraph |
SaltUtil.loadDocumentGraph(org.eclipse.emf.common.util.URI location)
Loads a
SDocumentGraph object and returns it. |
| Modifier and Type | Method and Description |
|---|---|
static void |
SaltUtil.saveDocumentGraph_DOT(SDocumentGraph documentGraph,
org.eclipse.emf.common.util.URI location)
Stores a
SDocumentGraph into DOT file. |
static void |
SaltUtil.saveDocumentGraph(SDocumentGraph documentGraph,
org.eclipse.emf.common.util.URI location)
Persists the passed
SDocumentGraph object in a SaltXML file at
the passed location. |
void |
STextualRelationSStartComparator.setDocumentGraph(SDocumentGraph documentGraph)
Sets the
SDocumentGraph object which contains the tokens to be
compared. |
void |
TokenStartComparator.setDocumentGraph(SDocumentGraph documentGraph)
Sets the
SDocumentGraph object which contains the tokens to be
compared. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Diff.compareLayers(SDocumentGraph template,
SDocumentGraph other,
Boolean diff)
Compares all layers in template graph with all layers in other graph and
searches for isomorphic partners.
|
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 List<SNode> |
DataSourceAccessor.getNodeBySequence(SDocumentGraph documentGraph,
DataSourceSequence DataSourceSequence)
Returns all
SNode objects which refer to the passed
DataSourceSequence object. |
static List<DataSourceSequence> |
DataSourceAccessor.getOverlappedDataSourceSequence(SDocumentGraph documentGraph,
List<SNode> nodes,
SALT_TYPE... relationTypes) |
static List<DataSourceSequence> |
DataSourceAccessor.getOverlappedDataSourceSequence(SDocumentGraph documentGraph,
SNode sNode,
SALT_TYPE... relationTypes) |
static List<SToken> |
DataSourceAccessor.getOverlappedSTokens(SDocumentGraph documentGraph,
SNode overlappingNode,
SALT_TYPE... relationTypes)
|
static List<SNode> |
DataSourceAccessor.getRootsByRelation(SDocumentGraph documentGraph,
SALT_TYPE... saltTypes)
|
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
|
static com.google.common.collect.Multimap<String,SNode> |
DataSourceAccessor.getRootsByRelationType(SDocumentGraph documentGraph,
SALT_TYPE sType)
Returns all nodes, which are roots for the given relation-class respects
to the given SType of the traversed relation.
|
static List<SToken> |
DataSourceAccessor.getSortedSTokenByText(SDocumentGraph documentGraph) |
static List<SToken> |
DataSourceAccessor.getSortedSTokenByText(SDocumentGraph documentGraph,
List<SToken> sTokens2sort) |
static List<SSpan> |
DataSourceAccessor.getSpanBySequence(SDocumentGraph documentGraph,
DataSourceSequence DataSourceSequence)
Returns all
SSpan objects which refer to the passed
DataSourceSequence object. |
static List<SStructure> |
DataSourceAccessor.getStructureBySequence(SDocumentGraph documentGraph,
DataSourceSequence DataSourceSequence)
Returns all
SStructure objects which refer to the passed
DataSourceSequence object. |
static List<SToken> |
DataSourceAccessor.getTokensBySequence(SDocumentGraph documentGraph,
DataSourceSequence DataSourceSequence)
Returns all
SToken objects which refer to the passed
DataSourceSequence object. |
static boolean |
DataSourceAccessor.isContinuousByText(SDocumentGraph documentGraph,
List<? extends SNode> subSNodList,
List<? extends SNode> fullSNodList)
First sorts the
given lists, than searches first occurance of first node in subSNodList
in fullSNodList.
|
static boolean |
DataSourceAccessor.isContinuousByText(SDocumentGraph documentGraph,
List<SNode> subSNodList) |
static void |
DataSourceAccessor.sortSTokenByText(SDocumentGraph documentGraph) |
| Constructor and Description |
|---|
Diff(SDocumentGraph template,
SDocumentGraph other)
Initializes Diff object with the two graphs
template and
other. |
Diff(SDocumentGraph template,
SDocumentGraph other,
Map<String,Boolean> optionMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
SaltXML10Writer.writeDocumentGraph(SDocumentGraph graph)
Writes a document graph to the file given by
SaltXML10Writer.getPath(). |
void |
SaltXML10Writer.writeDocumentGraph(XMLStreamWriter xml,
SDocumentGraph graph)
Writes a document graph to the xml stream.
|
| Modifier and Type | Method and Description |
|---|---|
SDocumentGraph |
SDocumentGraphDOTWriter.getDocumentGraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
SDocumentGraphDOTWriter.setDocumentGraph(SDocumentGraph documentGraph) |
Copyright © 2009–2015 Humboldt-Universität zu Berlin, INRIA. All rights reserved.