code: def call_tadm(args):
      """
      Call the ``tadm`` binary with the given arguments.
      """
      if isinstance(args, str):
          raise TypeError("args should be a list of strings")
      if _tadm_bin is None:
          config_tadm()
  
      # Call tadm via a subprocess
      cmd = [_tadm_bin] + args
      p = subprocess.Popen(cmd, stdout=sys.stdout)
      (stdout, stderr) = p.communicate()
  
      # Check the return code.
      if p.returncode != 0:
          print()
          print(stderr)
          raise OSError("tadm command failed!")
  
file_path: nltk/nltk/classify/tadm.py
imports: import subprocess
  import sys
  from nltk.internals import find_binary
label_desc: Use image node_id 4 for calling a global function with example usage: call_tadm(args) without return types