public class IOBEvaluation extends Object
| Constructor and Description |
|---|
IOBEvaluation() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
evaluate(ArrayList<?> gold_tok,
ArrayList<?> eval_tok)
calculates precision, recall and f-measure, the first argument is takens
as the goldstandard, the second one is to be evaluated.
|
String |
getType() |
public String getType()
public static double[] evaluate(ArrayList<?> gold_tok, ArrayList<?> eval_tok) throws Exception
gold_tok - ArrayList, each element is a String containing the token and
the (IOB) tag (seperated with a tab)eval_tok - same format as gold_tokExceptionCopyright © 2019 JULIE Lab Jena, Germany. All rights reserved.