class_docstr: A Language classification dataset based on the VoxForge website.
class_docstr_tok: ["A","Language","classification","dataset","based","on","the","VoxForge","website","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      urls_list = dl_manager.download({"urls_list": _URLS_LIST_FILE})
      archive_urls = []
      with tf.io.gfile.GFile(urls_list["urls_list"]) as f:
          for line in f:
              archive_url = (
                  line.strip().replace('"', "").replace("'", "")
              )
              archive_path = os.path.join(
                  dl_manager.manual_dir, archive_url
              )
              if not tf.io.gfile.exists(archive_path):
                  raise AssertionError(
                      "VoxForge requires manual download. Path {} is missing".format(
                          archive_path
                      )
                  )
              archive_urls.append(archive_path)
  
      archives_and_speaker_ids = []
      for archive_url in archive_urls:
          _, archive_name = os.path.split(archive_url)
          speaker_id = archive_name.split("-")[0]
          archives_and_speaker_ids.append((archive_url, speaker_id))
  
      split_probs = [("train", 0.7), ("validation", 0.1), ("test", 0.2)]
      splits = _get_inter_splits_by_group(
          archives_and_speaker_ids, split_probs, 0
      )
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={
                  "file_names": splits["train"],
                  "dl_manager": dl_manager,
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={
                  "file_names": splits["validation"],
                  "dl_manager": dl_manager,
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs={
                  "file_names": splits["test"],
                  "dl_manager": dl_manager,
              },
          ),
      ]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import datetime
  import io
  import os
  import textwrap
  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 Voxforge obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list