def __init__(self, vocab):
self.logger = logging.getLogger(__name__)<EOL>self.vocab = vocab<EOL>
Initialize a custom tokenizer.

        :param vocab: The vocab attribute of the respective spacy language object.