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

Frpos2CattexMacro.groovy (revision 1166)
185 185
	println "Error: CQP corpus does not contains the word property with name=$pos_property_name"
186 186
	return
187 187
}
188
analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
189
vue = AnalecCorpora.getVue(corpus.getID())
188
analecCorpus = AnalecCorpora.getCorpus(corpus)
189
vue = AnalecCorpora.getVue(corpus)
190 190
structure = analecCorpus.getStructure()
191 191
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units
192 192
	println "Error: corpus structure does not contains unit with name=$unit_type"

Also available in: Unified diff