diff options
-rw-r--r-- | src/main/FarmShell.java | 4 |
1 files changed, 4 insertions, 0 deletions
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");
|