public class EvaluatorTagger extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EvaluatorTagger.Results |
| Modifier and Type | Field and Description |
|---|---|
static String |
PUNCT |
static int |
TAGGER |
static int |
what |
| Constructor and Description |
|---|
EvaluatorTagger() |
| Modifier and Type | Method and Description |
|---|---|
static int |
errors(SentenceData09 s,
boolean uas) |
static int |
errors(SentenceData09 s1,
SentenceData09 s2,
HashMap<String,Integer> r1,
HashMap<String,Integer> r2) |
static EvaluatorTagger.Results |
evaluate(String act_file,
String pred_file) |
static EvaluatorTagger.Results |
evaluate(String act_file,
String pred_file,
boolean printEval) |
static EvaluatorTagger.Results |
evaluate(String act_file,
String pred_file,
boolean printEval,
boolean sig) |
static void |
evaluateTagger(String act_file,
String pred_file,
String what) |
static void |
main(String[] args) |
static float |
round(double v) |
static float |
roundPercent(double v) |
public static int TAGGER
public static int what
public static final String PUNCT
public static void main(String[] args)
public static void evaluateTagger(String act_file, String pred_file, String what)
act_file - pred_file - what - top, pos, length, morpublic static int errors(SentenceData09 s, boolean uas)
public static int errors(SentenceData09 s1, SentenceData09 s2, HashMap<String,Integer> r1, HashMap<String,Integer> r2)
public static EvaluatorTagger.Results evaluate(String act_file, String pred_file)
public static EvaluatorTagger.Results evaluate(String act_file, String pred_file, boolean printEval)
public static EvaluatorTagger.Results evaluate(String act_file, String pred_file, boolean printEval, boolean sig)
public static float round(double v)
public static float roundPercent(double v)
Copyright © 2013. All rights reserved.