eu.clarin.weblicht.wlfxb.tc.xb
Class LexicalSemanticsLayerStored

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
      extended by 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
protected  TextCorpusLayersConnector connector
           
protected  List<OrthformStored> orthforms
           
protected  String source
           
 
Constructor Summary
protected LexicalSemanticsLayerStored()
           
protected LexicalSemanticsLayerStored(String source)
           
protected LexicalSemanticsLayerStored(TextCorpusLayersConnector connector)
           
 
Method Summary
 Orthform addOrthform(String[] orthformValues, Lemma lemma)
           
 Orthform addOrthform(String orthformValues, Lemma lemma)
           
 Lemma[] getLemmas(Orthform orthform)
           
 Orthform getOrthform(int index)
           
 String getSource()
           
 boolean isEmpty()
           
 int size()
           
 String toString()
           
 
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

source

protected String source

orthforms

protected List<OrthformStored> orthforms

connector

protected TextCorpusLayersConnector connector
Constructor Detail

LexicalSemanticsLayerStored

protected LexicalSemanticsLayerStored()

LexicalSemanticsLayerStored

protected LexicalSemanticsLayerStored(String source)

LexicalSemanticsLayerStored

protected LexicalSemanticsLayerStored(TextCorpusLayersConnector connector)
Method Detail

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.