    def target_dictionary(self):
        """Return the target :class:`~fairseq.data.Dictionary`."""
        return self.tgt_dict
Return the target :class:`~fairseq.data.Dictionary`.
fairseq/tasks/translation.py