def train(self, binaryLabeledMessageList):
        nPos = countTruth(lambda x: x[1] == 'pos', binaryLabeledMessageList)
        nNeg = countTruth(lambda x: x[1] == 'neg', binaryLabeledMessageList)
        assert(nPos + nNeg == len(binaryLabeledMessageList))
        posNegPrbDic = {'pos': float(
                        nPos) / (nPos + nNeg),
                        'neg': (nPos + nNeg) / float(nNeg)}

        self._posNegPrbDic = posNegPrbDic
        pass
dataset/ETHPy150Open dssg/ushine-learning/dssg/classifier.py/DssgBinaryClassifierMajorityVote.train/swapped operands of `/`