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"]
docstr: Add newline tag to src and tgt vocabs.
docstr_tok: ["Add","newline","tag","to","src","and","tgt","vocabs","."]
code: def get_specials(cls, opts):
      """Add newline tag to src and tgt vocabs."""
  
      src_specials, tgt_specials = [DefaultTokens.SEP], [
          DefaultTokens.SEP
      ]
      return (src_specials, tgt_specials)
  
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 4 for calling the DocifyTransform obj's underlying member method code with example usage: obj.get_specials(cls, opts) and returns: src_specials,  tgt_specials