code: def tokenize(text_docs: Iterable[str]) -> Iterable[Iterable[str]]:
      """Turns list of documents into "bag of words" format.
  
      Args:
          text_docs: A list of text documents in string format
  
      Returns:
          A generator expression for all of the processed documents
      """
      return (_compat["nltk"].word_tokenize(doc) for doc in text_docs)
  
imports: import re
  import string
  import warnings
  from types import GeneratorType
  from typing import List, Optional, Any, Iterable, TYPE_CHECKING
  import pandas
  from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer
  from data_describe.text import text_preprocessing
  from data_describe.compat import _requires, _compat
label_desc: Use image node_id 1 for calling a global function with example usage: tokenize(text_docs) and returns: unknown