code: def _builder_configs_for(snapshot: str):
      # We put English as the first language so that it's the default.
      configs = [WikipediaConfig(language="en", date=snapshot)]
      for lang in WIKIPEDIA_LANGUAGES:
          if lang == "en" or "-" in lang:
              continue
          if (
              snapshot in _EMPTY_LANGUAGES
              and lang in _EMPTY_LANGUAGES[snapshot]
          ):
              continue
          configs.append(WikipediaConfig(language=lang, date=snapshot))
      return configs
  
file_path: datasets/tensorflow_datasets/text/wikipedia.py
imports: import bz2
  import dataclasses
  import json
  import re
  from absl import flags
  from absl import logging
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling a global function with example usage: _builder_configs_for(snapshot) and returns: configs