class_docstr: subword_nmt: official BPE subword transform class.
docstr: "Apply bpe subword detokenizer
docstr_tok: ["``","Apply","bpe","subword","detokenizer"]
code: def _detokenize(self, tokens, side="src", is_train=False):
      """ "Apply bpe subword detokenizer"""
      detokenized = re.sub(r"(@@ )|(@@ ?$)", r"", " ".join(tokens))
      return detokenized
  
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 BPETransform obj's underlying member method code with example usage: obj._detokenize(tokens, side, is_train) and returns: detokenized