    def load_dictionary(cls, filename):
        """Load the masked LM dictionary from the filename

        Args:
            filename (str): the filename
        """
        return MaskedLMDictionary.load(filename)
Load the masked LM dictionary from the filename

Args:
filename (str): the filename
fairseq/tasks/translation_from_pretrained_xlm.py