code: def main():
      paths = sys.argv[1:] or ["."]
  
      print("Importing nltk...")
      try:
          import nltk
      except ImportError:
          print("Unable to import nltk -- check your PYTHONPATH.")
          sys.exit(-1)
  
      print(
          "Finding definitions of deprecated functions & classes in nltk..."
      )
      find_deprecated_defs(nltk.__path__[0])
  
      print(
          "Looking for possible uses of deprecated funcs & classes..."
      )
      dep_names = print_deprecated_uses(paths)
  
      if not dep_names:
          print("No deprecated funcs or classes found!")
      else:
          print(
              "\n"
              + term.BOLD
              + "What you should use instead:"
              + term.NORMAL
          )
          for name in sorted(dep_names):
              msgs = (
                  deprecated_funcs[name]
                  .union(deprecated_classes[name])
                  .union(deprecated_methods[name])
              )
              for msg, prefix, suffix in msgs:
                  print(
                      textwrap.fill(
                          term.RED
                          + prefix
                          + name
                          + suffix
                          + term.NORMAL
                          + ": "
                          + msg,
                          width=75,
                          initial_indent=" " * 2,
                          subsequent_indent=" " * 6,
                      )
                  )
  
file_path: nltk/tools/find_deprecated.py
imports: import os
  import re
  import sys
  import textwrap
  import tokenize
  from doctest import DocTestParser, register_optionflag
  from cStringIO import StringIO
  import nltk.corpus
  from nltk import defaultdict
label_desc: Use image node_id 6 for calling a global function with example usage: main() without return types