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

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

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

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

Also available in: Unified diff