public abstract class CorefScorer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected abstract void |
calculatePrecision(Document doc) |
protected abstract void |
calculateRecall(Document doc) |
void |
calculateScore(Document doc) |
double |
getF1() |
double |
getPrecision() |
double |
getRecall() |
double |
getScore(edu.stanford.nlp.dcoref.CorefScorer.SubScoreType subScoreType) |
void |
printF1(java.util.logging.Logger logger) |
void |
printF1(java.util.logging.Logger logger,
boolean printF1First) |
public double getScore(edu.stanford.nlp.dcoref.CorefScorer.SubScoreType subScoreType)
public double getPrecision()
public double getRecall()
public double getF1()
public void calculateScore(Document doc)
protected abstract void calculatePrecision(Document doc)
protected abstract void calculateRecall(Document doc)
public void printF1(java.util.logging.Logger logger, boolean printF1First)
public void printF1(java.util.logging.Logger logger)