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

Frpos2CategorieMacro.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())
182
analecCorpus = AnalecCorpora.getCorpus(corpus)
183 183
vue = AnalecCorpora.getVue(corpus.getName())
184 184
structure = analecCorpus.getStructure()
185 185
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units

Also available in: Unified diff