Revision 2144 tmp/org.txm.analec.rcp/src/org/txm/macro/urs/exploit/UnitsSummaryMacro.groovy

UnitsSummaryMacro.groovy (revision 2144)
64 64
def props = new HashSet()
65 65
for (def corpus : selection) {
66 66

  
67
	mainCorpus = corpus.getMainCorpus()
68

  
69
	def word = mainCorpus.getWordProperty()
70
	def analecCorpus = URSCorpora.getCorpus(mainCorpus)
67
	def word = corpus.getWordProperty()
68
	def analecCorpus = URSCorpora.getCorpus(corpus)
71 69
	for (def type : analecCorpus.getStructure().getUnites())
72 70
		props.addAll(analecCorpus.getStructure().getUniteProperties(type));
73 71

  

Also available in: Unified diff