eu.clarin.weblicht.wlfxb.tc.api
Interface PosTagsLayer
- All Superinterfaces:
- TextCorpusLayer
- All Known Implementing Classes:
- PosTagsLayerStored
public interface PosTagsLayer
- extends TextCorpusLayer
The PosTagsLayer layer annotates tokens with part-of-speech tags.
Each tag element references a token, or sequence of tokens, and provides the
tag string value. Tag values usually belong to some predefined standard tagset.
The layer specifies the name of the tagset via the tagset attribute.
- Author:
- Yana Panchenko
getTagset
String getTagset()
getTag
PosTag getTag(int index)
getTag
PosTag getTag(Token token)
getTokens
Token[] getTokens(PosTag tag)
addTag
PosTag addTag(String tagString,
Token tagToken)
addTag
PosTag addTag(String tagString,
List<Token> tagTokens)
Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.