neuralmonkey.evaluators.chrf module

class neuralmonkey.evaluators.chrf.ChrFEvaluator(n: int = 6, beta: float = 1, ignored_symbols: Union[List[str], NoneType] = None, name: Union[str, NoneType] = None) → None

Bases: object

Compute ChrF score.

See http://www.statmt.org/wmt15/pdf/WMT49.pdf

__init__(n: int = 6, beta: float = 1, ignored_symbols: Union[List[str], NoneType] = None, name: Union[str, NoneType] = None) → None

Initialize self. See help(type(self)) for accurate signature.