class_docstr: DatasetBuilder for bucc dataset.
class_docstr_tok: ["DatasetBuilder","for","bucc","dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      bucc_test_path = os.path.join(
          _DATA_URLS,
          "bucc2018-{}-en.training-gold.tar.bz2".format(
              self.builder_config.language
          ),
      )
      bucc_dev_path = os.path.join(
          _DATA_URLS,
          "bucc2018-{}-en.sample-gold.tar.bz2".format(
              self.builder_config.language
          ),
      )
  
      archive = dl_manager.download_and_extract(
          {
              "bucc_test_dir": bucc_test_path,
              "bucc_dev_dir": bucc_dev_path,
          }
      )
  
      return {
          "validation": self._generate_examples(
              filepath=os.path.join(
                  archive["bucc_dev_dir"],
                  "bucc2018",
                  self.builder_config.language + "-en",
              )
          ),
          "test": self._generate_examples(
              filepath=os.path.join(
                  archive["bucc_test_dir"],
                  "bucc2018",
                  self.builder_config.language + "-en",
              )
          ),
      }
  
file_path: datasets/tensorflow_datasets/datasets/bucc/bucc_dataset_builder.py
imports: import csv
  import os
  from etils import epath
  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 Builder obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: dict