public class OrthographyLayerStored extends TextCorpusLayerStoredAbstract implements OrthographyLayer
| Modifier | Constructor and Description |
|---|---|
protected |
OrthographyLayerStored() |
protected |
OrthographyLayerStored(TextCorpusLayersConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
OrthCorrection |
addCorrection(String correctionString,
List<Token> correctedTokens,
CorrectionOperation operation) |
OrthCorrection |
addCorrection(String correctionString,
Token correctedToken,
CorrectionOperation operation) |
OrthCorrection |
getCorrection(int index) |
OrthCorrection |
getCorrection(Token token) |
Token[] |
getTokens(OrthCorrection correction) |
boolean |
isEmpty() |
protected void |
setLayersConnector(TextCorpusLayersConnector connector)
Should not be used directly by users.
|
int |
size() |
String |
toString() |
public static final String XML_NAME
protected OrthographyLayerStored()
protected OrthographyLayerStored(TextCorpusLayersConnector connector)
protected void setLayersConnector(TextCorpusLayersConnector connector)
TextCorpusLayerStoredAbstractsetLayersConnector in class TextCorpusLayerStoredAbstractpublic boolean isEmpty()
isEmpty in interface TextCorpusLayerpublic int size()
size in interface TextCorpusLayerpublic OrthCorrection getCorrection(int index)
getCorrection in interface OrthographyLayerpublic OrthCorrection getCorrection(Token token)
getCorrection in interface OrthographyLayerpublic Token[] getTokens(OrthCorrection correction)
getTokens in interface OrthographyLayerpublic OrthCorrection addCorrection(String correctionString, Token correctedToken, CorrectionOperation operation)
addCorrection in interface OrthographyLayerpublic OrthCorrection addCorrection(String correctionString, List<Token> correctedTokens, CorrectionOperation operation)
addCorrection in interface OrthographyLayerCopyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.