class_docstr: OPUS is a collection of translated texts from the web.
code: def subsets(self):
      # Return only the datasets that exist for the language pair.
      source, target = self.builder_config.language_pair
      filtered_subsets = []
      for dataset in [
          DATASET_MAP[name] for name in self.builder_config.subsets
      ]:
          if (source, target) in dataset.language_pairs:
              filtered_subsets.append(dataset)
  
      return filtered_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 1 for calling the Builder obj's underlying member method code with example usage: obj.subsets() and returns: filtered_subsets