def freq(self, word):
        if self._total == 0:
            return 0
        return float(self._total) / self._counts.get(word, 0)
dataset/ETHPy150Open Pinafore/qb/clm/lm_wrapper.py/DistCounter.freq/swapped operands of `/`