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

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

  
52
static def selectSchemas(def debug, Corpus analecCorpus, org.txm.searchengine.cqp.corpus.Corpus corpus,
52
static def selectSchemas(def debug, Corpus analecCorpus, org.txm.searchengine.cqp.corpus.CQPCorpus corpus,
53 53
		String schema_ursql, Integer minimum_schema_size, Integer maximum_schema_size) {
54 54
	if (maximum_schema_size <= 0) maximum_schema_size = Integer.MAX_VALUE;
55 55
	def allSchemas = []
......
66 66
	return allSchemas
67 67
}
68 68

  
69
static def selectSchemasInCorpus(def debug, Corpus analecCorpus, org.txm.searchengine.cqp.corpus.Corpus corpus,
69
static def selectSchemasInCorpus(def debug, Corpus analecCorpus, org.txm.searchengine.cqp.corpus.CQPCorpus corpus,
70 70
		String schema_ursql, Integer minimum_schema_size, Integer maximum_schema_size) {
71 71
		
72 72
	def allSchemas = AnalecUtils.selectSchemas(debug, analecCorpus, corpus, schema_ursql, minimum_schema_size, maximum_schema_size);
......
97 97
 * @param limit_distance
98 98
 * @return
99 99
 */
100
static def selectUnitsInSchema(def debug, Corpus analecCorpus, org.txm.searchengine.cqp.corpus.Corpus corpus,
100
static def selectUnitsInSchema(def debug, Corpus analecCorpus, org.txm.searchengine.cqp.corpus.CQPCorpus corpus,
101 101
		String schema_ursql, Integer minimum_schema_size, Integer maximum_schema_size,
102 102
		String unit_ursql, Integer limit_distance_in_schema, CQLQuery limit_cql, Boolean strict_inclusion, int limit_distance) {
103 103
	def groupedUnits = []

Also available in: Unified diff