code: def _get_stop_words(resources_dir, stop_words_filename):
      if not stop_words_filename:
          return None
      stop_words_path = (
          resources_dir / stop_words_filename
      ).with_suffix(".txt")
      return _load_stop_words(stop_words_path)
  
imports: from __future__ import unicode_literals
  import json
  from collections import defaultdict
  from copy import deepcopy
  from pathlib import Path
  from future.utils import iteritems
  from snips_nlu.common.utils import get_package_path, is_package, json_string
  from snips_nlu.constants import CUSTOM_ENTITY_PARSER_USAGE, DATA_PATH, GAZETTEERS, NOISE, STEMS, STOP_WORDS, WORD_CLUSTERS, METADATA
  from snips_nlu.entity_parser.custom_entity_parser import CustomEntityParserUsage
label_desc: Use image node_id 15 for calling a global function with example usage: _get_stop_words(resources_dir, stop_words_filename) and returns: _load_stop_words, None