src/transformers/models/mgp_str/tokenization_mgp_str.py/MgpstrTokenizer/_tokenize
class MgpstrTokenizer:    def _tokenize(self, text):
        """Tokenize a string."""
        char_tokens = []
        for s in text:
            char_tokens.extend(s)
        return char_tokens