public class SentimentUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
attachGoldLabels(Tree tree) |
static List<Tree> |
filterUnknownRoots(List<Tree> trees) |
static List<Tree> |
readTreesWithGoldLabels(String path)
Given a file name, reads in those trees and returns them as a List
|
static String |
sentimentString(SentimentModel model,
int sentiment) |
public static void attachGoldLabels(Tree tree)
public static List<Tree> readTreesWithGoldLabels(String path)
public static String sentimentString(SentimentModel model, int sentiment)