class_docstr: OpenNMT Tokenizer transform class.
code: def get_specials(cls, opts):
      src_specials, tgt_specials = [], []
      if opts.src_onmttok_kwargs.get("case_markup", False):
          _case_specials = [
              "｟mrk_case_modifier_C｠",
              "｟mrk_begin_case_region_U｠",
              "｟mrk_end_case_region_U｠",
          ]
          for src_spec in _case_specials:
              src_specials.append(src_spec)
      if opts.tgt_onmttok_kwargs.get("case_markup", False):
          _case_specials = [
              "｟mrk_case_modifier_C｠",
              "｟mrk_begin_case_region_U｠",
              "｟mrk_end_case_region_U｠",
          ]
          for tgt_spec in _case_specials:
              tgt_specials.append(tgt_spec)
      return (src_specials, tgt_specials)
  
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 6 for calling the ONMTTokenizerTransform obj's underlying member method code with example usage: obj.get_specials(cls, opts) and returns: src_specials,  tgt_specials