Class EvalUtils.AbstractEvaluator
- java.lang.Object
-
- edu.stanford.nlp.coref.statistical.EvalUtils.AbstractEvaluator
-
- All Implemented Interfaces:
EvalUtils.Evaluator
- Direct Known Subclasses:
EvalUtils.B3Evaluator,EvalUtils.MUCEvaluator
- Enclosing class:
- EvalUtils
public abstract static class EvalUtils.AbstractEvaluator extends Object implements EvalUtils.Evaluator
-
-
Constructor Summary
Constructors Constructor Description AbstractEvaluator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description doublegetF1()doublegetPrecision()doublegetRecall()abstract Pair<Double,Double>getScore(List<List<Integer>> clusters, Map<Integer,List<Integer>> mentionToGold)voidupdate(List<List<Integer>> gold, List<Clusterer.Cluster> clusters, Map<Integer,List<Integer>> mentionToGold, Map<Integer,Clusterer.Cluster> mentionToSystem)
-
-
-
Method Detail
-
update
public void update(List<List<Integer>> gold, List<Clusterer.Cluster> clusters, Map<Integer,List<Integer>> mentionToGold, Map<Integer,Clusterer.Cluster> mentionToSystem)
- Specified by:
updatein interfaceEvalUtils.Evaluator
-
getF1
public double getF1()
- Specified by:
getF1in interfaceEvalUtils.Evaluator
-
getRecall
public double getRecall()
-
getPrecision
public double getPrecision()
-
-