def update(self, path_to_file):
        try:
            words = re.findall('[a-z]{2,}', open(path_to_file).read().lower())
            self.freqs = collections.Counter(w for w in words if self.stopwords not in w)
        except IOError:
            print "File not found"
            self.freqs = {}
dataset/ETHPy150Open crista/exercises-in-programming-style/32-trinity/tf-32.py/WordFrequenciesModel.update/swapped operands of `not in`