code: def download_from_resource_name(
      resource_name, pip_args, verbose=True
  ):
      from snips_nlu import __about__
      from snips_nlu.cli.utils import (
          check_resources_alias,
          get_compatibility,
          get_json,
      )
  
      shortcuts = get_json(
          __about__.__shortcuts__, "Resource shortcuts"
      )
      check_resources_alias(resource_name, shortcuts)
      compatibility = get_compatibility()
      resource_name = resource_name.lower()
      full_resource_name = shortcuts.get(resource_name, resource_name)
      _download_and_link(
          resource_name,
          full_resource_name,
          compatibility,
          pip_args,
          verbose,
      )
  
file_path: snips-nlu/snips_nlu/cli/download.py
imports: from __future__ import print_function, unicode_literals
label_desc: Use image node_id 4 for calling a global function with example usage: download_from_resource_name(resource_name, pip_args, verbose) without return types