Salt
3.4.2
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
|
Inherits org.corpus_tools.salt.common.impl.SSequentialDSImpl< String, Integer >, and org.corpus_tools.salt.common.STextualDS.
Public Member Functions | |
STextualDSImpl () | |
Initializes an object of type SLayerImpl. | |
STextualDSImpl (Node delegate) | |
Initializes an object of type SLayerImpl. More... | |
String | getText () |
void | setText (String newSText) |
SDocumentGraph | getGraph () |
Returns the document structure object which contains this element.
| |
void | setGraph (@SuppressWarnings("rawtypes") Graph graph) |
Integer | getStart () |
{@inheritDoc SSequentialDS::getSStart()}. More... | |
Integer | getEnd () |
{@inheritDoc SSequentialDS::getSEnd()}. More... | |
List< SToken > | tokenize () |
Bug fix 69. More... | |
Public Member Functions inherited from org.corpus_tools.salt.common.impl.SSequentialDSImpl< String, Integer > | |
SSequentialDSImpl () | |
Initializes an object of type SLayerImpl. | |
SSequentialDSImpl (Node delegate) | |
Initializes an object of type SLayerImpl. More... | |
D | getData () |
void | setData (D newSData) |
SDocumentGraph | getGraph () |
void | setGraph ( @SuppressWarnings("rawtypes") Graph graph) |
abstract P | getStart () |
{@inheritDoc SSequentialDS::getSStart()} | |
abstract P | getEnd () |
{@inheritDoc SSequentialDS::getSStart()} | |
Public Member Functions inherited from org.corpus_tools.salt.common.SSequentialDS< String, Integer > | |
D | getData () |
void | setData (D value) |
P | getStart () |
P | getEnd () |
org.corpus_tools.salt.common.impl.STextualDSImpl.STextualDSImpl | ( | Node | delegate | ) |
Initializes an object of type SLayerImpl.
If delegate is not null, all functions of this method are delegated to the delegate object. Setting delegate makes this object to a container.
a | delegate object of the same type. |
Integer org.corpus_tools.salt.common.impl.STextualDSImpl.getEnd | ( | ) |
{@inheritDoc SSequentialDS::getSEnd()}.
If a text was set returns it's length, null otherwise
Integer org.corpus_tools.salt.common.impl.STextualDSImpl.getStart | ( | ) |
{@inheritDoc SSequentialDS::getSStart()}.
If a text was set returns 0, null otherwise
List<SToken> org.corpus_tools.salt.common.impl.STextualDSImpl.tokenize | ( | ) |
Bug fix 69.
Implements fast access to tokenization of a STextualDS. Simply duplicates the functionality of SDocumentGraphImpl#tokenize(), but only with respect to this object.
Implements org.corpus_tools.salt.common.STextualDS.