def T(self, w):
        if w in self.T_memoized:
            return self.T_memoized[w]
        res = set(filter(lambda (r, w_): 0 > self.I(w, r, w_),
                         itertools.product(self.relations, self.words)))
        self.T_memoized[w] = res
        return res
dataset/ETHPy150Open mikhaildubov/AST-text-analysis/east/synonyms/synonyms.py/SynonymExtractor.T/swapped operands of `>`