Package eu.clarin.weblicht.wlfxb.tc.api
Interface OrthographyLayer
-
- All Superinterfaces:
TextCorpusLayer
- All Known Implementing Classes:
OrthographyLayerStored
public interface OrthographyLayer extends TextCorpusLayer
The OrthographyLayer layer annotates tokens with their correct orthographic transcription. For each correction a correction operation is specified.- Author:
- Yana Panchenko
-
-
Method Summary
Modifier and Type Method Description OrthCorrectionaddCorrection(String correctionString, Token correctedToken, CorrectionOperation operation)OrthCorrectionaddCorrection(String correctionString, List<Token> correctedTokens, CorrectionOperation operation)OrthCorrectiongetCorrection(int index)OrthCorrectiongetCorrection(Token token)Token[]getTokens(OrthCorrection correction)-
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.TextCorpusLayer
isEmpty, size
-
-
-
-
Method Detail
-
getCorrection
OrthCorrection getCorrection(int index)
-
getCorrection
OrthCorrection getCorrection(Token token)
-
getTokens
Token[] getTokens(OrthCorrection correction)
-
addCorrection
OrthCorrection addCorrection(String correctionString, Token correctedToken, CorrectionOperation operation)
-
addCorrection
OrthCorrection addCorrection(String correctionString, List<Token> correctedTokens, CorrectionOperation operation)
-
-