Package eu.clarin.weblicht.wlfxb.lx.xb
Class TermsContainerStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
-
- eu.clarin.weblicht.wlfxb.lx.xb.TermsContainerStored
-
- All Implemented Interfaces:
LexiconLayer,TermsContainer
- Direct Known Subclasses:
CooccurrencesLayerStored,SynonymsLayerStored
public abstract class TermsContainerStored extends LexiconLayerStoredAbstract implements TermsContainer
- Author:
- Yana Panchenko
-
-
Field Summary
Fields Modifier and Type Field Description protected LexiconLayersConnectorconnector
-
Constructor Summary
Constructors Modifier Constructor Description protectedTermsContainerStored()protectedTermsContainerStored(LexiconLayersConnector connector)
-
Method Summary
Modifier and Type Method Description SigcreateSig(String measure, float value)TermcreateTerm(Entry entry)TermcreateTerm(String word)String[]getTermsAsStrings(List<? extends Term> terms, boolean includeAnnotatedTerm)protected voidsetLayersConnector(LexiconLayersConnector connector)Should not be used directly by users.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface eu.clarin.weblicht.wlfxb.lx.api.LexiconLayer
isEmpty, size
-
-
-
-
Field Detail
-
connector
protected LexiconLayersConnector connector
-
-
Constructor Detail
-
TermsContainerStored
protected TermsContainerStored()
-
TermsContainerStored
protected TermsContainerStored(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
-
getTermsAsStrings
public String[] getTermsAsStrings(List<? extends Term> terms, boolean includeAnnotatedTerm)
- Specified by:
getTermsAsStringsin interfaceTermsContainer
-
createTerm
public Term createTerm(Entry entry)
- Specified by:
createTermin interfaceTermsContainer
-
createTerm
public Term createTerm(String word)
- Specified by:
createTermin interfaceTermsContainer
-
createSig
public Sig createSig(String measure, float value)
- Specified by:
createSigin interfaceTermsContainer
-
-