Source code for benchmarkstt.metrics

from benchmarkstt.schema import Schema
from benchmarkstt.factory import Factory


[docs]class Base: """ Base class for metrics """
[docs] def compare(self, ref: Schema, hyp: Schema): raise NotImplementedError()
factory = Factory(Base)