def __del__(self):
        for l in sorted(self.frequency.items(), key=operator.itemgetter(1)):
            if l:
                self.fout.write( "%s:%d\n"%(l[0],l[1]))
        print(len(self.frequency)%'total number of unique words = %d')
        self.fout.close()
        self.file.close()
dataset/ETHPy150Open Ezhil-Language-Foundation/open-tamil/examples/wordlist.py/WordlistFilter.__del__/swapped operands of `%`