docs: def tokenize(self, token_list):
      """Produces the list of integer indices corresponding to a token list."""
      return [
          self._vocab_dict.get(token, self._vocab_dict[self.UNK])
          for token in token_list
      ]