eu.clarin.weblicht.wlfxb.lx.xb
Class PosTagsLayerStored

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
      extended by eu.clarin.weblicht.wlfxb.lx.xb.PosTagsLayerStored
All Implemented Interfaces:
LexiconLayer, PosTagsLayer

public class PosTagsLayerStored
extends LexiconLayerStoredAbstract
implements PosTagsLayer

Author:
Yana Panchenko

Field Summary
static String XML_NAME
           
 
Constructor Summary
protected PosTagsLayerStored()
           
protected PosTagsLayerStored(LexiconLayersConnector connector)
           
protected PosTagsLayerStored(String tagset)
           
 
Method Summary
 PosTag addTag(String tagString, Entry tagEntry)
           
 Entry getEntry(PosTag tag)
           
 PosTag getTag(int index)
           
 PosTag[] getTags(Entry entry)
           
 String getTagset()
           
 boolean isEmpty()
           
protected  void setLayersConnector(LexiconLayersConnector connector)
          Should not be used directly by users.
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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: LexiconLayerStoredAbstract
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 LexiconLayerStoredAbstract

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface LexiconLayer

size

public int size()
Specified by:
size in interface LexiconLayer

getTagset

public String getTagset()
Specified by:
getTagset in interface PosTagsLayer

getTag

public PosTag getTag(int index)
Specified by:
getTag in interface PosTagsLayer

getTags

public PosTag[] getTags(Entry entry)
Specified by:
getTags in interface PosTagsLayer

getEntry

public Entry getEntry(PosTag tag)
Specified by:
getEntry in interface PosTagsLayer

addTag

public PosTag addTag(String tagString,
                     Entry tagEntry)
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.