code: def _tgrep_rel_disjunction_action(_s, _l, tokens):
      """
      Builds a lambda function representing a predicate on a tree node
      from the disjunction of several other such lambda functions.
      """
      # filter out the pipe
      tokens = [x for x in tokens if x != "|"]
      if len(tokens) == 1:
          return tokens[0]
      elif len(tokens) == 2:
          return (
              lambda a, b: lambda n, m=None, l=None: a(n, m, l)
              or b(n, m, l)
          )(tokens[0], tokens[1])
  
imports: import functools
  import re
  import nltk.tree
label_desc: Use image node_id 23 for calling a global function with example usage: _tgrep_rel_disjunction_action(_s, _l, tokens) and returns: tokens, function