eu.clarin.weblicht.wlfxb.lx.xb
Class RelationsLayerStored
java.lang.Object
eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
eu.clarin.weblicht.wlfxb.lx.xb.RelationsLayerStored
- All Implemented Interfaces:
- LexiconLayer, RelationsLayer
public class RelationsLayerStored
- extends LexiconLayerStoredAbstract
- implements RelationsLayer
- Author:
- Yana Panchenko
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
RelationsLayerStored
protected RelationsLayerStored()
RelationsLayerStored
protected RelationsLayerStored(LexiconLayersConnector connector)
setLayersConnector
protected void setLayersConnector(LexiconLayersConnector connector)
- Description copied from class:
LexiconLayerStoredAbstract
- Should 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:
setLayersConnector in class LexiconLayerStoredAbstract
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface LexiconLayer
size
public int size()
- Specified by:
size in interface LexiconLayer- Specified by:
size in interface RelationsLayer
getRelation
public Relation getRelation(int index)
- Specified by:
getRelation in interface RelationsLayer
getRelations
public Relation[] getRelations(Lemma lemma)
- Specified by:
getRelations in interface RelationsLayer
getLemmas
public Lemma[] getLemmas(Relation rel)
- Specified by:
getLemmas in interface RelationsLayer
getWords
public String[] getWords(Relation rel)
- Specified by:
getWords in interface RelationsLayer
addRelation
public Relation addRelation(String type,
String function,
Integer frequency,
List<Term> terms)
- Specified by:
addRelation in interface RelationsLayer
addRelation
public Relation addRelation(String type,
String function,
Integer frequency,
Sig sig,
List<Term> terms)
- Specified by:
addRelation in interface RelationsLayer
createTerm
public Term createTerm(Lemma lemma)
- Specified by:
createTerm in interface RelationsLayer
createTerm
public Term createTerm(String word)
- Specified by:
createTerm in interface RelationsLayer
createSig
public Sig createSig(String measure,
double value)
- Specified by:
createSig in interface RelationsLayer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.