class_docstr: DatasetBuilder for tatoeba dataset.
class_docstr_tok: ["DatasetBuilder","for","tatoeba","dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      lang = _LANGS[self.builder_config.language]
  
      tatoeba_source_path = os.path.join(
          _DATA_URLS, "tatoeba.{lang}-eng.{lang}".format(lang=lang)
      )
      tatoeba_eng_path = os.path.join(
          _DATA_URLS, "tatoeba.{}-eng.eng".format(lang)
      )
  
      archive = dl_manager.download_and_extract(
          {
              "tatoeba_source_data": tatoeba_source_path,
              "tatoeba_eng_data": tatoeba_eng_path,
          }
      )
  
      return {
          "train": self._generate_examples(
              source_file=archive["tatoeba_source_data"],
              target_file=archive["tatoeba_eng_data"],
          ),
      }
  
file_path: datasets/tensorflow_datasets/datasets/tatoeba/tatoeba_dataset_builder.py
imports: import os
  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