class_docstr: BuilderConfig for WMT.
docstr: BuilderConfig for WMT.
  
  Args:
    url: The reference URL for the dataset.
    citation: The paper citation for the dataset.
    description: The description of the dataset.
    language_pair: pair of languages that will be used for translation. Should
      contain 2 letter coded strings. For example: ("en", "de").
    subsets: Dict[split, list[str]]. List of the subset to use for each of the
      split. Note that WMT subclasses overwrite this parameter.
    **kwargs: keyword arguments forwarded to super.
code: def __init__(
      self,
      *,
      url=None,
      citation=None,
      description=None,
      language_pair=(None, None),
      subsets=None,
      **kwargs,
  ):
      """BuilderConfig for WMT.
  
      Args:
        url: The reference URL for the dataset.
        citation: The paper citation for the dataset.
        description: The description of the dataset.
        language_pair: pair of languages that will be used for translation. Should
          contain 2 letter coded strings. For example: ("en", "de").
        subsets: Dict[split, list[str]]. List of the subset to use for each of the
          split. Note that WMT subclasses overwrite this parameter.
        **kwargs: keyword arguments forwarded to super.
      """
      name = "%s-%s" % (language_pair[0], language_pair[1])
      if "name" in kwargs:  # Add name suffix for custom configs
          name += "." + kwargs.pop("name")
  
      super(WmtConfig, self).__init__(
          name=name, description=description, **kwargs
      )
  
      self.url = url or "http://www.statmt.org"
      self.citation = citation
      self.language_pair = language_pair
      self.subsets = 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 1 to create a new WmtConfig object from inherited base classes: tfds.core with example: obj = WmtConfig()