code: def download_language_builtin_entities(language, *pip_args):
      """Download all gazetteer entity resources for a given language as well as
      basic language resources for this language"""
      from builtins import str
      from snips_nlu_parsers import get_supported_gazetteer_entities
      from snips_nlu import __about__
      from snips_nlu.cli.download import download_from_resource_name
      from snips_nlu.cli.utils import (
          check_resources_alias,
          get_compatibility,
          get_json,
      )
  
      download_from_resource_name(language, pip_args, verbose=False)
  
      shortcuts = get_json(
          __about__.__shortcuts__, "Resource shortcuts"
      )
      for entity_name in get_supported_gazetteer_entities(
          str(language)
      ):
          check_resources_alias(entity_name, shortcuts)
  
          compatibility = get_compatibility()
          resource_name_lower = entity_name.lower()
          long_resource_name = shortcuts.get(
              resource_name_lower, resource_name_lower
          )
  
          _download_and_link_entity(
              long_resource_name,
              entity_name,
              language,
              compatibility,
              pip_args,
          )
  
file_path: snips-nlu/snips_nlu/cli/download_entity.py
imports: from __future__ import print_function, unicode_literals
label_desc: Use image node_id 6 for calling a global function with example usage: download_language_builtin_entities(language) without return types