code: def get_parser():
      parser = argparse.ArgumentParser(
          description="create a vocabulary file from text files",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--output",
          "-o",
          default="",
          type=str,
          help="output a vocabulary file",
      )
      parser.add_argument(
          "--cutoff",
          "-c",
          default=0,
          type=int,
          help="cut-off frequency",
      )
      parser.add_argument(
          "--vocabsize",
          "-s",
          default=20000,
          type=int,
          help="vocabulary size",
      )
      parser.add_argument(
          "text_files", nargs="*", help="input text files"
      )
      return parser
  
imports: import argparse
  import codecs
  import logging
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser