code: def _tgrep_node_literal_value(node):
      """
      Gets the string value of a given parse tree node, for comparison
      using the tgrep node literal predicates.
      """
      return node.label() if _istree(node) else str(node)
  
imports: import functools
  import re
  import nltk.tree
label_desc: Use image node_id 12 for calling a global function with example usage: _tgrep_node_literal_value(node) and returns: unknown