src/transformers/models/marian/convert_marian_tatoeba_to_pytorch.py/TatoebaConverter/get_two_letter_code
class TatoebaConverter:    def get_two_letter_code(self, three_letter_code):
        return self.alpha3_to_alpha2.get(three_letter_code, three_letter_code)