allennlp.training.metrics.mention_recall#

MentionRecall#

MentionRecall(self) -> None

get_metric#

MentionRecall.get_metric(self, reset:bool=False) -> float

Compute and return the metric. Optionally also call :func:self.reset.

reset#

MentionRecall.reset(self)

Reset any accumulators or internal state.