def _tokenize(self, text: str) -> List[str]:
        """Tokenize a string by inserting the `<pad>` token at the boundary between adjacent characters."""
        tokens = list(text)

        if self.add_blank:
            interspersed = [self._convert_id_to_token(0)] * (len(tokens) * 2 + 1)
            interspersed[1::2] = tokens
            tokens = interspersed

        return tokens
Tokenize a string by inserting the `<pad>` token at the boundary between adjacent characters.
dpkd/transformers/src/transformers/models/vits/tokenization_vits.py