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

PROPERanaphoriquesMacro.groovy (revision 1166)
48 48
	println "Error: CQP corpus does not contains the word property with name=$pos_property_name"
49 49
	return
50 50
}
51
analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
52
vue = AnalecCorpora.getVue(corpus.getID())
51
analecCorpus = AnalecCorpora.getCorpus(corpus)
52
vue = AnalecCorpora.getVue(corpus)
53 53
structure = analecCorpus.getStructure()
54 54
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units
55 55
	println "Error: corpus structure does not contains unit with name=$unit_type"

Also available in: Unified diff