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

Frpos2CategorieDemocratMacro.groovy (revision 1166)
179 179
	println "Error: CQP corpus does not contains the word property with name=$pos_property_name"
180 180
	return
181 181
}
182
analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
183
vue = AnalecCorpora.getVue(corpus.getID())
182
analecCorpus = AnalecCorpora.getCorpus(corpus)
183
vue = AnalecCorpora.getVue(corpus)
184 184
structure = analecCorpus.getStructure()
185 185
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units
186 186
	println "Error: corpus structure does not contains unit with name=$unit_type"

Also available in: Unified diff