From 47554fdad01320fe239bdb81b6a269f27fc675fa Mon Sep 17 00:00:00 2001 From: s123188 Date: Wed, 11 Jun 2014 12:56:04 +0200 Subject: fixed.2 --- src/main/FarmShell.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/FarmShell.java b/src/main/FarmShell.java index da4e0f9..b7f343e 100644 --- a/src/main/FarmShell.java +++ b/src/main/FarmShell.java @@ -146,6 +146,9 @@ public class FarmShell { case newsspread: getAnalyzor().newsSpread(params[0]); break; + case categorize: + getAnalyzor().categorize(params[0]); + break; case getBrands: String trimmed = params[0].trim(); String bool = trimmed; @@ -207,6 +210,7 @@ public class FarmShell { disco("makes a outputfile for disco", 1), posneg("makes a csv for a histogram for positive or negative tweets", 1), newsspread("makes a csv for disco to show a news spread process", 1), + categorize("categorizes words in csv (first column) as defined in categorize.txt", 1), exit("Returns to shell"), help("Get help"); -- cgit v1.2.1