code: def get_args(self):
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--input_files",
          nargs="+",
          required=True,
          help="input question json files, \
                                   if more than 1, split by space",
      )
      parser.add_argument(
          "--out_dir",
          type=str,
          default="./",
          help="output directory, default is current directory",
      )
      parser.add_argument(
          "--min_freq",
          type=int,
          default=0,
          help="the minimum times of word occurrence \
                                    to be included in vocabulary, default 0",
      )
      parser.add_argument(
          "--vocab_file_name",
          type=str,
          default="vocabulary.txt",
          help="Name of the file in vocabulary will be stored",
      )
  
      args = parser.parse_args()
  
      return args
  
file_path: mmf/tools/scripts/gqa/extract_vocabulary.py
imports: import argparse
  import json
  import os
  from collections import Counter
  from mmf.utils.text import tokenize
label_desc: Use image node_id 5 for calling the ExtractVocabulary obj's underlying member method code with example usage: obj.get_args() and returns: args