@staticmethod
    def dice(n_ii, n_ix_xi_tuple, n_xx):
        """Scores bigrams using Dice's coefficient."""
        (n_ix, n_xi) = n_ix_xi_tuple
        return 2 * n_ii / (n_ix + n_xi)
dataset/ETHPy150Open nltk/nltk/nltk/metrics/association.py/BigramAssocMeasures.dice/original