eu.clarin.weblicht.wlfxb.lx.xb
Class FrequenciesLayerStored
java.lang.Object
eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
eu.clarin.weblicht.wlfxb.lx.xb.FrequenciesLayerStored
- All Implemented Interfaces:
- FrequenciesLayer, LexiconLayer
public class FrequenciesLayerStored
- extends LexiconLayerStoredAbstract
- implements FrequenciesLayer
- Author:
- Yana Panchenko
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
FrequenciesLayerStored
protected FrequenciesLayerStored()
FrequenciesLayerStored
protected FrequenciesLayerStored(LexiconLayersConnector connector)
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 FrequenciesLayer- Specified by:
size in interface LexiconLayer
getFrequency
public Frequency getFrequency(int index)
- Specified by:
getFrequency in interface FrequenciesLayer
getFrequency
public Frequency getFrequency(Lemma lemma)
- Specified by:
getFrequency in interface FrequenciesLayer
getLemma
public Lemma getLemma(Frequency freq)
- Specified by:
getLemma in interface FrequenciesLayer
addFrequency
public Frequency addFrequency(Lemma lemma,
int frequency)
- Specified by:
addFrequency in interface FrequenciesLayer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.