class_docstr: DEPRECATED.
code: def texts_to_sequences_generator(self, texts):
      num_words = self.num_words
      oov_token_index = self.word_index.get(self.oov_token)
      for text in texts:
          if self.char_level or isinstance(text, list):
              if self.lower:
                  if isinstance(text, list):
                      text = [text_elem.lower() for text_elem in text]
                  else:
                      text = text.lower()
              seq = text
          else:
              if self.analyzer is None:
                  seq = text_to_word_sequence(
                      text,
                      filters=self.filters,
                      lower=self.lower,
                      split=self.split,
                  )
              else:
                  seq = self.analyzer(text)
          vect = []
          for w in seq:
              i = self.word_index.get(w)
              if i is not None:
                  if num_words and i >= num_words:
                      if oov_token_index is not None:
                          vect.append(oov_token_index)
                  else:
                      vect.append(i)
              elif self.oov_token is not None:
                  vect.append(oov_token_index)
          yield vect
  
imports: import collections
  import hashlib
  import json
  import warnings
  import numpy
  from keras.api_export import keras_export
label_desc: Use image node_id 5 for calling the Tokenizer obj's underlying member method code with example usage: obj.texts_to_sequences_generator(texts) without return types