code: def empty_result(
      input, probability
  ):  # pylint:disable=redefined-builtin
      """Creates an empty parsing result of the same format as the one of
      :func:`parsing_result`
  
      An empty is typically returned by a :class:`.SnipsNLUEngine` or
      :class:`.IntentParser` when no intent nor slots were found.
  
      Example:
  
          >>> res = empty_result("foo bar", 0.8)
          >>> from snips_nlu.common.utils import json_string
          >>> print(json_string(res, indent=4, sort_keys=True))
          {
              "input": "foo bar",
              "intent": {
                  "intentName": null,
                  "probability": 0.8
              },
              "slots": []
          }
      """
      intent = intent_classification_result(None, probability)
      return parsing_result(input=input, intent=intent, slots=[])
  
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 9 for calling a global function with example usage: empty_result(input, probability) and returns: parsing_result