def save_dictionary(self, filename=None):
        logger = logging.getLogger("Logger")
        if filename is None:
            key = 'vocabulary_%s' % self.task
            filename = self.md.paths[key]
        
        self.word_dict.save(filename)
        logger.info("Dictionary saved in %s" % filename)
Saves the reader's word dictionary as a list of words.
dataset/ETHPy150Open erickrf/nlpnet/nlpnet/reader.py/TaggerReader.save_dictionary