@classmethod
    def jaccard(cls, *marginals):
        """Scores ngrams using the Jaccard index."""
        cont = cls._contingency(*marginals)
        return sum(cont[:-1]) / cont[0]
dataset/ETHPy150Open nltk/nltk/nltk/metrics/association.py/NgramAssocMeasures.jaccard/swapped operands of `/`