code: def _convert_range(rng):
      if isinstance(rng, dict):
          return rng
      return {"start": rng[0], "end": rng[1]}
  
file_path: snips-nlu/snips_nlu/result.py
imports: from __future__ import unicode_literals
  from snips_nlu.constants import RES_ENTITY, RES_INPUT, RES_INTENT, RES_INTENT_NAME, RES_MATCH_RANGE, RES_PROBA, RES_RAW_VALUE, RES_SLOTS, RES_SLOT_NAME, RES_VALUE, ENTITY_KIND, RESOLVED_VALUE, VALUE
label_desc: Use image node_id 11 for calling a global function with example usage: _convert_range(rng) and returns: dict, rng