class_docstr: OpenNMT option parser powered with option check methods.
code: def __init__(
      self,
      config_file_parser_class=cfargparse.YAMLConfigFileParser,
      formatter_class=cfargparse.ArgumentDefaultsHelpFormatter,
      **kwargs,
  ):
      super(ArgumentParser, self).__init__(
          config_file_parser_class=config_file_parser_class,
          formatter_class=formatter_class,
          **kwargs,
      )
  
imports: import configargparse
  import os
  import torch
  import onmt.opts
  from onmt.utils.logging import logger
  from onmt.constants import CorpusName, ModelTask
  from onmt.transforms import AVAILABLE_TRANSFORMS
label_desc: Use image node_id 1 to create a new ArgumentParser object from inherited base classes: cfargparse, DataOptsCheckerMixin with example: obj = ArgumentParser(config_file_parser_class, formatter_class)