<reponame>baojunshan/nlg-metrics<gh_stars>1-10
from abc import abstractmethod, ABCMeta


class IMetrics(metaclass=ABCMeta):

    @property
    def name(self):
        pass

    @abstractmethod
    def calc(self, **kwargs):
        pass




from abc import abstractmethod, ABCMeta


class IMetrics(metaclass=ABCMeta):

    @property
    def name(self):
        pass

    @abstractmethod
    def calc(self, **kwargs):
        pass