| Modifier and Type | Method and Description |
|---|---|
static STextualDS |
SaltFactory.createSTextualDS()
Creates a new
STextualDS object. |
STextualDS |
ISaltFactory.createSTextualDS()
Creates a new
STextualDS object. |
| Modifier and Type | Method and Description |
|---|---|
STextualDS |
SDocumentGraph.createTextualDS(String text)
Creates and adds a new
STextualDS node object and sets its text
to the passed one and adds it to the graph. |
| Modifier and Type | Method and Description |
|---|---|
List<STextualDS> |
SDocumentGraph.getTextualDSs()
Returns all primary texts contained in this document structure.
|
| Modifier and Type | Method and Description |
|---|---|
SToken |
SDocumentGraph.insertTokenAt(STextualDS textualDS,
Integer posInText,
String text,
Boolean insertSpace)
Inserts a token to the graph starting at position posInText and
relates them to the given
STextualDS object. |
List<SToken> |
SDocumentGraph.insertTokensAt(STextualDS textualDS,
Integer posInText,
List<String> texts,
Boolean insertSpace)
Inserts n tokens (where n is the size of the given list texts)
to the graph starting at position posInText and relates them to
the given
STextualDS object. |
| Modifier and Type | Class and Description |
|---|---|
class |
STextualDSImpl |
| Modifier and Type | Method and Description |
|---|---|
STextualDS |
SDocumentGraphImpl.createTextualDS(String text)
Creates and adds a new
STextualDS node object and sets its text
to the passed one and adds it to the graph. |
| Modifier and Type | Method and Description |
|---|---|
List<STextualDS> |
SDocumentGraphImpl.getTextualDSs()
Returns all primary texts contained in this document structure.
|
| Modifier and Type | Method and Description |
|---|---|
SToken |
SDocumentGraphImpl.insertTokenAt(STextualDS sTextualDS,
Integer posInText,
String text,
Boolean insertSpace)
Inserts a token to the graph starting at position posInText and
relates them to the given
STextualDS object. |
List<SToken> |
SDocumentGraphImpl.insertTokensAt(STextualDS sTextualDS,
Integer posInText,
List<String> texts,
Boolean insertSpace)
Inserts n tokens (where n is the size of the given list texts)
to the graph starting at position posInText and relates them to
the given
STextualDS object. |
| Modifier and Type | Method and Description |
|---|---|
List<SToken> |
Tokenizer.tokenize(STextualDS sTextualDSs)
Sets the
STextualDS to be tokenized. |
List<SToken> |
SimpleTokenizer.tokenize(STextualDS textualDSs,
Character... separator)
Sets the
STextualDS to be tokenized. |
List<SToken> |
SimpleTokenizer.tokenize(STextualDS textualDS,
Integer startPos,
Integer endPos,
Character... separator)
Sets the
STextualDS to be tokenized and the language of the text. |
List<SToken> |
Tokenizer.tokenize(STextualDS sTextualDSs,
com.neovisionaries.i18n.LanguageCode language)
Sets the
STextualDS to be tokenized and the language of the text. |
List<SToken> |
Tokenizer.tokenize(STextualDS sTextualDS,
com.neovisionaries.i18n.LanguageCode language,
Integer startPos,
Integer endPos)
Sets the
STextualDS to be tokenized and the language of the text. |
List<SToken> |
Tokenizer.tokenizeToToken(STextualDS sTextualDS,
com.neovisionaries.i18n.LanguageCode language,
Integer startPos,
Integer endPos)
The general task of this class is to tokenize a given text in the same
order as the tool TreeTagger will do.
|
| Modifier and Type | Method and Description |
|---|---|
STextualDS |
SaltFactoryImpl.createSTextualDS()
Creates a new
STextualDS object. |
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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 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
? |
Copyright © 2009–2015 Humboldt-Universität zu Berlin, INRIA. All rights reserved.