code: def _remove_stop_words(phrase):
      while len(phrase) > 0 and (
          phrase[0].is_stop
          or str(phrase[0]).strip().lower() in Stopwords.get_words()
      ):
          phrase = phrase[1:]
      while len(phrase) > 0 and (
          phrase[-1].is_stop
          or str(phrase[-1]).strip().lower() in Stopwords.get_words()
      ):
          phrase = phrase[:-1]
      return phrase
  
imports: import pickle
  from os import path
  import numpy
  import spacy
  from spacy.tokens import Doc
  from spacy.tokens import Span
  from nlp_architect.models.chunker import SequenceChunker
  from nlp_architect.utils.generic import pad_sentences
  from nlp_architect.utils.io import validate_existing_filepath
  from nlp_architect.utils.text import extract_nps, Stopwords
label_desc: Use image node_id 7 for calling a global function with example usage: _remove_stop_words(phrase) and returns: phrase