| Modifier and Type | Method and Description |
|---|---|
static SDocument |
SaltFactory.createSDocument()
Creates a new
SDocument object. |
SDocument |
ISaltFactory.createSDocument()
Creates a new
SDocument object. |
| Modifier and Type | Method and Description |
|---|---|
SDocument |
SCorpusGraph.createDocument(SCorpus parentCorpus,
String documentName)
Creates a
SDocument object having the name
documentName and is added to the given
parentCorpus via a SCorpusDocumentRelation. |
SDocument |
SCorpusGraph.createDocument(org.eclipse.emf.common.util.URI documentPath)
|
SDocument |
SDocumentGraph.getDocument()
Returns the
SDocument object containing this graph object. |
SDocument |
SCorpusGraph.getDocument(Identifier documentId)
Returns a document matching the passed identifier if such a document is
contained in this document structure.
|
| Modifier and Type | Method and Description |
|---|---|
List<SDocument> |
SCorpusGraph.getDocuments()
Returns all documents objects contained in this corpus structure.
|
| Modifier and Type | Method and Description |
|---|---|
Identifier |
SCorpusGraph.addDocument(SCorpus corpus,
SDocument document)
Adds the given document to the
SCorpusGraph object and creates an
SCorpusDocumentRelation between the given corpus and the
document, if and only if the corpus is already added to this object. |
SCorpus |
SCorpusGraph.getCorpus(SDocument document)
Returns the
SCorpus object, which contains the given
SDocument object (means the SCorpus object and the given
SDocument object must be connected via a
SCorpusDocumentRelation object). |
void |
SDocumentGraph.setDocument(SDocument document)
Sets the
SDocument object as a container for this graph. |
| Modifier and Type | Class and Description |
|---|---|
class |
SDocumentImpl |
| Modifier and Type | Method and Description |
|---|---|
SDocument |
SCorpusGraphImpl.createDocument(SCorpus parentCorpus,
String documentName)
Creates a
SDocument object having the name
documentName and is added to the given
parentCorpus via a SCorpusDocumentRelation. |
SDocument |
SCorpusGraphImpl.createDocument(org.eclipse.emf.common.util.URI documentPath)
|
SDocument |
SDocumentGraphImpl.getDocument()
Returns the
SDocument object containing this graph object. |
SDocument |
SCorpusGraphImpl.getDocument(Identifier documentId)
Returns a document matching the passed identifier if such a document is
contained in this document structure.
|
| Modifier and Type | Method and Description |
|---|---|
List<SDocument> |
SCorpusGraphImpl.getDocuments()
Returns all documents objects contained in this corpus structure.
|
| Modifier and Type | Method and Description |
|---|---|
Identifier |
SCorpusGraphImpl.addDocument(SCorpus corpus,
SDocument document)
Adds the given document to the
SCorpusGraph object and creates an
SCorpusDocumentRelation between the given corpus and the
document, if and only if the corpus is already added to this object. |
void |
SDocumentGraphImpl.basic_setDocument(SDocument document)
This is an internally used method.
|
SCorpus |
SCorpusGraphImpl.getCorpus(SDocument document)
Returns the
SCorpus object, which contains the given
SDocument object (means the SCorpus object and the given
SDocument object must be connected via a
SCorpusDocumentRelation object). |
void |
SDocumentGraphImpl.setDocument(SDocument document)
Sets the
SDocument object as a container for this graph. |
| Modifier and Type | Method and Description |
|---|---|
SDocument |
SaltFactoryImpl.createSDocument()
Creates a new
SDocument object. |
| Modifier and Type | Method and Description |
|---|---|
static void |
SampleGenerator.createAnaphoricAnnotations(SDocument document) |
static void |
SampleGenerator.createDependencies(SDocument document)
This method creates the sample's dependency annotation.
|
static void |
SampleGenerator.createDialogue(SDocument document)
Creates a
SDocumentGraph containing to texts of two different
speakers, who are aligned via the STimeline related to the
SToken objects. |
static void |
SampleGenerator.createDocumentStructure(SDocument document)
Creates a document structure containing:
primary text
tokenization
morphological annotations
information structure annotation
syntactical annotation
anaphoric annotation
|
static void |
SampleGenerator.createInformationStructureAnnotations(SDocument document)
Annotates the
SSpan objects above the tokenization with
information structural annotations. |
static void |
SampleGenerator.createInformationStructureSpan(SDocument document)
Creates
SSpan object above the tokenization. |
static void |
SampleGenerator.createMorphologyAnnotations(SDocument document)
Creates morphological annotations (pos and lemma) for the tokenized
sample and adds them to each
SToken object as
SPOSAnnotation or SLemmaAnnotation object. |
static void |
SampleGenerator.createParallelData(SDocument document) |
static void |
SampleGenerator.createParallelData(SDocument document,
boolean setTypeForPointRel)
Creates a small parallel corpus, containing an english and a german text.
|
static STextualDS |
SampleGenerator.createPrimaryData(SDocument document)
Creates an
STextualDS object containing the primary text
SampleGenerator.PRIMARY_TEXT_EN and adds the object to the
SDocumentGraph being contained by the given SDocument
object. |
static STextualDS |
SampleGenerator.createPrimaryData(SDocument document,
String language)
Creates a
STextualDS object containing the primary text
SampleGenerator.PRIMARY_TEXT_EN, which is either an english text
or its german translation and adds the object to the
SDocumentGraph being contained by the given SDocument
object. |
static void |
SampleGenerator.createSyntaxAnnotations(SDocument document)
This method creates the categorical annotations for the nodes of the
sample syntax tree created in
SampleGenerator.createSyntaxStructure(SDocument). |
static void |
SampleGenerator.createSyntaxStructure(SDocument document)
Creates a syntax structure for the given
SDocument object. |
static SToken |
SampleGenerator.createToken(int start,
int end,
STextualDS textualDS,
SDocument document,
SLayer layer)
Creates a
SToken covering the passed position and returns it. |
static void |
SampleGenerator.createTokens(SDocument document)
Creates a set of
SToken objects tokenizing the primary text
SampleGenerator.PRIMARY_TEXT_EN in to the following tokens:
Is
this
example
more
complicated
than
it
appears
to
be
? |
static List<SToken> |
SampleGenerator.createTokens(SDocument document,
STextualDS textualDS)
Creates a set of
SToken objects tokenizing the primary text
SampleGenerator.PRIMARY_TEXT_EN or
SampleGenerator.PRIMARY_TEXT_DE depending on the given
STextualDS object in to the following tokens:
Is
this
example
more
complicated
than
it
appears
to
be
? |
static void |
SampleGenerator.createUntypedParallelData(SDocument document)
Creates a small parallel corpus, containing an english and a german text.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GraphMLWriter.convertFromSalt(OutputStream out,
SDocument... docs) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GraphMLWriter.writeDocuments(OutputStream out,
List<SDocument> docs) |
Copyright © 2009–2016 Humboldt-Universität zu Berlin, INRIA. All rights reserved.