eu.clarin.weblicht.wlfxb.tc.xb
Class OrthographyLayerStored
java.lang.Object
eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
eu.clarin.weblicht.wlfxb.tc.xb.OrthographyLayerStored
- All Implemented Interfaces:
- OrthographyLayer, TextCorpusLayer
public class OrthographyLayerStored
- extends TextCorpusLayerStoredAbstract
- implements OrthographyLayer
- Author:
- Yana Panchenko
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
OrthographyLayerStored
protected OrthographyLayerStored()
OrthographyLayerStored
protected OrthographyLayerStored(TextCorpusLayersConnector connector)
setLayersConnector
protected void setLayersConnector(TextCorpusLayersConnector connector)
- Description copied from class:
TextCorpusLayerStoredAbstract
- Should not be used directly by users. Should be extended by all
implementations of TextCorpusLayers, as they might depend on other layers
and therefore be able to get referenced/referencing information.
- Specified by:
setLayersConnector in class TextCorpusLayerStoredAbstract
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface TextCorpusLayer
size
public int size()
- Specified by:
size in interface TextCorpusLayer
getCorrection
public OrthCorrection getCorrection(int index)
- Specified by:
getCorrection in interface OrthographyLayer
getCorrection
public OrthCorrection getCorrection(Token token)
- Specified by:
getCorrection in interface OrthographyLayer
getTokens
public Token[] getTokens(OrthCorrection correction)
- Specified by:
getTokens in interface OrthographyLayer
addCorrection
public OrthCorrection addCorrection(String correctionString,
Token correctedToken,
CorrectionOperation operation)
- Specified by:
addCorrection in interface OrthographyLayer
addCorrection
public OrthCorrection addCorrection(String correctionString,
List<Token> correctedTokens,
CorrectionOperation operation)
- Specified by:
addCorrection in interface OrthographyLayer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.