src/transformers/models/speech_to_text_2/tokenization_speech_to_text_2.py/Speech2Text2Tokenizer/_convert_token_to_id
class Speech2Text2Tokenizer:    def _convert_token_to_id(self, token: str) -> int:
        """Converts a token (str) in an index (integer) using the vocab."""
        return self.encoder.get(token, self.encoder.get(self.unk_token))