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

LongueurDesMentionsMacro.groovy (revision 1166)
67 67
	println "Error: CQP corpus does not contains the word property with name=$pos_property_name"
68 68
	return
69 69
}
70
analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
71
vue = AnalecCorpora.getVue(corpus.getID())
70
analecCorpus = AnalecCorpora.getCorpus(corpus)
71
vue = AnalecCorpora.getVue(corpus)
72 72
structure = analecCorpus.getStructure()
73 73
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units
74 74
	println "Error: corpus structure does not contains unit with name=$unit_type"

Also available in: Unified diff