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

UnitsReferentialStabilityMacro.groovy (revision 2144)
41 41

  
42 42
@Field @Option(name="unit_ursql", usage="TYPE@PROP=REGEX", widget="String", required=false, def="MENTION")
43 43
String unit_ursql
44

  
44
@Field @Option(name="strict_inclusion", usage="Units must be strictly included into corpus matches", widget="Boolean", required=true, def="true")
45
boolean strict_inclusion
45 46
@Field @Option(name="word_property", usage="", widget="String", required=false, def="word")
46 47
String word_property
47 48

  
......
79 80
			return;
80 81
		}
81 82
	}
82
	def schemas = AnalecUtils.selectSchemasInCorpus(debug, analecCorpus, corpus, schema_ursql, minimum_schema_size, maximum_schema_size);
83
	def schemas = AnalecUtils.selectSchemasInCorpus(debug, analecCorpus, corpus, schema_ursql, minimum_schema_size, maximum_schema_size, strict_inclusion);
83 84
	allFormesSet = new HashSet();
84 85
	def coefs = []
85 86
	int n = 1

Also available in: Unified diff