code: def pass_filters(
      token,
      filter_numbers=False,
      filter_punctuation=False,
      filter_short_tokens=False,
      filter_stopwords=False,
  ):
      passes_filters = True
      if filter_numbers:
          passes_filters = not token.like_num
      if passes_filters and filter_punctuation:
          passes_filters = not bool(set(token.orth_) & punctuation)
      if passes_filters and filter_short_tokens:
          passes_filters = len(token) > 2
      if passes_filters and filter_stopwords:
          passes_filters = not token.is_stop
      return passes_filters
  
imports: import logging
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: pass_filters(token, filter_numbers, filter_punctuation, filter_short_tokens, filter_stopwords) and returns: passes_filters