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
source
protected String source
orthforms
protected List<OrthformStored> orthforms
connector
protected TextCorpusLayersConnector connector
LexicalSemanticsLayerStored
protected LexicalSemanticsLayerStored()
LexicalSemanticsLayerStored
protected LexicalSemanticsLayerStored(String source)
LexicalSemanticsLayerStored
protected LexicalSemanticsLayerStored(TextCorpusLayersConnector connector)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface TextCorpusLayer
getSource
public String getSource()
- Specified by:
getSource in interface LexicalSemanticsLayer
size
public int size()
- Specified by:
size in interface TextCorpusLayer
getOrthform
public Orthform getOrthform(int index)
- Specified by:
getOrthform in interface LexicalSemanticsLayer
getLemmas
public Lemma[] getLemmas(Orthform orthform)
- Specified by:
getLemmas in interface LexicalSemanticsLayer
addOrthform
public Orthform addOrthform(String orthformValues,
Lemma lemma)
- Specified by:
addOrthform in interface LexicalSemanticsLayer
addOrthform
public Orthform addOrthform(String[] orthformValues,
Lemma lemma)
- Specified by:
addOrthform in interface LexicalSemanticsLayer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.