class_docstr: Convert source and target examples to doc level segments.
  
  It concatenates segments with a DefaultTokens.SEP
  until it reaches --doc_length tokens
class_docstr_tok: ["Convert","source","and","target","examples","to","doc","level","segments",".","It","concatenates","segments","with","a","DefaultTokens.SEP","until","it","reaches","--","doc_length","tokens"]
code: def apply_reverse(self, translated):
      segments = translated.split(DefaultTokens.SEP)
      segments = [segment.strip(" ") for segment in segments]
      return segments
  
file_path: OpenNMT-py/onmt/transforms/docify.py
imports: from onmt.constants import DefaultTokens
  from onmt.transforms import register_transform
  from .transform import Transform
  import copy
label_desc: Use image node_id 7 for calling the DocifyTransform obj's underlying member method code with example usage: obj.apply_reverse(translated) and returns: segments