code: def logmsg(s):
      # would be better to use python logger
      print("[phrasemachine] %s" % s, file=sys.stderr)
  
imports: from __future__ import print_function
  import os
  import re
  import sys
  from collections import Counter
label_desc: Use image node_id 1 for calling a global function with example usage: logmsg(s) without return types