class_docstr: BuilderConfig for ParaCrawl.
class_docstr_tok: ["BuilderConfig","for","ParaCrawl","."]
docstr: BuilderConfig for ParaCrawl.
  
  Args:
    target_language: Target language that will be used to translate to from
      English which is always the source language. It has to contain 2-letter
      coded strings. For example: "se", "hu".
    **kwargs: Keyword arguments forwarded to super.
docstr_tok: ["BuilderConfig","for","ParaCrawl",".","Args",":","target_language",":","Target","language","that","will","be","used","to","translate","to","from","English","which","is","always","the","source","language",".","It","has","to","contain","2-letter","coded","strings",".","For","example",":","``","se","''",",","``","hu","''",".","*","*","kwargs",":","Keyword","arguments","forwarded","to","super","."]
code: def __init__(self, *, target_language=None, **kwargs):
      """BuilderConfig for ParaCrawl.
  
      Args:
        target_language: Target language that will be used to translate to from
          English which is always the source language. It has to contain 2-letter
          coded strings. For example: "se", "hu".
        **kwargs: Keyword arguments forwarded to super.
      """
      # Validate the target language.
      if target_language not in _target_languages():
          raise ValueError(
              "Invalid target language: %s " % target_language
          )
  
      # Initialize the base class.
      name = f"en{target_language}"
      description = "Translation dataset from English to %s." % (
          target_language
      )
      super(ParaCrawlConfig, self).__init__(
          name=name,
          description=description,
          version=tfds.core.Version("1.2.0"),
          **kwargs,
      )
  
      # Store the attributes.
      self.target_language = target_language
      self.data_url = _BASE_DATA_URL_FORMAT_STR.format(
          target_lang=target_language
      )
  
file_path: datasets/tensorflow_datasets/datasets/para_crawl/para_crawl_dataset_builder.py
imports: import collections
  from etils import epath
  from tensorflow_datasets.core import utils
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 to create a new ParaCrawlConfig object from inherited base classes: tfds.core with example: obj = ParaCrawlConfig()