Revision 1166 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/RelationsMacro.groovy

RelationsMacro.groovy (revision 1166)
35 35
MainCorpus corpus = corpusViewSelection
36 36
AbstractCqiClient CQI = CQPSearchEngine.getCqiClient();
37 37
def word = corpus.getWordProperty()
38
def analecCorpus = AnalecCorpora.getCorpus(corpus.getID());
38
def analecCorpus = AnalecCorpora.getCorpus(corpus);
39 39

  
40 40
int n = 1;
41 41
def relations = analecCorpus.getRelations(relation_type)

Also available in: Unified diff