class_docstr: Yelp Polarity reviews dataset.
code: def _split_generators(self, dl_manager):
      arch_path = dl_manager.download_and_extract(_DOWNLOAD_URL)
      train_file = os.path.join(
          arch_path, "yelp_review_polarity_csv", "train.csv"
      )
      test_file = os.path.join(
          arch_path, "yelp_review_polarity_csv", "test.csv"
      )
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN, gen_kwargs={"filepath": train_file}
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST, gen_kwargs={"filepath": test_file}
          ),
      ]
  
file_path: datasets/tensorflow_datasets/text/yelp_polarity.py
imports: import os
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the YelpPolarityReviews obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list