src/transformers/models/layoutlmv2/tokenization_layoutlmv2.py/LayoutLMv2Tokenizer/_convert_token_to_id
class LayoutLMv2Tokenizer:    def _convert_token_to_id(self, token):
        """Converts a token (str) in an id using the vocab."""
        return self.vocab.get(token, self.vocab.get(self.unk_token))