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

Fropos2CategorieMacro.groovy (revision 1166)
84 84
	println "Error: CQP corpus does not contains the word property with name=$pos_property_name"
85 85
	return
86 86
}
87
analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
88
vue = AnalecCorpora.getVue(corpus.getID())
87
analecCorpus = AnalecCorpora.getCorpus(corpus)
88
vue = AnalecCorpora.getVue(corpus)
89 89
structure = analecCorpus.getStructure()
90 90
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units
91 91
	println "Error: corpus structure does not contains unit with name=$unit_type"

Also available in: Unified diff