code: def get_parser():
      parser = argparse.ArgumentParser(
          description="Download the raw txt BookCorpus"
      )
      parser.add_argument(
          "-o",
          "--output",
          default="BookCorpus",
          help="directory for downloaded  files",
      )
      parser.add_argument(
          "--segment_num_worker",
          type=int,
          default=8,
          help="process num when segmenting articles",
      )
      parser.add_argument(
          "--segment_sentences",
          action="store_true",
          help="directory for downloaded  files",
      )
      parser.add_argument(
          "--cache-path",
          type=str,
          default=os.path.join(get_data_home_dir(), "bookcorpus"),
          help="The temporary path to download the dataset.",
      )
      return parser
  
file_path: gluon-nlp/src/gluonnlp/cli/data/pretrain_corpus/prepare_bookcorpus.py
imports: import os
  import tarfile
  import argparse
  import glob
  from gluonnlp.base import get_data_home_dir
  from gluonnlp.utils.misc import download, load_checksum_stats
  from collections import defaultdict
  from itertools import islice
  import time
  import multiprocessing
  import statistics
  import nltk
  import sys
  from segment_sentences import Sharding, segment_sentences, NLTKSegmenter
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser