class_docstr: OPUS is a collection of translated texts from the web.
code: def _split_generators(self, dl_manager):
      source, target = self.builder_config.language_pair
      file_ext = "%s-%s" % (source, target)
  
      subsets = []
      for item in self.subsets:
          dl_dir = dl_manager.download_and_extract(
              os.path.join(item.url, "%s.txt.zip" % file_ext)
          )
          source_file = os.path.join(
              dl_dir, "%s.%s.%s" % (item.name, file_ext, source)
          )
          target_file = os.path.join(
              dl_dir, "%s.%s.%s" % (item.name, file_ext, target)
          )
          subsets.append(
              {
                  "name": item.name,
                  "source_file": source_file,
                  "target_file": target_file,
              }
          )
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN, gen_kwargs={"subsets": subsets}
          )
      ]
  
file_path: datasets/tensorflow_datasets/datasets/opus/opus_dataset_builder.py
imports: import os
  from absl import logging
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list