Revision 1188 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/sql/XMLStatistics.groovy

XMLStatistics.groovy (revision 1188)
182 182
	}
183 183
	
184 184
	public static void main(String[] args) {
185
		File srcdir = new File("/home/mdecorde/xml/temoignagesnice/corpus Matrice - fichiers xmlisés/");
186
		File outdir = new File("/home/mdecorde/xml/temoignagesnice/corpus Matrice - fichiers xmlisés/stats");
185
		File srcdir = new File("/home/mdecorde/TXM/corpora/BFM/txm/BFM");
186
		File outdir = new File("/home/mdecorde/TXM/corpora/BFM/txm/BFM");
187 187

  
188 188
		// Process a directory
189
		outdir.deleteDir()
190 189
		outdir.mkdir()
191 190
		processDirectory(srcdir, new File(outdir,"FFF.csv"), ".xml", false, false, false);
192
		processDirectory(srcdir, new File(outdir,"FTF.csv"), ".xml", false, true, false);
193
		processDirectory(srcdir, new File(outdir,"FTT.csv"), ".xml", false, true, true);
194
		processDirectory(srcdir, new File(outdir,"TFF.csv"), ".xml", true, false, false);
195
		processDirectory(srcdir, new File(outdir,"TTF.csv"), ".xml", true, true, false);
196
		processDirectory(srcdir, new File(outdir,"TTT.csv"), ".xml", true, true, true);
191
//		processDirectory(srcdir, new File(outdir,"FTF.csv"), ".xml", false, true, false);
192
//		processDirectory(srcdir, new File(outdir,"FTT.csv"), ".xml", false, true, true);
193
//		processDirectory(srcdir, new File(outdir,"TFF.csv"), ".xml", true, false, false);
194
//		processDirectory(srcdir, new File(outdir,"TTF.csv"), ".xml", true, true, false);
195
//		processDirectory(srcdir, new File(outdir,"TTT.csv"), ".xml", true, true, true);
197 196

  
198 197
//		// Process one file
199 198
//		File xmlfile = new File("/home/mdecorde/Bureau/matrice/témoignages/CONVERSIONS/ratz/odt-ratz.xml");

Also available in: Unified diff