code: def get_alias(
      infos: List[List[Dict[str, List]]]
  ) -> List[Tuple[str, str]]:
      """Get aliases of all parameters.
  
      Parameters
      ----------
      infos : list
          Content of the config header file.
  
      Returns
      -------
      pairs : list
          List of tuples (param alias, param name).
      """
      pairs = []
      for x in infos:
          for y in x:
              if "alias" in y:
                  name = y["name"][0]
                  alias = y["alias"][0].split(",")
                  for name2 in alias:
                      pairs.append((name2.strip(), name))
      return pairs
  
file_path: LightGBM/helpers/parameter_generator.py
imports: import re
  from collections import defaultdict
  from pathlib import Path
  from typing import Dict, List, Tuple
label_desc: Use image node_id 3 for calling a global function with example usage: get_alias(infos) and returns: pairs