0
|
1 package de.mpiwg.anteater;
|
|
2
|
|
3 import de.mpiwg.anteater.logging.impl.ConsoleLogger;
|
|
4
|
|
5 public class AnteaterCommandLineTool {
|
|
6
|
|
7 /**
|
|
8 * @param args
|
|
9 */
|
|
10 public static void main(String[] args) {
|
|
11 if (args == null || args.length < 4)
|
|
12 return;
|
|
13 AnteaterConfiguration conf = new AnteaterConfiguration();
|
|
14 conf.setPathToTexts(args[0]);
|
|
15
|
|
16 conf.setAnalysisPath(args[1]);
|
|
17 conf.setMlPath(args[2]);
|
|
18 conf.setResultPath(args[3]);
|
|
19 conf.setEventFolderPath(args[4]);
|
|
20
|
|
21 conf.setLogger(new ConsoleLogger());
|
|
22
|
|
23 AnteaterController controller = new AnteaterController();
|
|
24 controller.runAnteater(conf);
|
|
25 }
|
|
26
|
|
27 }
|