eu.clarin.weblicht.wlfxb.lx.xb
Class CooccurrencesLayerStored
java.lang.Object
eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
eu.clarin.weblicht.wlfxb.lx.xb.TermsContainerStored
eu.clarin.weblicht.wlfxb.lx.xb.CooccurrencesLayerStored
- All Implemented Interfaces:
- CooccurrencesLayer, LexiconLayer, TermsContainer
public class CooccurrencesLayerStored
- extends TermsContainerStored
- implements CooccurrencesLayer
- Author:
- Yana Panchenko
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
CooccurrencesLayerStored
protected CooccurrencesLayerStored()
CooccurrencesLayerStored
protected CooccurrencesLayerStored(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.
- Overrides:
setLayersConnector in class TermsContainerStored
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface LexiconLayer
size
public int size()
- Specified by:
size in interface LexiconLayer
getCooccurrence
public Cooccurrence getCooccurrence(int index)
- Specified by:
getCooccurrence in interface CooccurrencesLayer
getCooccurrences
public Cooccurrence[] getCooccurrences(Entry entry)
- Specified by:
getCooccurrences in interface CooccurrencesLayer
getEntries
public Entry[] getEntries(Cooccurrence cooccurrence)
- Specified by:
getEntries in interface CooccurrencesLayer
getTermsAsStrings
public String[] getTermsAsStrings(Cooccurrence cooccurrence,
boolean includeAnnotatedTerm)
- Specified by:
getTermsAsStrings in interface CooccurrencesLayer
addCooccurrence
public Cooccurrence addCooccurrence(CooccurrenceFunction function,
List<Term> terms)
- Specified by:
addCooccurrence in interface CooccurrencesLayer
addCooccurrence
public Cooccurrence addCooccurrence(CooccurrenceFunction function,
Sig sig,
List<Term> terms)
- Specified by:
addCooccurrence in interface CooccurrencesLayer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.