class_docstr: DatasetBuilder for wiki_table_questions dataset.
class_docstr_tok: ["DatasetBuilder","for","wiki_table_questions","dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      path = os.path.join(
          dl_manager.download_and_extract(_DOWNLOAD_URL),
          "WikiTableQuestions-master",
      )
      examples_sub_dir = os.path.join(path, "data")
      data_splits = {}
      for split_name in ["train", "dev"]:
          for split_num in range(1, 4):
              examples_file = os.path.join(
                  examples_sub_dir,
                  f"random-split-{split_num}-{split_name}.tsv",
              )
              data_split_key = "split-{}-{}".format(
                  split_num, split_name
              )
              data_splits[data_split_key] = self._generate_examples(
                  examples_path=examples_file, tables_path=path
              )
      data_splits["train"] = self._generate_examples(
          examples_path=os.path.join(examples_sub_dir, "training.tsv"),
          tables_path=path,
      )
      data_splits["test"] = self._generate_examples(
          examples_path=os.path.join(
              examples_sub_dir, "pristine-unseen-tables.tsv"
          ),
          tables_path=path,
      )
      return data_splits
  
file_path: datasets/tensorflow_datasets/structured/wiki_table_questions/wiki_table_questions.py
imports: from __future__ import annotations
  import csv
  import os
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the WikiTableQuestions obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: data_splits