class_docstr: Builder for WordNet dataset.
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      dl_paths = dl_manager.download_and_extract(
          {
              "WN18": "https://everest.hds.utc.fr/lib/exe/fetch.php?media=en:wordnet-mlj12.tar.gz",
              "WN18RR": (
                  "https://github.com/TimDettmers/ConvE/raw/master/WN18RR.tar.gz"
              ),
          }
      )
      # Metadata is at the configuration level and is the same for all splits.
      synset_definitions_path = os.path.join(
          dl_paths["WN18"],
          "wordnet-mlj12",
          "wordnet-mlj12-definitions.txt",
      )
      self.info.metadata.update(
          _make_wn18_metadata(synset_definitions_path)
      )
      # Locate and output splits.
      train_path, val_path, test_path = self.builder_config.get_paths(
          dl_paths
      )
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs=dict(triplets_path=train_path),
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs=dict(triplets_path=val_path),
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs=dict(triplets_path=test_path),
          ),
      ]
  
file_path: datasets/tensorflow_datasets/text/wordnet.py
imports: import os
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the Wordnet obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list