Commit 37fec1e6e8134f2eeff6f1cfee60d59f82a3d30c

Authored by Cristina Muntean
1 parent bf54c241

enabled file and resiltec collectors

src/main/java/it/cnr/isti/hpc/trends/cli/ResiltechTrendsCLI.java
... ... @@ -55,11 +55,11 @@ public class ResiltechTrendsCLI extends AbstractCommandLineInterface {
55 55  
56 56 TrendDetector td = new TrendDetector().setMinFreq(minFreq)
57 57 .setBucketInterval(bucketInterval);
58   - td.addCollector(new ConsoleCollector());
59   - //td.addCollector(new FileTrendCollector("resiltech-trends.tsv")
60   - //.asPlain());
61   - //td.addCollector(new FileTrendCollector("resiltech-trends.json"));
62   - //td.addCollector(new ResiltechCollector());
  58 + //td.addCollector(new ConsoleCollector());
  59 + td.addCollector(new FileTrendCollector("resiltech-trends.tsv")
  60 + .asPlain());
  61 + td.addCollector(new FileTrendCollector("resiltech-trends.json"));
  62 + td.addCollector(new ResiltechCollector());
63 63 TwitterAPIListener listener = new TwitterAPIListener(td);
64 64 listener.run();
65 65 }
... ...