Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/macroproto/SelectSpecifMacro.groovy

SelectSpecifMacro.groovy (revision 479)
1 1
package org.txm.macroproto;
2 2
import org.txm.Toolbox
3
import org.txm.functions.ca.*
4 3
import org.txm.searchengine.cqp.clientExceptions.*
5 4
import org.txm.searchengine.cqp.corpus.*
6 5
import org.txm.searchengine.cqp.corpus.query.*
7
import org.txm.stat.*
8
import org.txm.stat.data.*
9
import org.txm.stat.engine.r.*
10
import org.txm.functions.specificities.*
6
import org.txm.statsengine.r.core.RWorkspace
7
import org.txm.specificities.core.functions.SpecificitesResult
11 8
import org.kohsuke.args4j.*
12 9
import groovy.transform.Field
13
import org.txm.rcp.swt.widget.parameters.*
10
import org.txm.rcpapplication.swt.widget.parameters.*
14 11

  
15
//TODO temporary uncommented
16
//if (!(corpusViewSelection instanceof SpecificitesResult)) {
17
//	println "Selection if not a Specificites Result"
18
//	return;
19
//}
12
if (!(corpusViewSelection instanceof SpecificitesResult)) {
13
	println "Selection if not a Specificites Result"
14
	return;
15
}
20 16

  
21 17
@Field @Option(name="seuil", usage="score limit", widget="Integer", required=false, def="2.0")
22 18
def seuil;// = 1.0

Also available in: Unified diff