code: def tokenize(self, text: str, model: object = None):
          
          if not self.model:
              model = self.model
  
          tokenizer = self.model
          if self.lang_vars:
              tokenizer._lang_vars = self.lang_vars
          return tokenizer.tokenize(text)
docs: Method for tokenizing sentences with pretrained punkt models; can
          be overridden by language-specific tokenizers.
  
          :rtype: list
          :param text: text to be tokenized into sentences
          :type text: str
          :param model: tokenizer object to used # Should be in init?
          :type model: object