code: def extract_documents(
      url="https://cs.nyu.edu/~roweis/data/nips12raw_str602.tgz",
  ):
      with smart_open.open(url, "rb") as file:
          with tarfile.open(fileobj=file) as tar:
              for member in tar.getmembers():
                  if member.isfile() and re.search(
                      r"nipstxt/nips\d+/\d+\.txt", member.name
                  ):
                      member_bytes = tar.extractfile(member).read()
                      yield member_bytes.decode(
                          "utf-8", errors="replace"
                      )
  
file_path: gensim/docs/src/gallery/tutorials/run_lda.py
imports: import logging
  import io
  import os.path
  import re
  import tarfile
  import smart_open
  from nltk.tokenize import RegexpTokenizer
  from nltk import download
  from nltk.stem.wordnet import WordNetLemmatizer
  from gensim.models import Phrases
  from gensim.corpora import Dictionary
  from gensim.models import LdaModel
  from pprint import pprint
label_desc: Use image node_id 1 for calling a global function with example usage: extract_documents(url) without return types