class_docstr: Infoboxes and first paragraph from Wikipedia biography pages.
class_docstr_tok: ["Infoboxes","and","first","paragraph","from","Wikipedia","biography","pages","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      dataset_url = tfds.download.Resource(
          url=_URL, extract_method=tfds.download.ExtractMethod.ZIP
      )
      data_dir = dl_manager.download_and_extract(dataset_url)
  
      extracted_path = os.path.join(
          data_dir, "wikipedia-biography-dataset"
      )
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={
                  "id_file": os.path.join(
                      extracted_path, "train", "train.id"
                  ),
                  "infobox_file": os.path.join(
                      extracted_path, "train", "train.box"
                  ),
                  "nb_lines_file": os.path.join(
                      extracted_path, "train", "train.nb"
                  ),
                  "sentences_file": os.path.join(
                      extracted_path, "train", "train.sent"
                  ),
                  "article_title_file": os.path.join(
                      extracted_path, "train", "train.title"
                  ),
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={
                  "id_file": os.path.join(
                      extracted_path, "valid", "valid.id"
                  ),
                  "infobox_file": os.path.join(
                      extracted_path, "valid", "valid.box"
                  ),
                  "nb_lines_file": os.path.join(
                      extracted_path, "valid", "valid.nb"
                  ),
                  "sentences_file": os.path.join(
                      extracted_path, "valid", "valid.sent"
                  ),
                  "article_title_file": os.path.join(
                      extracted_path, "valid", "valid.title"
                  ),
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs={
                  "id_file": os.path.join(
                      extracted_path, "test", "test.id"
                  ),
                  "infobox_file": os.path.join(
                      extracted_path, "test", "test.box"
                  ),
                  "nb_lines_file": os.path.join(
                      extracted_path, "test", "test.nb"
                  ),
                  "sentences_file": os.path.join(
                      extracted_path, "test", "test.sent"
                  ),
                  "article_title_file": os.path.join(
                      extracted_path, "test", "test.title"
                  ),
              },
          ),
      ]
  
file_path: datasets/tensorflow_datasets/structured/wiki_bio.py
imports: from __future__ import annotations
  import os
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the WikiBio obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list