Revision 1962 tmp/org.txm.analec.rcp/src/org/txm/macro/urs/AnalecUtils.groovy

AnalecUtils.groovy (revision 1962)
49 49
	}
50 50
}
51 51

  
52
static def selectSchemas(def debug, Corpus analecCorpus, org.txm.searchengine.cqp.corpus.CQPCorpus corpus,
53
		String schema_ursql, Integer minimum_schema_size, Integer maximum_schema_size) {
52
static def selectSchemas(def debug, Corpus analecCorpus, String schema_ursql, Integer minimum_schema_size, Integer maximum_schema_size) {
54 53
	if (maximum_schema_size <= 0) maximum_schema_size = Integer.MAX_VALUE;
55 54
	def allSchemas = []
56 55
	if (schema_ursql != null && schema_ursql.length() > 0 || minimum_schema_size > 1) {
......
69 68
static def selectSchemasInCorpus(def debug, Corpus analecCorpus, org.txm.searchengine.cqp.corpus.CQPCorpus corpus,
70 69
		String schema_ursql, Integer minimum_schema_size, Integer maximum_schema_size) {
71 70
		
72
	def allSchemas = AnalecUtils.selectSchemas(debug, analecCorpus, corpus, schema_ursql, minimum_schema_size, maximum_schema_size);
71
	def allSchemas = AnalecUtils.selectSchemas(debug, analecCorpus, schema_ursql, minimum_schema_size, maximum_schema_size);
73 72
	
74 73
	def selectedSchemas = []
75 74
	for (Schema schema : allSchemas) {

Also available in: Unified diff