class_docstr: DatasetBuilder for C4-WSRS dataset.
class_docstr_tok: ["DatasetBuilder","for","C4-WSRS","dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      abbreviation_expansions_dict_file = dl_manager.download(
          _ABBREV_EXPANSION_DICT_URI
      )
      abbreviations_by_expansion = collections.defaultdict(list)
      with tf.io.gfile.GFile(abbreviation_expansions_dict_file) as f:
          reader = csv.reader(f)
          for row in reader:
              abbrev, exp = row
              abbreviations_by_expansion[exp].append(abbrev)
      return {
          "train": self._generate_examples(
              "train", abbreviations_by_expansion
          ),
          "validation": self._generate_examples(
              "validation", abbreviations_by_expansion
          ),
      }
  
file_path: datasets/tensorflow_datasets/text/c4_wsrs/c4_wsrs.py
imports: from __future__ import annotations
  import collections
  import csv
  from typing import Mapping, Sequence
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
  from tensorflow_datasets.text.c4_wsrs import c4_wsrs_utils
label_desc: Use image node_id 2 for calling the C4WSRS obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: dict