class_docstr: WMT translation dataset.
docstr: Subsets that make up each split of the dataset for the language pair.
code: def subsets(self):
      """Subsets that make up each split of the dataset for the language pair."""
      source, target = self.builder_config.language_pair
      filtered_subsets = {}
      for split, ss_names in self._subsets.items():
          filtered_subsets[split] = []
          for ss_name in ss_names:
              ds = DATASET_MAP[ss_name]
              if ds.target != target or source not in ds.sources:
                  logging.info(
                      "Skipping sub-dataset that does not include language pair: %s",
                      ss_name,
                  )
              else:
                  filtered_subsets[split].append(ss_name)
      logging.info("Using sub-datasets: %s", filtered_subsets)
      return filtered_subsets
  
imports: import codecs
  import functools
  import gzip
  import itertools
  import os
  import re
  from typing import List
  from xml.etree import ElementTree
  from absl import logging
  from etils import epath
  from tensorflow_datasets.core.utils import tree_utils
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the WmtTranslate obj's underlying member method code with example usage: obj.subsets() and returns: filtered_subsets