class_docstr: WMT translation dataset.
code: def __init__(self, *args, **kwargs):
      if (
          type(self) == WmtTranslate and "config" not in kwargs
      ):  # pylint: disable=unidiomatic-typecheck
          raise ValueError(
              "The raw `wmt_translate` can only be instantiated with the config "
              "kwargs. You may want to use one of the `wmtYY_translate` "
              "implementation instead to get the WMT dataset for a specific year."
          )
      super(WmtTranslate, self).__init__(*args, **kwargs)
  
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 WmtTranslate object from inherited base classes: tfds.core with example: obj = WmtTranslate()