code: def _get_parser():
      parser = ArgumentParser(description="LM_scoring.py")
      opts.translate_opts(parser)
      return parser
  
file_path: OpenNMT-py/tools/LM_scoring.py
imports: import os
  import torch
  import numpy
  import codecs
  import onmt.opts
  from onmt.utils.misc import set_random_seed
  from onmt.utils.logging import init_logger, logger
  from onmt.utils.parse import ArgumentParser
  from onmt.inputters.dynamic_iterator import build_dynamic_dataset_iter
  from onmt.utils.loss import LossCompute
  from onmt.constants import DefaultTokens, CorpusTask
  from onmt.transforms import get_transforms_cls
  from onmt.model_builder import load_test_model
label_desc: Use image node_id 1 for calling a global function with example usage: _get_parser() and returns: parser