code: def tags_to_slots(
      text, tokens, tags, tagging_scheme, intent_slots_mapping
  ):
      slots = tags_to_preslots(tokens, tags, tagging_scheme)
      return [
          unresolved_slot(
              match_range=slot[RANGE],
              value=text[slot[RANGE][START] : slot[RANGE][END]],
              entity=intent_slots_mapping[slot[SLOT_NAME]],
              slot_name=slot[SLOT_NAME],
          )
          for slot in slots
      ]
  
imports: from __future__ import unicode_literals
  from builtins import range
  from enum import Enum, unique
  from snips_nlu.constants import END, SLOT_NAME, START, TEXT
  from snips_nlu.preprocessing import Token, tokenize
  from snips_nlu.result import unresolved_slot
label_desc: Use image node_id 10 for calling a global function with example usage: tags_to_slots(text, tokens, tags, tagging_scheme, intent_slots_mapping) and returns: unknown