class_docstr: OpenNMT Tokenizer transform class.
docstr: Apply OpenNMT Tokenizer to src & tgt.
docstr_tok: ["Apply","OpenNMT","Tokenizer","to","src","&","tgt","."]
code: def apply_reverse(self, translated):
      """Apply OpenNMT Tokenizer to src & tgt."""
      if isinstance(translated, list):
          return self._detokenize(translated, "tgt")
      else:
          return self._detokenize(translated.split(), "tgt")
  
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 11 for calling the ONMTTokenizerTransform obj's underlying member method code with example usage: obj.apply_reverse(translated) and returns: self, self