Package eu.clarin.weblicht.wlfxb.lx.xb
Class PosTagsLayerStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
-
- eu.clarin.weblicht.wlfxb.lx.xb.PosTagsLayerStored
-
- All Implemented Interfaces:
LexiconLayer,PosTagsLayer
public class PosTagsLayerStored extends LexiconLayerStoredAbstract implements PosTagsLayer
- Author:
- Yana Panchenko
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPosTagsLayerStored()protectedPosTagsLayerStored(LexiconLayersConnector connector)protectedPosTagsLayerStored(String tagset)
-
Method Summary
Modifier and Type Method Description PosTagaddTag(String tagString, Entry tagEntry)EntrygetEntry(PosTag tag)PosTaggetTag(int index)PosTag[]getTags(Entry entry)StringgetTagset()booleanisEmpty()protected voidsetLayersConnector(LexiconLayersConnector connector)Should not be used directly by users.intsize()StringtoString()
-
-
-
Field Detail
-
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PosTagsLayerStored
protected PosTagsLayerStored()
-
PosTagsLayerStored
protected PosTagsLayerStored(String tagset)
-
PosTagsLayerStored
protected PosTagsLayerStored(LexiconLayersConnector connector)
-
-
Method Detail
-
setLayersConnector
protected void setLayersConnector(LexiconLayersConnector connector)
Description copied from class:LexiconLayerStoredAbstractShould 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:
setLayersConnectorin classLexiconLayerStoredAbstract
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceLexiconLayer
-
size
public int size()
- Specified by:
sizein interfaceLexiconLayer
-
getTagset
public String getTagset()
- Specified by:
getTagsetin interfacePosTagsLayer
-
getTag
public PosTag getTag(int index)
- Specified by:
getTagin interfacePosTagsLayer
-
getTags
public PosTag[] getTags(Entry entry)
- Specified by:
getTagsin interfacePosTagsLayer
-
getEntry
public Entry getEntry(PosTag tag)
- Specified by:
getEntryin interfacePosTagsLayer
-
addTag
public PosTag addTag(String tagString, Entry tagEntry)
- Specified by:
addTagin interfacePosTagsLayer
-
-