code: def load_text(self, text, tokenizer=None):
          
          if tokenizer:
              words = [x.lower() for x in tokenizer(text)]
          else:
              words = self.tokenize(text)
  
          self._dictionary.update(words)
          self._update_dictionary()
docs: Load text from which to generate a word frequency list
  
              Args:
                  text (str): The text to be loaded
                  tokenizer (function): The function to use to tokenize a string