def METHOD_NAME(self):
    log.info("[saving vocabulary to {}]".format(self.save_path))
    with self.save_path.open('wt', encoding='utf8') as f:
        for n in range(len(self)):
            token = self._i2t[n]
            cnt = self.freqs[token]
            f.write('{}\t{:d}\n'.format(token, cnt))