docstr: Merges two ARPA language models using the ngrammerge tool.
  
  Args:
      arpa_a (str): Path to the first ARPA language model file.
      alpha (float): Interpolation weight for the first model.
      arpa_b (str): Path to the second ARPA language model file.
      beta (float): Interpolation weight for the second model.
      out_path (str): Path to the output directory for the merged ARPA model.
      force (bool): Whether to force overwrite of existing files.
  
  Returns:
      Tuple[str, str]: A tuple containing the path to the merged binary language model file and the path to the 
      merged ARPA language model file.
docstr_tok: ["Merges","two","ARPA","language","models","using","the","ngrammerge","tool",".","Args",":","arpa_a","(","str",")",":","Path","to","the","first","ARPA","language","model","file",".","alpha","(","float",")",":","Interpolation","weight","for","the","first","model",".","arpa_b","(","str",")",":","Path","to","the","second","ARPA","language","model","file",".","beta","(","float",")",":","Interpolation","weight","for","the","second","model",".","out_path","(","str",")",":","Path","to","the","output","directory","for","the","merged","ARPA","model",".","force","(","bool",")",":","Whether","to","force","overwrite","of","existing","files",".","Returns",":","Tuple","[","str",",","str","]",":","A","tuple","containing","the","path","to","the","merged","binary","language","model","file","and","the","path","to","the","merged","ARPA","language","model","file","."]
code: def merge(
      self,
      arpa_a: str,
      alpha: float,
      arpa_b: str,
      beta: float,
      out_path: str,
      force: bool,
  ) -> Tuple[str, str]:
      """
      Merges two ARPA language models using the ngrammerge tool.
  
      Args:
          arpa_a (str): Path to the first ARPA language model file.
          alpha (float): Interpolation weight for the first model.
          arpa_b (str): Path to the second ARPA language model file.
          beta (float): Interpolation weight for the second model.
          out_path (str): Path to the output directory for the merged ARPA model.
          force (bool): Whether to force overwrite of existing files.
  
      Returns:
          Tuple[str, str]: A tuple containing the path to the merged binary language model file and the path to the
          merged ARPA language model file.
      """
      logging.info("\n" + str(self.arpa2mod(arpa_a, force)) + "\n")
  
      logging.info("\n" + str(self.arpa2mod(arpa_b, force)) + "\n")
      arpa_c = os.path.join(
          out_path,
          f"{os.path.split(arpa_a)[1]}-{alpha}-{os.path.split(arpa_b)[1]}-{beta}.arpa",
      )
      mod_c = self.ngrammerge(
          arpa_a, alpha, arpa_b, beta, arpa_c, force
      )
      return mod_c, arpa_c
  
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 4 for calling the NgramMerge obj's underlying member method code with example usage: obj.merge(arpa_a, alpha, arpa_b, beta, out_path, force) and returns: mod_c,  arpa_c