(self, text)
| 148 | return text_input |
| 149 | |
| 150 | def encode(self, text): |
| 151 | text = self._process_text(text) |
| 152 | return super().encode(text, add_special_tokens=False).ids |
| 153 | |
| 154 | def batch_encode(self, input_text_list): |
| 155 | """The batch equivalent of ``encode``.""" |