Package eu.clarin.weblicht.wlfxb.tc.xb
Class LexicalSemanticsLayerStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
-
- eu.clarin.weblicht.wlfxb.tc.xb.LexicalSemanticsLayerStored
-
- All Implemented Interfaces:
LexicalSemanticsLayer,TextCorpusLayer
- Direct Known Subclasses:
AntonymyLayerStored,HyperonymyLayerStored,HyponymyLayerStored,SynonymyLayerStored
public abstract class LexicalSemanticsLayerStored extends TextCorpusLayerStoredAbstract implements LexicalSemanticsLayer
- Author:
- Yana Panchenko
-
-
Field Summary
Fields Modifier and Type Field Description protected TextCorpusLayersConnectorconnectorprotected List<OrthformStored>orthforms
-
Constructor Summary
Constructors Modifier Constructor Description protectedLexicalSemanticsLayerStored()protectedLexicalSemanticsLayerStored(TextCorpusLayersConnector connector)
-
Method Summary
-
Methods inherited from class eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
setLayersConnector
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.LexicalSemanticsLayer
getOrthform
-
-
-
-
Field Detail
-
orthforms
protected List<OrthformStored> orthforms
-
connector
protected TextCorpusLayersConnector connector
-
-
Constructor Detail
-
LexicalSemanticsLayerStored
protected LexicalSemanticsLayerStored()
-
LexicalSemanticsLayerStored
protected LexicalSemanticsLayerStored(TextCorpusLayersConnector connector)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceTextCorpusLayer
-
size
public int size()
- Specified by:
sizein interfaceTextCorpusLayer
-
getOrthform
public Orthform getOrthform(int index)
- Specified by:
getOrthformin interfaceLexicalSemanticsLayer
-
getLemmas
public Lemma[] getLemmas(Orthform orthform)
- Specified by:
getLemmasin interfaceLexicalSemanticsLayer
-
addOrthform
public Orthform addOrthform(String orthformValues, Lemma lemma)
- Specified by:
addOrthformin interfaceLexicalSemanticsLayer
-
addOrthform
public Orthform addOrthform(String[] orthformValues, Lemma lemma)
- Specified by:
addOrthformin interfaceLexicalSemanticsLayer
-
-