eu.clarin.weblicht.wlfxb.tc.xb
Class PosTagsLayerStored
java.lang.Object
eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
eu.clarin.weblicht.wlfxb.tc.xb.PosTagsLayerStored
- All Implemented Interfaces:
- PosTagsLayer, TextCorpusLayer
public class PosTagsLayerStored
- extends TextCorpusLayerStoredAbstract
- implements PosTagsLayer
- Author:
- Yana Panchenko
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
PosTagsLayerStored
protected PosTagsLayerStored()
PosTagsLayerStored
protected PosTagsLayerStored(String tagset)
PosTagsLayerStored
protected PosTagsLayerStored(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
getTagset
public String getTagset()
- Specified by:
getTagset in interface PosTagsLayer
getTag
public PosTag getTag(int index)
- Specified by:
getTag in interface PosTagsLayer
getTag
public PosTag getTag(Token token)
- Specified by:
getTag in interface PosTagsLayer
getTokens
public Token[] getTokens(PosTag tag)
- Specified by:
getTokens in interface PosTagsLayer
addTag
public PosTag addTag(String tagString,
Token tagToken)
- Specified by:
addTag in interface PosTagsLayer
addTag
public PosTag addTag(String tagString,
List<Token> tagTokens)
- Specified by:
addTag in interface PosTagsLayer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.