class_docstr: OpenNMT Tokenizer transform class.
code: def _parse_opts(self):
      super()._parse_opts()
      self.src_subword_type = self.opts.src_subword_type
      self.tgt_subword_type = self.opts.tgt_subword_type
      logger.debug(
          "Parsed pyonmttok kwargs for src: {}".format(
              self.opts.src_onmttok_kwargs
          )
      )
      logger.debug(
          "Parsed pyonmttok kwargs for tgt: {}".format(
              self.opts.tgt_onmttok_kwargs
          )
      )
      self.src_other_kwargs = self.opts.src_onmttok_kwargs
      self.tgt_other_kwargs = self.opts.tgt_onmttok_kwargs
      self.gpt2_pretok = self.opts.gpt2_pretok
  
imports: import re
  from onmt.utils.logging import logger
  from onmt.transforms import register_transform
  from .transform import Transform, ObservableStats
  from onmt.constants import DefaultTokens
label_desc: Use image node_id 5 for calling the ONMTTokenizerTransform obj's underlying member method code with example usage: obj._parse_opts() without return types