class_docstr: BuilderConfig for Qa4mre.
docstr: BuilderConfig for Qa4Mre.
  
  Args:
    year: string, year of dataset
    track: string, the task track from PATHS[year]['_TRACKS'].
    language: string, Acronym for language in the main task.
    **kwargs: keyword arguments forwarded to super.
docstr_tok: ["BuilderConfig","for","Qa4Mre",".","Args",":","year",":","string",",","year","of","dataset","track",":","string",",","the","task","track","from","PATHS","[","year","]","[","'_TRACKS","'","]",".","language",":","string",",","Acronym","for","language","in","the","main","task",".","*","*","kwargs",":","keyword","arguments","forwarded","to","super","."]
code: def __init__(self, *, year, track="main", language="EN", **kwargs):
      """BuilderConfig for Qa4Mre.
  
      Args:
        year: string, year of dataset
        track: string, the task track from PATHS[year]['_TRACKS'].
        language: string, Acronym for language in the main task.
        **kwargs: keyword arguments forwarded to super.
      """
      if track.lower() not in PATHS[year]["_TRACKS"]:
          raise ValueError(
              "Incorrect track. Track should be one of the following: ",
              PATHS[year]["_TRACKS"],
          )
  
      if track.lower() != "main" and language.upper() != "EN":
          logging.warning(
              "Only English documents available for pilot "
              "tracks. Setting English by default."
          )
          language = "EN"
  
      if (
          track.lower() == "main"
          and language.upper() not in PATHS[year]["_LANGUAGES_MAIN"]
      ):
          raise ValueError(
              "Incorrect language for the main track. Correct options: ",
              PATHS[year]["_LANGUAGES_MAIN"],
          )
  
      self.year = year
      self.track = track.lower()
      self.lang = language.upper()
  
      name = self.year + "." + self.track + "." + self.lang
  
      description = (
          "This configuration includes the {} track for {} language in {} year."
      ).format(self.track, self.lang, self.year)
  
      super(Qa4mreConfig, self).__init__(
          name=name,
          description=description,
          version=tfds.core.Version("0.1.0"),
          **kwargs,
      )
  
file_path: datasets/tensorflow_datasets/datasets/qa4mre/qa4mre_dataset_builder.py
imports: import os
  import xml.etree.ElementTree
  from absl import logging
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 to create a new Qa4mreConfig object from inherited base classes: tfds.core with example: obj = Qa4mreConfig()