code: def _load_parser(path):
      path = Path(path)
      with path.open("r", encoding="utf-8") as f:
          return f.read().strip()
  
imports: from __future__ import unicode_literals
  from pathlib import Path
  from mock import patch
  from snips_nlu.constants import STEMS
  from snips_nlu.dataset import validate_and_format_dataset
  from snips_nlu.entity_parser import CustomEntityParser
  from snips_nlu.entity_parser.custom_entity_parser import CustomEntityParserUsage, _compute_char_shifts, _create_custom_entity_parser_configuration
  from snips_nlu.preprocessing import tokenize
  from snips_nlu.tests.utils import FixtureTest
label_desc: Use image node_id 2 for calling a global function with example usage: _load_parser(path) and returns: f