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 Comparator< SToken >, and Serializable.
Public Member Functions | |
SDocumentGraph | getDocumentGraph () |
Returns the SDocumentGraph object which contains the tokens to be compared. More... | |
void | setDocumentGraph (SDocumentGraph documentGraph) |
Sets the SDocumentGraph object which contains the tokens to be compared. More... | |
int | compare (SToken o1, SToken o2) |
Returns -1 if o1 has less text position than o2, 0 if both have equal positions and 1 if o1 has higher text position than o2. | |
SDocumentGraph org.corpus_tools.salt.util.TokenStartComparator.getDocumentGraph | ( | ) |
Returns the SDocumentGraph object which contains the tokens to be compared.
void org.corpus_tools.salt.util.TokenStartComparator.setDocumentGraph | ( | SDocumentGraph | documentGraph | ) |
Sets the SDocumentGraph object which contains the tokens to be compared.
documentGraph | container graph |