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 TextCorpusLayersConnector
connector
protected List<OrthformStored>
orthforms
-
Constructor Summary
Constructors Modifier Constructor Description protected
LexicalSemanticsLayerStored()
protected
LexicalSemanticsLayerStored(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:
isEmpty
in interfaceTextCorpusLayer
-
size
public int size()
- Specified by:
size
in interfaceTextCorpusLayer
-
getOrthform
public Orthform getOrthform(int index)
- Specified by:
getOrthform
in interfaceLexicalSemanticsLayer
-
getLemmas
public Lemma[] getLemmas(Orthform orthform)
- Specified by:
getLemmas
in interfaceLexicalSemanticsLayer
-
addOrthform
public Orthform addOrthform(String orthformValues, Lemma lemma)
- Specified by:
addOrthform
in interfaceLexicalSemanticsLayer
-
addOrthform
public Orthform addOrthform(String[] orthformValues, Lemma lemma)
- Specified by:
addOrthform
in interfaceLexicalSemanticsLayer
-
-