code: def _parse_args():
      parser = argparse.ArgumentParser(
          description="Interpolate ARPA N-gram language models and make KenLM binary model to be used with beam search decoder of ASR models."
      )
      parser.add_argument(
          "--kenlm_bin_path",
          required=True,
          type=str,
          help="The path to the bin folder of KenLM library.",
      )  # Use /workspace/nemo/decoders/kenlm/build/bin if installed it with scripts/asr_language_modeling/ngram_lm/install_beamsearch_decoders.sh
      parser.add_argument(
          "--ngram_bin_path",
          required=True,
          type=str,
          help="The path to the bin folder of OpenGrm Ngram library.",
      )  # Use /workspace/nemo/decoders/ngram-1.3.14/src/bin if installed it with scripts/installers/install_opengrm.sh
      parser.add_argument(
          "--arpa_a", required=True, type=str, help="Path to the arpa_a"
      )
      parser.add_argument(
          "--alpha", required=True, type=float, help="Weight of arpa_a"
      )
      parser.add_argument(
          "--arpa_b", required=True, type=str, help="Path to the arpa_b"
      )
      parser.add_argument(
          "--beta", required=True, type=float, help="Weight of arpa_b"
      )
      parser.add_argument(
          "--out_path",
          required=True,
          type=str,
          help="Path to write tmp and resulted files.",
      )
      parser.add_argument(
          "--test_file",
          required=False,
          type=str,
          default=None,
          help="Path to test file to count perplexity if provided.",
      )
      parser.add_argument(
          "--symbols",
          required=False,
          type=str,
          default=None,
          help="Path to symbols (.syms) file . Could be calculated if it is not provided. Use as: --symbols /path/to/earnest.syms",
      )
      parser.add_argument(
          "--nemo_model_file",
          required=False,
          type=str,
          default=None,
          help="The path to '.nemo' file of the ASR model, or name of a pretrained NeMo model",
      )
      parser.add_argument(
          "--force",
          "-f",
          action="store_true",
          help="Whether to recompile and rewrite all files",
      )
      return parser.parse_args()
  
imports: import argparse
  import os
  import subprocess
  import sys
  from typing import Tuple
  import kenlm_utils
  import torch
  import nemo.collections.asr
  from nemo.collections.asr.modules.rnnt import RNNTDecoder
  from nemo.collections.asr.parts.submodules.ctc_beam_decoding import DEFAULT_TOKEN_OFFSET
  from nemo.utils import logging
label_desc: Use image node_id 5 for calling a global function with example usage: _parse_args() and returns: parser