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

Fropos2CattexMacro.groovy (revision 1166)
172 172
	println "Error: CQP corpus does not contains the word property with name=$pos_property_name"
173 173
	return
174 174
}
175
analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
176
vue = AnalecCorpora.getVue(corpus.getID())
175
analecCorpus = AnalecCorpora.getCorpus(corpus)
176
vue = AnalecCorpora.getVue(corpus)
177 177
structure = analecCorpus.getStructure()
178 178
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units
179 179
	println "Error: corpus structure does not contains unit with name=$unit_type"

Also available in: Unified diff