Revision 1166 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/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())
87
analecCorpus = AnalecCorpora.getCorpus(corpus)
88 88
vue = AnalecCorpora.getVue(corpus.getName())
89 89
structure = analecCorpus.getStructure()
90 90
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units

Also available in: Unified diff