code: def get_args():
      parser = argparse.ArgumentParser(
          description="""
        This script is used to process raw json dataset of WenetSpeech,
        where the long wav is splitinto segments and
        data of wenet format is generated.
        """
      )
      parser.add_argument(
          "input_json", help="""Input json file of WenetSpeech"""
      )
      parser.add_argument(
          "output_dir", help="""Output dir for prepared data"""
      )
  
      args = parser.parse_args()
      return args
  
imports: import argparse
  import json
  import os
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: args