code: def make_multiling_corpus_configs(
      language_ids,
      text_files,
      dictionaries,
      char_dictionaries=None,
      oversampling_rates=None,
  ):
      if not oversampling_rates:
          oversampling_rates = [1] * len(language_ids)
      if char_dictionaries is None:
          char_dictionaries = [None] * len(language_ids)
      assert len(language_ids) == len(text_files)
      assert len(language_ids) == len(dictionaries)
      assert len(language_ids) == len(oversampling_rates)
      return [
          pytorch_translate_data.MultilingualCorpusConfig(
              dialect_id=None
              if i is None
              else i
              + pytorch_translate_data.MULTILING_DIALECT_ID_OFFSET,
              data_file=p,
              dict=d,
              char_dict=cd,
              oversampling=o,
          )
          for i, p, d, cd, o in zip(
              language_ids,
              text_files,
              dictionaries,
              char_dictionaries,
              oversampling_rates,
          )
      ]
  
imports: import argparse
  import os
  import tempfile
  from typing import Dict, List, Optional
  from pytorch_translate import constants, multilingual_utils, options, utils
  from pytorch_translate.data import char_data, data
  from pytorch_translate.data.dictionary import Dictionary
label_desc: Use image node_id 3 for calling a global function with example usage: make_multiling_corpus_configs(language_ids, text_files, dictionaries, char_dictionaries, oversampling_rates) and returns: unknown